Thread: how to convert images through C++

  1. #1
    Registered User
    Join Date
    May 2011
    Posts
    2

    how to convert images through C++

    Hi, i need to write a code which can convert a raw image to anyother desired format like BMP or JPEG etc.

  2. #2
    template<typename T> threahdead's Avatar
    Join Date
    Sep 2002
    Posts
    214
    Hi,

    converting to BMP might be alot easier than to convert to JPEG. See BMP file format - Wikipedia, the free encyclopedia for a detailed description of how the headers of the BMP file have to look like.

  3. #3
    Registered User inequity's Avatar
    Join Date
    Nov 2010
    Location
    Seattle, Washington
    Posts
    59
    Yeah, if you're able to pull out the raw pixel data, saving as a bitmap is actually really easy.

  4. #4
    Registered User
    Join Date
    May 2011
    Posts
    2
    Quote Originally Posted by inequity View Post
    Yeah, if you're able to pull out the raw pixel data, saving as a bitmap is actually really easy.
    yes, i donnu how to pull out the raw pixel data, can u plz help me out in this????

  5. #5
    Registered User
    Join Date
    Dec 2007
    Posts
    214
    Read the link that threahdead posted.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Images
    By PSPJunkie in forum C Programming
    Replies: 4
    Last Post: 01-09-2007, 02:25 PM
  2. PGM images
    By bokkie in forum C++ Programming
    Replies: 1
    Last Post: 03-17-2005, 08:48 AM
  3. Using Images...
    By Felix in forum C++ Programming
    Replies: 5
    Last Post: 12-08-2003, 10:11 AM
  4. Images-again...
    By AProg in forum C Programming
    Replies: 8
    Last Post: 05-26-2003, 05:22 PM
  5. Replies: 5
    Last Post: 10-17-2001, 02:00 AM