[Question] Get image header without load the whole image.
Closed this issue · 4 comments
saedrna commented
Hi,
Is it possible to use CImg to get the image header (e.g., width, height, pixel type) without loading the actual data by calling load function?
Thanks,
Han
dtschump commented
No, I don't think so.
Maybe a simple fread()
would do the job in this case, no ?
saedrna commented
Problem is that I have to do that for at least jpg, png, tif, exr, so I think a library with unified interface is better.