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 to Load Tiff File using LoadImage?

How to Load Tiff File using LoadImage?

Scheduled Pinned Locked Moved C / C++ / MFC
questiongraphicstutorial
10 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.
  • 0 Offline
    0 Offline
    002comp
    wrote on last edited by
    #1

    Hello Friends I am using LoadImage to load bitmap but how can I load Tiff File? Any Ideas? Thanks & Regards Yogesh

    L S 2 Replies Last reply
    0
    • 0 002comp

      Hello Friends I am using LoadImage to load bitmap but how can I load Tiff File? Any Ideas? Thanks & Regards Yogesh

      L Offline
      L Offline
      Luc Pattyn
      wrote on last edited by
      #2

      GDI+ won't do it for you. You could look for another library that does; I'm pretty sure GIMP does. Or you could create your own TIFF package. IIRC there might be some licensing issues. :)

      Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles] Nil Volentibus Arduum

      Please use <PRE> tags for code snippets, they preserve indentation, and improve readability.

      C 1 Reply Last reply
      0
      • 0 002comp

        Hello Friends I am using LoadImage to load bitmap but how can I load Tiff File? Any Ideas? Thanks & Regards Yogesh

        S Offline
        S Offline
        Sarath C
        wrote on last edited by
        #3

        See CxImage's CxImageTIF[^] class.

        -Sarath.

        My blog - Sharing My Thoughts

        Rate the answers and close your posts if it's answered

        1 Reply Last reply
        0
        • L Luc Pattyn

          GDI+ won't do it for you. You could look for another library that does; I'm pretty sure GIMP does. Or you could create your own TIFF package. IIRC there might be some licensing issues. :)

          Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles] Nil Volentibus Arduum

          Please use <PRE> tags for code snippets, they preserve indentation, and improve readability.

          C Offline
          C Offline
          CPallini
          wrote on last edited by
          #4

          Luc Pattyn wrote:

          GDI+ won't do it for you.

          GDI+ has built-in encoders and decoders that support the following file types: BMP GIF JPEG PNG TIFF

          GDI+ reference: "Using Image Encoders and Decoders"[^]. :)

          If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
          This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
          [My articles]

          L 1 Reply Last reply
          0
          • C CPallini

            Luc Pattyn wrote:

            GDI+ won't do it for you.

            GDI+ has built-in encoders and decoders that support the following file types: BMP GIF JPEG PNG TIFF

            GDI+ reference: "Using Image Encoders and Decoders"[^]. :)

            If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
            This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
            [My articles]

            L Offline
            L Offline
            Luc Pattyn
            wrote on last edited by
            #5

            I stand corrected; I don't see what the OP's problem is then. :)

            Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles] Nil Volentibus Arduum

            Please use <PRE> tags for code snippets, they preserve indentation, and improve readability.

            C 1 Reply Last reply
            0
            • L Luc Pattyn

              I stand corrected; I don't see what the OP's problem is then. :)

              Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles] Nil Volentibus Arduum

              Please use <PRE> tags for code snippets, they preserve indentation, and improve readability.

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

              Are you going to update CP Vanity? I can't leave without. Plz plz... :-D

              If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
              This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
              [My articles]

              L 1 Reply Last reply
              0
              • C CPallini

                Are you going to update CP Vanity? I can't leave without. Plz plz... :-D

                If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
                This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
                [My articles]

                L Offline
                L Offline
                Luc Pattyn
                wrote on last edited by
                #7

                There probably will be a CP Vanity 2.0 pretty soon after we get a useful web service; there still is hope, it was discussed yesterday. And why do people insist on discussing CP Vanity everywhere except where it should be discussed, in the article's forum? :)

                Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles] Nil Volentibus Arduum

                Please use <PRE> tags for code snippets, they preserve indentation, and improve readability.

                C 1 Reply Last reply
                0
                • L Luc Pattyn

                  There probably will be a CP Vanity 2.0 pretty soon after we get a useful web service; there still is hope, it was discussed yesterday. And why do people insist on discussing CP Vanity everywhere except where it should be discussed, in the article's forum? :)

                  Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles] Nil Volentibus Arduum

                  Please use <PRE> tags for code snippets, they preserve indentation, and improve readability.

                  C Offline
                  C Offline
                  CPallini
                  wrote on last edited by
                  #8

                  I stand corrected. :)

                  If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
                  This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
                  [My articles]

                  L 1 Reply Last reply
                  0
                  • C CPallini

                    I stand corrected. :)

                    If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
                    This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
                    [My articles]

                    L Offline
                    L Offline
                    Luc Pattyn
                    wrote on last edited by
                    #9

                    BTW: you did see the CP Vanity Lite article by Nish yesterday? :)

                    Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles] Nil Volentibus Arduum

                    Please use <PRE> tags for code snippets, they preserve indentation, and improve readability.

                    C 1 Reply Last reply
                    0
                    • L Luc Pattyn

                      BTW: you did see the CP Vanity Lite article by Nish yesterday? :)

                      Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles] Nil Volentibus Arduum

                      Please use <PRE> tags for code snippets, they preserve indentation, and improve readability.

                      C Offline
                      C Offline
                      CPallini
                      wrote on last edited by
                      #10

                      Nope, it is pretty good (Nish rocks): thank you for signaling. :)

                      If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
                      This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
                      [My articles]

                      modified on Friday, November 19, 2010 3:10 PM

                      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