C++ image Format conversion

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • SpecialKay
    New Member
    • Mar 2008
    • 109

    C++ image Format conversion

    hello All,
    I have a new problem. I have a .TIFF file that is of 1bit per pixel and compressed with CCITT T.6. I need to open this file from the disk convert it to something more standard (.JPG or .BMP) and then save the file back to the disk for future processing. I thought it was going to be eazy, but i cant seem to find any resources to do it.

    any ideas?
    thanks

    The theory im working on at the moment, is to us C++ to open the file in MSPAINT, and then save the file. If got it open. Just cant get it to save correctly. I dont have the code on this computer. I will try to get it to you.

    thanks again.
  • gpraghuram
    Recognized Expert Top Contributor
    • Mar 2007
    • 1275

    #2
    Why you want to open MSPAINT from C++?
    Instead you can do the same operation separately.
    Can you give more info on why u are doing it this way?

    Raghu

    Comment

    • SpecialKay
      New Member
      • Mar 2008
      • 109

      #3
      well it needs to be automatic, i have a program that will read through some pdf files. And if the file locates an image, it will cut the image out, and save it to disk. Unfortunatly i have no choice but to save it as .TIFF
      later on, I then try to re-open the image using different imaging software. However this software does not support .TIFF format. So i need to somehow automate the conversion from .TIFF to .BMP, so that i can use the .BMP in my application.

      i hope i have made sence.

      Comment

      Working...