images loading with pure C

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • momotaro
    Contributor
    • Sep 2006
    • 357

    images loading with pure C

    I don't even know where to start in order to load an image into my program using c
    plz help
  • newb16
    Contributor
    • Jul 2008
    • 687

    #2
    libpng, for example.

    Comment

    • momotaro
      Contributor
      • Sep 2006
      • 357

      #3
      does it support all image files??

      Comment

      • newb16
        Contributor
        • Jul 2008
        • 687

        #4
        If you don''t even know where to start, start with _some_ image format (like I suggested or some other) and once you know, explore other possibilities. Maybe it will be better to start with .bmp

        Comment

        • momotaro
          Contributor
          • Sep 2006
          • 357

          #5
          can't get it to be installed

          Comment

          • newb16
            Contributor
            • Jul 2008
            • 687

            #6
            It's because either you are doing something wrong or your system is not supported.

            Comment

            • momotaro
              Contributor
              • Sep 2006
              • 357

              #7
              ok lets start ffrom skratch
              I wanna for the moment just learn how to read the header of an image file!
              with only built-in functions!!!!!!
              is it possible and where to start

              Comment

              • newb16
                Contributor
                • Jul 2008
                • 687

                #8
                yes, it's possible - fopen(), read() into byte array. Start with reading documentation on particular format.

                Comment

                • momotaro
                  Contributor
                  • Sep 2006
                  • 357

                  #9
                  if you can give me any links I'll apriociate it

                  Comment

                  • newb16
                    Contributor
                    • Jul 2008
                    • 687

                    #10

                    Comment

                    Working...