Solved

image file header info

Posted on 2000-02-14
5
240 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

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

I've been using this technique since Adobe CS2, and it should work with any version of Illustrator that includes the appearance panel. In this tutorial we'll create a button using the appearance panel in Adobe Illustrator, and then save it as a r…
Many programs have tried to outwit PowerPoint in terms of technology and skill. These programs, however, still lack several characteristics that PowerPoint has possessed from the start. Here's why PowerPoint replacements won't entirely work for desi…
In this Micro Tutorial viewers will learn the basic shortcuts and functions of Illustrator. The viewer will learn about the paintbrush tool, anchor points, font sizing, and more.
Not only does Prezi allow you to create non-linear presentations, it also makes it easy to apply transition animations between your frames. Learn how to apply a fade-in transition to select items and entire frames in this tutorial Select "Edit Path"…

743 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

12 Experts available now in Live!

Get 1:1 Help Now