#### Archived

This topic is now archived and is closed to further replies.

# JPEG Format

This topic is 6067 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

## Recommended Posts

Hey ! Im writing a program to extract data from a JPG file. I cant find a coherent format spec that gives the data I want, namly, How do I get the dimensions of the image ? Ive hex edited a bunch of different files and it is not giving me any data whatsoever. Any links, help, ideas here ?(Yes, I tried Wotsit.org) ~V''lion I came, I saw, I got programmers block. ~V''''lion

##### Share on other sites
try intel''s library for jpeg handling

##### Share on other sites
Here''s a link to a very good JPEG library. Easy to use and it''s already written for you:
ftp://ftp.uu.net/.vol/1/graphics/jpeg/

It''s actually by the Independent JPEG Group. Since they invented the format, they probably know what they are doing.

##### Share on other sites
Urrg.
The docs are fairly hideous...they rely on the reader to know what they are talking about.
However: I havnt been able to find a JPG header block in the specs that defines basic characteristics like size, dimensions, color number, etc...
Ach. I`ll keep searching...
~V''lion

I came, I saw, I got programmers block.
~V''''lion