TonyMcGuire
Programmer
In Windows Explorer (on some systems (XP?)), you can put your mouse over an image file and the 'tip' text shows the dimensions of the image.
Image editors, once you load the image, can give you the dimensions of the image.
Anyone have code that can read the header (I'm supposing) and retrieve the dimensions without having to load the entire image file?
We've been able to figure out some image formats just reading the binary and picking out the correct characters that represent the image dimensions, but this isn't 100% reliable, particularly with jpegs.
Any help/pointers appreciated.
Tony McGuire
Image editors, once you load the image, can give you the dimensions of the image.
Anyone have code that can read the header (I'm supposing) and retrieve the dimensions without having to load the entire image file?
We've been able to figure out some image formats just reading the binary and picking out the correct characters that represent the image dimensions, but this isn't 100% reliable, particularly with jpegs.
Any help/pointers appreciated.
Tony McGuire