Thread: file-header of jpg-grafic?

  1. #1
    Registered User
    Join Date
    Sep 2001
    Posts
    1

    Post file-header of jpg-grafic?

    i know it's probably a little bit off topic, but i didn't know which board fits best for this thread.

    my problem: i want to know at which position in the jpg-grafic the bytes for the size of the image (width and height) are stored...

    e.g. in a gif-grafic, bytes 7 and 8 store the width, bytes 9 and 10 store the height-information of a gif-images...

    but where are these information stored in a jpg-image?

    and, if possible and someone knows, where are these informations in png-grafic?


    thansk a lot...

  2. #2
    Skunkmeister Stoned_Coder's Avatar
    Join Date
    Aug 2001
    Posts
    2,572
    try for file-format info here or look at this free jpeg library
    Free the weed!! Class B to class C is not good enough!!
    And the FAQ is here :- http://faq.cprogramming.com/cgi-bin/smartfaq.cgi

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Need Help Fixing My C Program. Deals with File I/O
    By Matus in forum C Programming
    Replies: 7
    Last Post: 04-29-2008, 07:51 PM
  2. Need help understanding Header Files
    By Kaidao in forum C++ Programming
    Replies: 11
    Last Post: 03-25-2008, 10:02 AM
  3. Replies: 30
    Last Post: 06-19-2006, 12:35 AM
  4. Unknown Memory Leak in Init() Function
    By CodeHacker in forum Windows Programming
    Replies: 3
    Last Post: 07-09-2004, 09:54 AM
  5. Replies: 6
    Last Post: 04-02-2002, 05:46 AM