Hello,
Is it possible to just load header information from an image file? For example we're after a way of reading the dimensions, bit depth and number of unique colours of an image without loading the entire file. We're using the C++ API.
Thanks in advance.
Header Information
-
- Posts: 1015
- Joined: 2005-03-21T21:16:57-07:00
Re: Header Information
The "ping" method will give you the dimensions and filesize without reading the image data. But it doesn't give you the bit depth or number of unique colours. I don't know if there's a way in IM to get them without reading the image.
Pete
Pete
Sorry, my ISP shutdown all personal webspace so my MagickWand Examples in C is offline.
See my message in this topic for a link to a zip of all the files.
See my message in this topic for a link to a zip of all the files.