Thread: CImg to convert tiff to bmp

  1. #1
    Registered User
    Join Date
    Nov 2007

    CImg to convert tiff to bmp

    Hello All,

    Has anyone used this header(cimg.h) ? Does anyone know how to do the above. I don't seem to be able to find any info on this anywhere.

    If anyone has another way for converting (batch) tiff images to bmp i'd like to hear about it.


  2. #2
    Registered User mikeman118's Avatar
    Join Date
    Aug 2007
    Yes, in fact I believe it is quite simple (it's been a while since I've used it, but I think this'll work):
    CImg cImg ("img.tiff"); //Again, I haven't used this in a while so I may be declaring this wrong
    So basically when you save it you just specify the file extension in the file name. I'm pretty sure that will work, tell me if it doesn't.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Problem reading BMP
    By Mortissus in forum C Programming
    Replies: 4
    Last Post: 02-02-2006, 06:32 AM
  2. Strange problem with bmp
    By Victor in forum Linux Programming
    Replies: 2
    Last Post: 04-04-2005, 02:48 PM
  3. Reading color tiff images?
    By compz in forum Game Programming
    Replies: 1
    Last Post: 11-21-2003, 12:48 AM
  4. Convert Char to Int Function
    By drdroid in forum C++ Programming
    Replies: 9
    Last Post: 02-19-2003, 12:53 PM