Image editing SDK of choice?

118 views
Skip to first unread message

Karl Shifflett

unread,
Jan 10, 2012, 6:10:55 PM1/10/12
to wpf-di...@googlegroups.com
Hey everyone,

We need to write an image (tif, jpg, png) and PDF editor/viewer that allows copy, cut, paste, crop, annotations, etc.

We have tried, LeadTools, Accusoft, (many others) and they are all slow to zoom in and out.  Actually Accusoft was fast enough, they just have poor image quality when saving annotations and pasted images.

Our test image is only 533KB, but is 19,000 x 12,000 (yes that is 19K x 12K pixels).  These are structural drawings for buildings.

Any ideas?

What SDK are you all using?

Best,

Karl


Jeremiah Morrill

unread,
Jan 10, 2012, 6:24:24 PM1/10/12
to wpf-di...@googlegroups.com
I prefer Windows Imaging Components and sometimes use ffmpeg.  WIC sounds like it would fit your needs and has built in ways to easily crop, rotate, scale, etc.  Of course this is a lower level api, so zooming and stuff like that will have to be implemented by you using the WIC API.

-Jer
--
Microsoft MVP - Client Application Development
HJT, Inc Software Developer

Karl Shifflett

unread,
Jan 10, 2012, 6:32:48 PM1/10/12
to wpf-di...@googlegroups.com
Big time thanks Jer.  Never knew about WIC.

Downloading now.

Thanks!!

kdawg

Jeremiah Morrill

unread,
Jan 10, 2012, 6:41:05 PM1/10/12
to wpf-di...@googlegroups.com
Should come built in to Windows Vista and higher.  WPF uses WIC internally to load, decode and do colorspace conversions of images.  I think the download is for old XP machines.

Sacha Barber

unread,
Jan 11, 2012, 4:09:16 AM1/11/12
to wpf-di...@googlegroups.com
Karl

Attached is a small WPF demo that gets Metadata out using WIC (though through the Imaging namespace. It shows you how to query metadata only. The scaling / cropping etc etc are still areas you would need to spend some time with.


--
Sacha Barber
sacha....@gmail.com
PhotoScrollv1.zip.doc

Karl Shifflett

unread,
Jan 11, 2012, 8:58:54 AM1/11/12
to wpf-di...@googlegroups.com
Many thanks Sacha.

Best,

kdawg

Sacha

unread,
Jan 11, 2012, 9:17:46 AM1/11/12
to wpf-di...@googlegroups.com
U r welcome

Sent from my iPhone

Michael Brown

unread,
Jan 11, 2012, 3:53:08 PM1/11/12
to wpf-di...@googlegroups.com

Damn I could have used that about 4 years ago. I worked on a project with a guy doing Medical Imaging and we were doing everything using GDI+. I think we got scaling for free by using a Transform group (like in this example). We added annotations to it after the transform so that they were always legible. I also remember reading about using Annotations to do this but I couldn’t get the anchors to stick to a specific location in a picture.

Sacha Barber

unread,
Jan 11, 2012, 4:02:50 PM1/11/12
to wpf-di...@googlegroups.com
Karl

We also use code based on this article. Its ok, you need to modify the Binding example so it does not use a singleton, but it works well, We added rotate command to ours.

--
Sacha Barber
sacha....@gmail.com
Reply all
Reply to author
Forward
0 new messages