2009-11-19 00:34:07 +00:00
|
|
|
------- April 1999 -------
|
|
|
|
|
2012-01-05 22:45:03 +00:00
|
|
|
?? Wrote load_png wrapper
|
2009-11-19 00:34:07 +00:00
|
|
|
|
2012-01-05 22:45:03 +00:00
|
|
|
??+1 Cleaned up a bit, tried getting grayscale and
|
|
|
|
auto-MagicPink conversion working.
|
2009-11-19 00:34:07 +00:00
|
|
|
|
2012-01-05 22:45:03 +00:00
|
|
|
9 Now can read gamma from environment variable.
|
|
|
|
Changed default gamma to 2.2.
|
2009-11-19 00:34:07 +00:00
|
|
|
|
2012-01-05 22:45:03 +00:00
|
|
|
13 Added save_png, using pieces from allpng.c
|
|
|
|
|
|
|
|
15 Fixed stupid bug I created in save_hicolour.
|
|
|
|
Added copyright notice.
|
|
|
|
Now uses packfile routines.
|
|
|
|
Added #ifdef __cplusplus hack.
|
|
|
|
Released: version 0.1.
|
2009-11-19 00:34:07 +00:00
|
|
|
|
|
|
|
------- December 1999 -------
|
|
|
|
|
2012-01-05 22:45:03 +00:00
|
|
|
22 Updated to work with Allegro 3.9.xx.
|
|
|
|
Fixed alpha channel support.
|
|
|
|
Added alpha.c
|
|
|
|
test.c renamed to example.c
|
|
|
|
Released: version 0.2
|
2009-11-19 00:34:07 +00:00
|
|
|
|
|
|
|
------- January 1999 -------
|
|
|
|
|
2012-01-05 22:45:03 +00:00
|
|
|
3 Applied fix for < 8 bpp images (thanks to Dave Dribin)
|
|
|
|
Released: version 0.3
|
|
|
|
|
2009-11-19 00:34:07 +00:00
|
|
|
------- October 2000 -------
|
|
|
|
|
2012-01-05 22:45:03 +00:00
|
|
|
12 Updated const-correctness in accordance with Allegro.
|
|
|
|
Released: version 0.4
|
2009-11-19 00:34:07 +00:00
|
|
|
|
|
|
|
------- April 2001 -------
|
|
|
|
|
2012-01-05 22:45:03 +00:00
|
|
|
11 "Fixed" RGB/BGR problem with loading RGBA images.
|
|
|
|
Use GFX_AUTODETECT in examples (GFX_SAFE changed in Allegro).
|
|
|
|
Released: version 0.5
|
2009-11-19 00:34:07 +00:00
|
|
|
|
|
|
|
------- July 2001 -------
|
|
|
|
|
2012-01-05 22:45:03 +00:00
|
|
|
13 Reverted to 0.4 codebase, as 0.5 was really broken (oops).
|
|
|
|
Added "depth" argument to examples.
|
|
|
|
Commented out the BGR flipping code, which was incorrect I think
|
|
|
|
anyway. Someone with a BGR card should check it out.
|
|
|
|
Released: version 0.6
|
2009-11-19 00:34:07 +00:00
|
|
|
|
|
|
|
------- January 2002 -------
|
|
|
|
|
2012-01-05 22:45:03 +00:00
|
|
|
03 allegro/aintern.h -> allegro/internal/aintern.h (Allegro 4.0)
|
|
|
|
Released: version 0.7
|
2009-11-19 00:34:07 +00:00
|
|
|
|
|
|
|
------- February 2002 -------
|
|
|
|
|
2012-01-05 22:45:03 +00:00
|
|
|
25 Fixed a problem with passing NULL for pal to load_png.
|
|
|
|
Released: version 0.8
|
2009-11-19 00:34:07 +00:00
|
|
|
|
|
|
|
------- March 2002 -------
|
|
|
|
|
2012-01-05 22:45:03 +00:00
|
|
|
30 Tentative fixes for loading/saving RGBA images.
|
|
|
|
Thanks to Chris Graham for reporting the problem.
|
|
|
|
Minor changes to examples and makefile.
|
2009-11-19 00:34:07 +00:00
|
|
|
|
|
|
|
------- May 2002 -------
|
|
|
|
|
2012-01-05 22:45:03 +00:00
|
|
|
06 Added shared library (unix) and install support into makefiles,
|
|
|
|
and cleaned them up. Thanks to Robbert Haarman for the start.
|
|
|
|
Minor changes for -W warnings.
|
2009-11-19 00:34:07 +00:00
|
|
|
|
2012-01-05 22:45:03 +00:00
|
|
|
07 Dave Dribin fixed a problem that surfaced with some buggy versions
|
|
|
|
of libpng (1.0.13, 1.2.2).
|
|
|
|
Moved the thanks section into a separate document.
|
2009-11-19 00:34:07 +00:00
|
|
|
|
2012-01-05 22:45:03 +00:00
|
|
|
08 Fixed a puny mistake in the makefile.
|
2009-11-19 00:34:07 +00:00
|
|
|
|
2012-01-05 22:45:03 +00:00
|
|
|
12 Released: version 0.9
|
2009-11-19 00:34:07 +00:00
|
|
|
|
2012-01-05 22:45:03 +00:00
|
|
|
16 Tentative fixes for sometimes-problems loading RGB images.
|
2009-11-19 00:34:07 +00:00
|
|
|
|
2012-01-05 22:45:03 +00:00
|
|
|
19 Released: version 0.10
|
2009-11-19 00:34:07 +00:00
|
|
|
|
|
|
|
------- September 2002 -------
|
|
|
|
|
2012-01-05 22:45:03 +00:00
|
|
|
03 Dave Dribin fixed two problems with images with alpha channels.
|
2009-11-19 00:34:07 +00:00
|
|
|
|
2012-01-05 22:45:03 +00:00
|
|
|
04 Released: version 0.11
|
2009-11-19 00:34:07 +00:00
|
|
|
|
|
|
|
------- April 2003 -------
|
|
|
|
|
2012-01-05 22:45:03 +00:00
|
|
|
27 Mostly incorporated Ceniza's changes (load_memory_png and loading
|
|
|
|
from datafile support, plus an example).
|
2009-11-19 00:34:07 +00:00
|
|
|
|
2012-01-05 22:45:03 +00:00
|
|
|
28 Reworked those changes a little.
|
2009-11-19 00:34:07 +00:00
|
|
|
|
|
|
|
------- May 2003 -------
|
|
|
|
|
2012-01-05 22:45:03 +00:00
|
|
|
02 Miscellaneous changes; put examples into separate directory
|
|
|
|
(now that we have three!).
|
2009-11-19 00:34:07 +00:00
|
|
|
|
2012-01-05 22:45:03 +00:00
|
|
|
04 Signal errors on read/write failure.
|
|
|
|
Released: version 1.0.
|
2009-11-19 00:34:07 +00:00
|
|
|
|
2012-01-05 22:45:03 +00:00
|
|
|
20 Calling load_png with NULL for palette argument was not converting
|
|
|
|
paletted images to high/truecolour properly. Fixed. Thanks to
|
|
|
|
Lothar May for pointing it out.
|
|
|
|
Released: version 1.1.
|
2009-11-19 00:34:07 +00:00
|
|
|
|
|
|
|
------- October 2003 -------
|
|
|
|
|
2012-01-05 22:45:03 +00:00
|
|
|
13 Changed the method of scaling of palette values from 6 bits
|
|
|
|
to 8 bits. Instead of just multiplying by 4, now we use
|
|
|
|
_rgb_scale_6[] so that e.g. 0 -> 0, but 63 -> 255.
|
|
|
|
Thanks Nicolas Lemal for the idea.
|
|
|
|
Released: version 1.2.
|
2009-11-19 00:34:07 +00:00
|
|
|
|
2012-01-05 22:45:03 +00:00
|
|
|
16 MSVC doesn't like pointer arithmetic on void*'s, pointed out by
|
|
|
|
Chris Condrat.
|
|
|
|
Re-released: version 1.2 (I forgot to update version constants anyway).
|
2009-11-19 00:34:07 +00:00
|
|
|
|
|
|
|
------- April 2004 -------
|
|
|
|
|
2012-01-05 22:45:03 +00:00
|
|
|
26 Jon Rafkind suggested to use _getpixel*/_putpixel* in loader to
|
|
|
|
speed up loading of large images.
|
|
|
|
Split up the code into three files. This prevents the linker pulling
|
|
|
|
in unused code, e.g. many people don't need save_png.
|
2009-11-19 00:34:07 +00:00
|
|
|
|
2012-01-05 22:45:03 +00:00
|
|
|
28 It turns out that loadpng's origin (example.c from libpng docs) was in
|
|
|
|
the public domain, so now loadpng is in the public domain as well.
|
|
|
|
Released: version 1.3.
|
2009-11-19 00:34:07 +00:00
|
|
|
|
|
|
|
------- October 2004 -------
|
|
|
|
|
2012-01-05 22:45:03 +00:00
|
|
|
09 Made save_png handle non-memory bitmaps as well.
|
2009-11-19 00:34:07 +00:00
|
|
|
|
2012-01-05 22:45:03 +00:00
|
|
|
10 Fixed some bugs with load_png(). Now everything in PngSuite loads
|
|
|
|
properly, and with correct gamma correction, except for:
|
|
|
|
- bKGD chunks (solid background colours) are not respected.
|
2009-11-19 00:34:07 +00:00
|
|
|
I chose this in the past, but I wonder if I should change it?
|
2012-01-05 22:45:03 +00:00
|
|
|
- pHYs chunks (physical dimensions) are not respected.
|
|
|
|
(BTW, this was all tested with Valgrind - no errors)
|
2009-11-19 00:34:07 +00:00
|
|
|
|
2012-01-05 22:45:03 +00:00
|
|
|
_png_screen_gamma can now be 0.0 to disable gamma correction, i.e. if
|
|
|
|
you don't know the screen gamma, it might be best not to guess.
|
2009-11-19 00:34:07 +00:00
|
|
|
|
2012-01-05 22:45:03 +00:00
|
|
|
Got rid of inefficient BGR-handling hack and did things properly.
|
2009-11-19 00:34:07 +00:00
|
|
|
|
2012-01-05 22:45:03 +00:00
|
|
|
New example: browse.c (for mass testing, e.g. PngSuite)
|
2009-11-19 00:34:07 +00:00
|
|
|
|
2012-01-05 22:45:03 +00:00
|
|
|
Released: version 1.4pre1.
|
2009-11-19 00:34:07 +00:00
|
|
|
|
|
|
|
------- August 2005 -------
|
|
|
|
|
2012-01-05 22:45:03 +00:00
|
|
|
18 Emmanuel Anne made _png_compression_level actually work.
|
2009-11-19 00:34:07 +00:00
|
|
|
|
2012-01-05 22:45:03 +00:00
|
|
|
Released: version 1.4.
|
2009-11-19 00:34:07 +00:00
|
|
|
|
|
|
|
------- April 2006 -------
|
|
|
|
|
2012-01-05 22:45:03 +00:00
|
|
|
9 Fix an endianness on big-endian machines, from Siarhei Siamashka.
|
|
|
|
I haven't tested it.
|
2009-11-19 00:34:07 +00:00
|
|
|
|
2012-01-05 22:45:03 +00:00
|
|
|
Released: version 1.5.
|
2012-01-08 00:11:19 +00:00
|
|
|
|
2012-03-24 14:55:26 +00:00
|
|
|
From December 2007, loadpng lives in the Allegro repository.
|
|
|
|
This file is no longer updated.
|