Pretty straight forward: http://www.breakingpar.com/bkp/home.nsf/0/87256B280015193F87256AFB00139E67
Though its only for JPG/GIF and you have yet to mention what kind of image you want to analyze.
As Dreamora noted you can parse the header to figure out stuff like this, it all depends on the type of image (you should be able to find header info on wiki).
Though its only for JPG/GIF and you have yet to mention what kind of image you want to analyze.
As Dreamora noted you can parse the header to figure out stuff like this, it all depends on the type of image (you should be able to find header info on wiki).