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

  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, 03:44 PM
  2. read and write to file
    By rahulsk1947 in forum C++ Programming
    Replies: 2
    Last Post: 06-03-2007, 09:56 PM
  3. Dikumud
    By maxorator in forum C++ Programming
    Replies: 1
    Last Post: 10-01-2005, 06:39 AM
  4. Can I write & read file in same program?
    By chad03 in forum C Programming
    Replies: 2
    Last Post: 08-04-2003, 08:39 AM

Tags for this Thread