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. The Lounge
  3. PNG encoder wanted

PNG encoder wanted

Scheduled Pinned Locked Moved The Lounge
htmlperformancequestionannouncement
7 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.
  • H Offline
    H Offline
    Henrik Husted
    wrote on last edited by
    #1

    Does anyone know where to find a good PNG encoder written in C? Yeah, I know that libpng[^] exist but that implementation uses waaay to much memory (around 300KB). So before I start developing my own PNG encoder I want to see if there are any commercial version available. But I cant seem to find any companies selling a PNG encoder, any pointers? .H

    J B 2 Replies Last reply
    0
    • H Henrik Husted

      Does anyone know where to find a good PNG encoder written in C? Yeah, I know that libpng[^] exist but that implementation uses waaay to much memory (around 300KB). So before I start developing my own PNG encoder I want to see if there are any commercial version available. But I cant seem to find any companies selling a PNG encoder, any pointers? .H

      J Offline
      J Offline
      Jorgen Sigvardsson
      wrote on last edited by
      #2

      Hmm.. What about GDI+? If my memory serves me right, there were discussions here on CP some time ago about its ability to save images to file. -- It's not unusual to be picked up by a klingon woman It's not unusual to have fun with a klingon When I see you kicking me around It's not unusual to see me cry, I wanna die

      J 1 Reply Last reply
      0
      • J Jorgen Sigvardsson

        Hmm.. What about GDI+? If my memory serves me right, there were discussions here on CP some time ago about its ability to save images to file. -- It's not unusual to be picked up by a klingon woman It's not unusual to have fun with a klingon When I see you kicking me around It's not unusual to see me cry, I wanna die

        J Offline
        J Offline
        Jon Newman
        wrote on last edited by
        #3

        Didn't he mention lo-memory libraries :rolleyes:
           I walk these roads,    I climb these mountains,    Though they are nothing,    But paths and hills,    for the only mountain is success,    and the only road is life.

        J 1 Reply Last reply
        0
        • J Jon Newman

          Didn't he mention lo-memory libraries :rolleyes:
             I walk these roads,    I climb these mountains,    Though they are nothing,    But paths and hills,    for the only mountain is success,    and the only road is life.

          J Offline
          J Offline
          Jorgen Sigvardsson
          wrote on last edited by
          #4

          Well.. aah. Microsoft makes lean software. Right? :rolleyes: It might take less than 300k though to save a PNG. If it does, it's better than libpng. -- tlhIngan maH! Heghlu'meH QaQ jajvam!

          H 1 Reply Last reply
          0
          • H Henrik Husted

            Does anyone know where to find a good PNG encoder written in C? Yeah, I know that libpng[^] exist but that implementation uses waaay to much memory (around 300KB). So before I start developing my own PNG encoder I want to see if there are any commercial version available. But I cant seem to find any companies selling a PNG encoder, any pointers? .H

            B Offline
            B Offline
            Brit
            wrote on last edited by
            #5

            Look at this article: http://www.codeproject.com/bitmap/trans_cimage.asp[^] It can load PNG and I think it can save them as well ( look specifically at CImagePNG::SaveFile ). ------------------------------------------ They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety. - Benjamin Franklin In an encampment expecting daily attack from a powerful enemy, self-preservation is paramount to all law. - Thomas Jefferson

            H 1 Reply Last reply
            0
            • B Brit

              Look at this article: http://www.codeproject.com/bitmap/trans_cimage.asp[^] It can load PNG and I think it can save them as well ( look specifically at CImagePNG::SaveFile ). ------------------------------------------ They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety. - Benjamin Franklin In an encampment expecting daily attack from a powerful enemy, self-preservation is paramount to all law. - Thomas Jefferson

              H Offline
              H Offline
              Henrik Husted
              wrote on last edited by
              #6

              All the PNG stuff is taken directly from libpng, nothing more than a C++ wrapper :) --- Arguing on the internet is like running in the Special Olympics. Even if you win, you're still retarded.

              1 Reply Last reply
              0
              • J Jorgen Sigvardsson

                Well.. aah. Microsoft makes lean software. Right? :rolleyes: It might take less than 300k though to save a PNG. If it does, it's better than libpng. -- tlhIngan maH! Heghlu'meH QaQ jajvam!

                H Offline
                H Offline
                Henrik Husted
                wrote on last edited by
                #7

                Perhaps I should have mentioned that I'm developing in a non-Microsoft environment :-O

                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