• Welcome to Vampyre Imaging Library Forum. Please login or sign up.
 

Post reply

Other options

Shortcuts: ALT+S save/post or ALT+P preview

Topic summary

Posted by mikeyvamp
 - 13 March 2010, 00:28:55
Quote from: Galfar on 12 March 2010, 18:20:48
Imaging only loads whole images. For many file formats it's easy but there are some that must be read entirely. Which formats are you interested in?


All of them.  Main ones are TIFF, JPEG, PNG, PSD, BMP, TGA.  I have a 7 year old graphicex component that can read properties on all those formats without reading the image data.  Seems like a pretty basic need.

Mike
Posted by Galfar
 - 12 March 2010, 18:20:48
Imaging only loads whole images. For many file formats it's easy but there are some that must be read entirely. Which formats are you interested in?

Posted by mikeyvamp
 -  6 March 2010, 21:53:17
Surely there must be a way to read image properties like width, height, bits-per-pixel, compression-type, etc. without reading in the entire image, right?  Only way I can find to do it is use loadimagefromfile on a TimageData type, but that loads the entire image.  I'm probably missing it but I don't see it in the docs.  Is there any way to read image parameters without loading the (potentially very large) image?

Mike
SMF spam blocked by CleanTalk