• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Source code GIF and/or PNG

morulis

Member
Hello,

Do you know where can I find source code to create my own encoder/decoder? I need to read from a known uncompressed file e.g BMP or PGM or PPM etc and to compress to GIF and/or PNG. I 've heard that the patent of LZW has expired and maybe there is code out there to make compressed GIF. The encoder/decoder will be used for academic purposes. I want to make a benchmark between known lossless compression techniques that used for images.

Thank you🙂
 
If you use someone else's code you're not really creating your own encoder, are you?

regardless, imagemagick is open source and can creat those files, as is the gimp, and GD.
 
What language are you looking to use? Imagemagick has commandline utilities to this too so your code only has to run the EXEs with the right command switches.
 
The LZW or LZ77 does not belong to me intellectually. So the encoder/decoder does not belong to me either or to anyone else. All the other things are just "details of the implementation" as we the programmers say. Thank you for your answer🙂
 
Back
Top