Mate Szarvas
|
image library: how to learn image width and height before loading full image?
|
Mate Szarvas
06/10/2009 8:06 AM
post31317
|
image library: how to learn image width and height before loading full image?
Our application needs to handle both small and large images
on a system with limited memory.
We understand that we can use img_load_resize_file()
to load a subsampled version of the image while using
bounded memory.
But our requirements demand that we either use img_load_resiize()
or img_load_file(), depending on the original width and height
of the image.
Is there a way to determine the properties of the image
(at least width and height), without actually loading the
image, using the QNX image library? (We cannot load the
image as it may need more memory than available).
Thanks,
Mate
|
|
|