aboutsummaryrefslogtreecommitdiff
path: root/graphics/png.cpp
AgeCommit message (Collapse)Author
2011-06-26GRAPHICS: Generalized arbitrary bit depth images processing in PNG decoder.Eugene Sandulenko
This fixes 1bpp image rengering.
2011-06-20GRAPHICS: Cleanup and simplification of some PNG decoder codeFilippos Karapetis
2011-06-20ALL: Remove trailing whitespacesMax Horn
This tries to make our code a bit more compliant with our code formatting conventions. For future use, this is the command I used: git ls-files "*.cpp" "*.h" | xargs sed -i -e 's/[ \t]*$//'
2011-06-17GRAPHICS: Fix Valgrind warningeriktorbjorn
The stream class uses free() to automatically dispose of the buffer so it must be allocated with malloc(), not "new".
2011-06-16GRAPHICS: Fix decoding of 4bpp PNGsEugene Sandulenko
Fixes checkbox in options menu in Sword25.
2011-05-13COMMON: Added compilation safeguards for the png decodermd5
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2011-05-01Merge pull request #16 "Add a PixelFormat to Graphics::Surface.".Johannes Schickel
For further discussion check here: https://github.com/scummvm/scummvm/pull/16 Conflicts: graphics/png.cpp
2011-04-28JANITORIAL: Reduce header dependencies in shared codeOri Avtalion
Some backends may break as I only compiled SDL
2011-04-27PNG: Improved code readability a bitmd5
2011-04-17GRPAHICS: Do not access Surface::bytesPerPixel anymore.Johannes Schickel
2011-04-17GRAPHICS: Prefer Surface::create taking a PixelFormat over the one taking a ↵Johannes Schickel
byte depth.
2011-04-14GRAPHICS: Tidy up 4bpp handling a little.Alyssa Milburn
2011-04-14GRAPHICS: Handle 4bpp paletted PNG files.Alyssa Milburn
2011-04-14GRAPHICS: Replace PNG_HEADER macro with MKTAGAlyssa Milburn
2011-04-12COMMON: Replace MKID_BE by MKTAGMax Horn
MKID_BE relied on unspecified behavior of the C++ compiler, and as such was always a bit unsafe. The new MKTAG macro is slightly less elegant, but does no longer depend on the behavior of the compiler. Inspired by FFmpeg, which has an almost identical macro.
2011-02-02GRAPHICS: Fixed a bug with indexed PNGs in the PNG decoder (a byte can't ↵Filippos Karapetis
hold 256 entries) svn-id: r55742
2011-02-02GRAPHICS: Updated the copyright information regarding LodePNG. Removed the ↵Filippos Karapetis
obsolete reference to ysflight, as no code is actually used from or based on that project svn-id: r55726
2011-02-02GRAPHICS: Implemented a PNG decoder, and set it as default for the sword25 ↵Filippos Karapetis
engine libpng is still needed for PNG encoding (for thumbnails in saved games of sword25), but since we'll probably drop support for the original saved games anyway, the PNG encoding code will ultimately be removed svn-id: r55723