Support Center

Need to sort images by DPI

Paul Widner May 18, 2012 08:45PM EDT

Good day! I have 7 million TIF images that I need to sort by DPI. What is the fastest way to do this? I thought the ImageInfo class would contain the DPI but doesn't appear to. Seeing the large number of images to sort through it needs to be fast and efficient. I need to avoid loading the whole TIF into memory so using a .NET Bitmap object is out.

If you could share the best way to do this in ImageMan.Net it would be much appreciated.

Thanks,
Paul

3 Data Techniques Responses and 3 Community Responses

Up -1 Rated Down
DTI Support  Data Techniques Employee May 21, 2012 10:11AM EDT

Hi Paul,

Actually we have added the resolution information to the ImageInfo object in our Spring ImageMan.Net release. It will be available in beta very shortly.

By using the ImageInfo approach you wont have to load and decompress the entire tiff page data, it just loads the header information.

Thanks for your interest in our products and please let us know if you have any questions.

Sincerely,
Sean
Data Techniques Support

Up 0 Rated Down
Paul Widner  Data Techniques Employee May 21, 2012 07:31PM EDT

Thanks for the reply. It sounds like I'll need to look for another solution as I need production ready for within the week.

Paul

Up 0 Rated Down
DTI Support  Data Techniques Employee May 21, 2012 08:34PM EDT

Hi Paul,

We can get you a copy of the beta next Monday if that would help.

Sean

Up 0 Rated Down
Paul Widner  Data Techniques Employee May 25, 2012 02:42PM EDT

Yes please, I'm like to have the beta is hand to test this functionality.

Thanks,
Paul

Up -5 Rated Down
DTI Support  Data Techniques Employee May 28, 2012 08:50PM EDT

Hi Paul,

I'll try to get this code to you on Tuesday.

Please confirm your email address so I can send you the link to the beta build.

Sean

Up -3 Rated Down
Paul Widner  Data Techniques Employee May 29, 2012 04:26PM EDT

Email address is pwidner@enchoice.com

This question is closed to new answers.

Contact Us