Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Graphics > Miscellaneous topics > Re: get image r...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 3 of 3 Topic 1422 of 1475
Post > Topic >>

Re: get image resolution

by braedsjaa <braedsjaa@[EMAIL PROTECTED] > Mar 2, 2008 at 09:14 AM

Thanks, that did get me there in the end :-)

For anyone else trying to figure this out ...

When you have converted a binary jpeg file into a hex string, the
resolution info should be encoded in a JFIF header and can be found as
follows:
look for 5 bytes 4A46494600 (this translates as ascii JFIF0)
this is followed 2 bytes of version number (usually 0101)
then 1 byte indicating inches or cm (01 or 02)
then 2 bytes for horizontal pixel density (dots per inch/cm)
then 2 bytes for vertical pixel density (dots per inch/cm)
 




 3 Posts in Topic:
get image resolution
braedsjaa <braedsjaa@[  2008-02-29 10:44:16 
Re: get image resolution
Norbert Hahn <Norbert_  2008-03-01 00:05:34 
Re: get image resolution
braedsjaa <braedsjaa@[  2008-03-02 09:14:48 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Thu Nov 20 5:39:37 CST 2008.