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. Loading Bmp, Png, Tga, Raw

Loading Bmp, Png, Tga, Raw

Scheduled Pinned Locked Moved C / C++ / MFC
helpquestion
9 Posts 7 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
    CrocodileBuck
    wrote on last edited by
    #1

    Hi :-D , i want to learn something abot loading images (above formats). I want to load them *w*i*t*h*o*u*t* using libs like PicoPng or something like that. The Image i load should be used as an backgroundimage (1024x768) not as a small texture(256x256)! I tried to find tutos, but there is nothing exept the ... use PicoPng.lib etc. versions X| ! I really don't find anything :(( ! Please do you know some good tutorials, books, sources, snippets or whatelse covering the topic which can help me :-\ ? Many many thanks and best regards ;) Croc

    M P N H 4 Replies Last reply
    0
    • C CrocodileBuck

      Hi :-D , i want to learn something abot loading images (above formats). I want to load them *w*i*t*h*o*u*t* using libs like PicoPng or something like that. The Image i load should be used as an backgroundimage (1024x768) not as a small texture(256x256)! I tried to find tutos, but there is nothing exept the ... use PicoPng.lib etc. versions X| ! I really don't find anything :(( ! Please do you know some good tutorials, books, sources, snippets or whatelse covering the topic which can help me :-\ ? Many many thanks and best regards ;) Croc

      P Offline
      P Offline
      Perspx
      wrote on last edited by
      #2

      CrocodileBuck wrote:

      I want to load them *w*i*t*h*o*u*t* using libs like PicoPng or something like that.

      Why "reinvent the wheel" when you can use a library? :confused: Regards, --Perspx

      "The Blue Screen of Death, also known as The Blue Screen of Doom, the "Blue Screen of Fun", "Phatul Exception: The WRECKening" and "Windows Vista", is a multi award-winning game first developed in 1995 by Microsoft" - Uncyclopedia Introduction to Object-Oriented JavaScript

      1 Reply Last reply
      0
      • C CrocodileBuck

        Hi :-D , i want to learn something abot loading images (above formats). I want to load them *w*i*t*h*o*u*t* using libs like PicoPng or something like that. The Image i load should be used as an backgroundimage (1024x768) not as a small texture(256x256)! I tried to find tutos, but there is nothing exept the ... use PicoPng.lib etc. versions X| ! I really don't find anything :(( ! Please do you know some good tutorials, books, sources, snippets or whatelse covering the topic which can help me :-\ ? Many many thanks and best regards ;) Croc

        M Offline
        M Offline
        Mark Salsbery
        wrote on last edited by
        #3

        I don't know about tutorials, but it generally comes down to looking up the published file format and parsing the file appropriately. Examples: BMP[^] PNG[^] TGA[^] RAW = Google "RAW file format"...there's lots of raw formats.

        Mark Salsbery Microsoft MVP - Visual C++ :java:

        L 1 Reply Last reply
        0
        • M Mark Salsbery

          I don't know about tutorials, but it generally comes down to looking up the published file format and parsing the file appropriately. Examples: BMP[^] PNG[^] TGA[^] RAW = Google "RAW file format"...there's lots of raw formats.

          Mark Salsbery Microsoft MVP - Visual C++ :java:

          L Offline
          L Offline
          led mike
          wrote on last edited by
          #4

          Mark Salsbery wrote:

          I don't know about tutorials, but it generally comes down to looking up the published file format and parsing the file appropriately.

          or when one can't figure out one needs to do that, perhaps one should start by reading the McDonalds menu. :beer:

          led mike

          D 1 Reply Last reply
          0
          • C CrocodileBuck

            Hi :-D , i want to learn something abot loading images (above formats). I want to load them *w*i*t*h*o*u*t* using libs like PicoPng or something like that. The Image i load should be used as an backgroundimage (1024x768) not as a small texture(256x256)! I tried to find tutos, but there is nothing exept the ... use PicoPng.lib etc. versions X| ! I really don't find anything :(( ! Please do you know some good tutorials, books, sources, snippets or whatelse covering the topic which can help me :-\ ? Many many thanks and best regards ;) Croc

            N Offline
            N Offline
            Nuri Ismail
            wrote on last edited by
            #5

            You can also use GDI+ for loading images. Here are some examples: http://www.codeproject.com/KB/cpp/GDI_.aspx[^] http://www.codeproject.com/KB/GDI-plus/GdiPThumbnailsViewer.aspx[^] If you don't want to use GDI+, than you can try CxImage library: http://www.codeproject.com/KB/graphics/cximage.aspx[^] It's really very cool library that can help you to get information about loading images.

            1 Reply Last reply
            0
            • C CrocodileBuck

              Hi :-D , i want to learn something abot loading images (above formats). I want to load them *w*i*t*h*o*u*t* using libs like PicoPng or something like that. The Image i load should be used as an backgroundimage (1024x768) not as a small texture(256x256)! I tried to find tutos, but there is nothing exept the ... use PicoPng.lib etc. versions X| ! I really don't find anything :(( ! Please do you know some good tutorials, books, sources, snippets or whatelse covering the topic which can help me :-\ ? Many many thanks and best regards ;) Croc

              H Offline
              H Offline
              Hamid Taebi
              wrote on last edited by
              #6

              For bmp,png,gif,jpeg and I think tiff you can use of CImage class But onthe codeproject you can see CXImage article is very helpful for you.

              C 1 Reply Last reply
              0
              • L led mike

                Mark Salsbery wrote:

                I don't know about tutorials, but it generally comes down to looking up the published file format and parsing the file appropriately.

                or when one can't figure out one needs to do that, perhaps one should start by reading the McDonalds menu. :beer:

                led mike

                D Offline
                D Offline
                David Crow
                wrote on last edited by
                #7

                Hey, that would imply that they should consider changing... Ahhh never mind. :doh:

                "Love people and use things, not love things and use people." - Unknown

                "The brick walls are there for a reason...to stop the people who don't want it badly enough." - Randy Pausch

                1 Reply Last reply
                0
                • H Hamid Taebi

                  For bmp,png,gif,jpeg and I think tiff you can use of CImage class But onthe codeproject you can see CXImage article is very helpful for you.

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

                  Thanx for all your help, i hope i can figure it out now ;):cool: ;) Many thanks & Best regards :laugh: ;) :) Croc

                  H 1 Reply Last reply
                  0
                  • C CrocodileBuck

                    Thanx for all your help, i hope i can figure it out now ;):cool: ;) Many thanks & Best regards :laugh: ;) :) Croc

                    H Offline
                    H Offline
                    Hamid Taebi
                    wrote on last edited by
                    #9

                    I glad our answers were helpful for you. :)

                    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