Solved

image file header info

Posted on 2000-02-14
5
241 Views
Last Modified: 2013-11-19
i need to be able to recognise an image and process it accordingly by looking at the header information in the file.

therefore, i need to know the exact format of each image file header... is this information available in a simple format anywhere??

a text file outlining the exact byte format would be great.

i only need the format the header of jpg, bmp, pcx and gif files (all types).

thanx
0
Comment
Question by:Sesh
5 Comments
 
LVL 3

Accepted Solution

by:
MorFF earned 100 total points
ID: 2522240
Some info that should be useful (pretty comprehensive):

pcx specific:
http://www.qzx.com/pc-gpe/pcx.txt
bmp specific:
http://www.qzx.com/pc-gpe/bmp.txt
gif specific:
http://www.qzx.com/pc-gpe/gif.txt
jpeg specific:
http://www.obrador.com/essentialjpeg/HeaderInfo.htm


general (but not as detailed):
http://www.zdnet.com/pcmag/issues/1521/pcmg0038.htmhttp://www2.echo.lu/oii/en/raster.html

Cheers - MorFF
0
 
LVL 3

Expert Comment

by:MorFF
ID: 2522247
0
 

Expert Comment

by:Blessy
ID: 2534746
Thanks for posting the links.  They are helpful
0
 

Author Comment

by:Sesh
ID: 2541494
thankyou for your answers... but... is there any more complete definitions on the JPEG header standard??  i looked at http://www.obrador.com/essentialjpeg/HeaderInfo.htm and it didnt cover a lot of the headers adobe uses when creating jpgs...

i just need to create a program that extracts the width and height details from image files (jpgs in particular)
0
 
LVL 4

Expert Comment

by:nils pipenbrinck
ID: 2545329
jpeg and some other formats can be found at my website:

http://www.cubic.org/source/archive/fileform/graphic/

happy coding,
  Nils
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Keep your audience engaged and get the most out of your next presentation with these quick Prezi tips.
Technology opened people to different means of presenting information, but PowerPoint remains to be above competition. Know why PPT still works today.
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
Learn how to create interesting presentations by including videos to keep your audience engaged using Prezi. Select "Insert" from the top menu in your Prezi editor: Select "YouTube Video": Paste the video URL into the prompt: "Select "Insert":…

895 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now