Eugene Sandulenko
5e7fe2dc57
JANITORIAL: Replace spaces in indentation with tabs
2021-04-15 21:20:36 +02:00
Thierry Crozat
aaa1bb151a
IMAGE: Allow writing PNG from 8 bit surfaces
2021-03-15 00:56:01 +00:00
Paweł Kołodziejski
54c2b1aaec
IMAGE: Print source of callback messages. Change PNG warning into debug.
2021-02-13 12:31:16 +01:00
Paul Gilbert
1fa5e17b24
IMAGE: Support pngs with alphas for multiple palette entries
2020-12-23 19:32:19 -08:00
Eugene Sandulenko
6ce6922eef
IMAGE: Fix potential memory leaks
2020-01-06 13:35:04 +01:00
Cameron Cawley
d289fa5f98
OPENGL: Ensure surfaces created by saveScreenshot are the right way up
2020-01-02 20:53:29 +02:00
Cameron Cawley
773295842a
IMAGE: Remove unnecessary check from Image::writePNG()
...
Surfaces with pixel formats not supported by libpng are already converted to RGBA, meaning that the check isn't needed.
2019-11-10 12:40:44 +00:00
Paul Gilbert
8a8ac63636
IMAGE: Add a paletted transparency mode flag to PNGDecoder
...
Previously, the PNGDecoder would always convert images that
have a palette with a transparent color(s) to a full RGBA
surface automatically. There needed to be a way to diable
this and keep the image paletted for the Glk engine, since
some Infocom V6 game Blorb files reuse the palettes from
previous images, so I couldn't have the decoder using the
dummy palette that comes with the image
2019-08-01 22:05:40 -07:00
Bastien Bouclet
9f98cddf8d
IMAGE: Don't perform color conversion when decoding PNGs
2019-04-28 07:59:14 +02:00
Cameron Cawley
205df5dbdf
IMAGE: Fix taking screenshots on big endian systems
2019-03-02 07:29:22 +01:00
Colin Snover
194984de2f
IMAGE: Remove unused end info structs from PNG code
...
Thanks to @dafioram for noticing the problem & sending an initial
patch, and to @wjp for noticing further that the PNG reader did not
even use the end info struct it created either.
Fixes Trac#10217. Closes gh-1028.
2017-09-21 20:43:04 -05:00
Simei Yin
a503af4959
IMAGE: Correct 4-byte image writting pixel format
2017-08-03 09:36:30 +02:00
yinsimei
791aedf7a5
Image: extend writePng for 4-byte pixelFormat
2017-07-13 18:27:45 +02:00
yinsimei
1a27d67123
IMAGE: add flag to skip signature check in png decoder
2017-07-13 18:27:45 +02:00
Colin Snover
fa0bb7dd5a
BACKENDS: Compress screenshots using PNG if available
...
Closes gh-948.
2017-05-21 15:55:39 -05:00
Bastien Bouclet
702df395eb
IMAGE: Change PNGDecoder to never delete the input stream
...
The stream is owned by the caller. Fixes CID 1362842.
2016-09-19 08:02:19 +02:00
Matthew Hoops
740b6e8fbd
IMAGE: Move all ImageDecoders to image/
2014-02-28 00:27:28 -05:00