Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. How can I convert to TIFF file format? [modified]

How can I convert to TIFF file format? [modified]

Scheduled Pinned Locked Moved C / C++ / MFC
question
8 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    Cris
    wrote on last edited by
    #1

    Hello, How can i convert any file format to tiff file format? Any DLL, source code or free app via command line? Alternatively, can be a solution that convert any file to another format and later to a tiff format. Any idea? []'s Cris. -- modified at 15:48 Wednesday 12th July, 2006

    C J E 3 Replies Last reply
    0
    • C Cris

      Hello, How can i convert any file format to tiff file format? Any DLL, source code or free app via command line? Alternatively, can be a solution that convert any file to another format and later to a tiff format. Any idea? []'s Cris. -- modified at 15:48 Wednesday 12th July, 2006

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      GDI+ is a dll that you can redistribute, that comes with any VC version > 6, or is in the PSDK for VC6. It can load TIFF as well as JPG/GIF/PNG. I *think* it loads tiff..... Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog

      1 Reply Last reply
      0
      • C Cris

        Hello, How can i convert any file format to tiff file format? Any DLL, source code or free app via command line? Alternatively, can be a solution that convert any file to another format and later to a tiff format. Any idea? []'s Cris. -- modified at 15:48 Wednesday 12th July, 2006

        J Offline
        J Offline
        Joe Woodbury
        wrote on last edited by
        #3

        As Christian said, use GDI+. Be aware that it supports only SOME TIFF files. (Look at TIFF as a container of an image; how the image is actually formatted/compressed is essentially infinite. Before you get too alarmed, there are TIFF formats Apple has never published.) Fortunately, GDI+ handles the more common formats. Anyone who thinks he has a better idea of what's good for people than people do is a swine. - P.J. O'Rourke

        C 1 Reply Last reply
        0
        • C Cris

          Hello, How can i convert any file format to tiff file format? Any DLL, source code or free app via command line? Alternatively, can be a solution that convert any file to another format and later to a tiff format. Any idea? []'s Cris. -- modified at 15:48 Wednesday 12th July, 2006

          E Offline
          E Offline
          earl
          wrote on last edited by
          #4

          look at libtiff. libjpeg is also free.

          C 1 Reply Last reply
          0
          • E earl

            look at libtiff. libjpeg is also free.

            C Offline
            C Offline
            Cris
            wrote on last edited by
            #5

            Ok, but libtiff only convert image file to tiff file. I need to convert any file (readable) to tiff format. []'s

            E 1 Reply Last reply
            0
            • J Joe Woodbury

              As Christian said, use GDI+. Be aware that it supports only SOME TIFF files. (Look at TIFF as a container of an image; how the image is actually formatted/compressed is essentially infinite. Before you get too alarmed, there are TIFF formats Apple has never published.) Fortunately, GDI+ handles the more common formats. Anyone who thinks he has a better idea of what's good for people than people do is a swine. - P.J. O'Rourke

              C Offline
              C Offline
              Cris
              wrote on last edited by
              #6

              But using GDI+, can I convert any file format to tiff? Or only image file to tiff?

              J 1 Reply Last reply
              0
              • C Cris

                Ok, but libtiff only convert image file to tiff file. I need to convert any file (readable) to tiff format. []'s

                E Offline
                E Offline
                earl
                wrote on last edited by
                #7

                Right, which means you're going to have to do some work. Starting with libjpeg to decompress jpegs and libpng to decompress pngs. gifs are easy to read, and bmps are trivial; those should cover most image formats. Otherwise, if you don't need to build this into your program, irfanview will probably do what you want. earl

                1 Reply Last reply
                0
                • C Cris

                  But using GDI+, can I convert any file format to tiff? Or only image file to tiff?

                  J Offline
                  J Offline
                  Joe Woodbury
                  wrote on last edited by
                  #8

                  I don't understand your question since GDI+ only handles image files. Anyone who thinks he has a better idea of what's good for people than people do is a swine. - P.J. O'Rourke

                  1 Reply Last reply
                  0
                  Reply
                  • Reply as topic
                  Log in to reply
                  • Oldest to Newest
                  • Newest to Oldest
                  • Most Votes


                  • Login

                  • Don't have an account? Register

                  • Login or register to search.
                  • First post
                    Last post
                  0
                  • Categories
                  • Recent
                  • Tags
                  • Popular
                  • World
                  • Users
                  • Groups