Thread: using jpeg files

  1. #1
    Frustrated Programmer :( phantom's Avatar
    Join Date
    Sep 2001
    Posts
    163

    using jpeg files

    I have spent the past couple of hours searching for C++ code to use JPEG files. At the moment I am using BMP files but these are very large compared to JPEG.
    Has anyone got code that allows JPEG's to be used? Or a link to a page that has the code?
    Please note that I am not that advanced to be able to write my own code for this.

    James
    My site to register for all my other websites!
    'Clifton Bazaar'

  2. #2
    l'Anziano DavidP's Avatar
    Join Date
    Aug 2001
    Location
    Plano, Texas, United States
    Posts
    2,743
    wotsit.org has the file formats for several graphic files...probably JPEGs too.

    Once you figure out the file format and loading the JPEG into memory, displaying it is a breeze.
    My Website

    "Circular logic is good because it is."

  3. #3
    Frustrated Programmer :( phantom's Avatar
    Join Date
    Sep 2001
    Posts
    163
    tried wotsit.org but it doesn't have the code needed, it has an explanation on what a JPEG is but not how to program it into memory
    My site to register for all my other websites!
    'Clifton Bazaar'

  4. #4
    train spotter
    Join Date
    Aug 2001
    Location
    near a computer
    Posts
    3,868
    If in doubt search, could find this

    http://www.cprogramming.com/cboard/s...highlight=JPEG
    "Man alone suffers so excruciatingly in the world that he was compelled to invent laughter."
    Friedrich Nietzsche

    "I spent a lot of my money on booze, birds and fast cars......the rest I squandered."
    George Best

    "If you are going through hell....keep going."
    Winston Churchill

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Reading .dat files from a folder in current directory...
    By porsche911nfs in forum C++ Programming
    Replies: 7
    Last Post: 04-04-2009, 09:52 PM
  2. Linking header files, Source files and main program(Accel. C++)
    By Daniel Primed in forum C++ Programming
    Replies: 3
    Last Post: 01-17-2006, 11:46 AM
  3. Multiple Cpp Files
    By w4ck0z in forum C++ Programming
    Replies: 5
    Last Post: 11-14-2005, 02:41 PM
  4. Folding@Home Cboard team?
    By jverkoey in forum A Brief History of Cprogramming.com
    Replies: 398
    Last Post: 10-11-2005, 08:44 AM
  5. Batch file programming
    By year2038bug in forum Tech Board
    Replies: 10
    Last Post: 09-05-2005, 03:30 PM