How can i write code in cpp to read from a jpeg file

This is a discussion on How can i write code in cpp to read from a jpeg file within the C++ Programming forums, part of the General Programming Boards category; I was just curious where I needed to look to find info on writing programs that could read from a ...

  1. #1
    Registered User
    Join Date
    Dec 2008
    Posts
    38

    Question How can i write code in cpp to read from a jpeg file

    I was just curious where I needed to look to find info on writing programs that could read from a jpeg file. What are the protocols for putting the information into the file? I've looked on Cprogramming.com for a tutorial, but can't find what I'm looking for.

  2. #2
    Registered User
    Join Date
    Aug 2005
    Posts
    266
    look up the jpeg protocol

    i would just find a nice library to read a jpg.

  3. #3
    Just a pushpin. bernt's Avatar
    Join Date
    May 2009
    Posts
    426
    Wikipedia usually has some good information regarding file formats (click). You can take a look there if you really want to do it yourself, just to see what you're getting into.

    Otherwise, as far as libraries go I'd have to recommend DevIL.
    Consider this post signed

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. gcc link external library
    By spank in forum C Programming
    Replies: 6
    Last Post: 08-08-2007, 04:44 PM
  2. read and write to file
    By rahulsk1947 in forum C++ Programming
    Replies: 2
    Last Post: 06-03-2007, 10:56 PM
  3. Dikumud
    By maxorator in forum C++ Programming
    Replies: 1
    Last Post: 10-01-2005, 07:39 AM
  4. Can I write & read file in same program?
    By chad03 in forum C Programming
    Replies: 2
    Last Post: 08-04-2003, 09:39 AM

Tags for this Thread


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21