blob: 2862fd7be2886001971f7f3ed783d84d55fd7928 [file] [log] [blame]
Glenn Randers-Pehrson896239b1998-04-21 15:03:57 -05001
Glenn Randers-Pehrson345bc271998-06-14 14:43:31 -05002Libpng 1.0.2 - June 14, 1998
Glenn Randers-Pehrson896239b1998-04-21 15:03:57 -05003
Glenn Randers-Pehrson345bc271998-06-14 14:43:31 -05004This is a public release of libpng, intended for use in production codes.
Glenn Randers-Pehrson896239b1998-04-21 15:03:57 -05005
Glenn Randers-Pehrson345bc271998-06-14 14:43:31 -05006Changes since the previous public release (1.0.1):
Glenn Randers-Pehrson896239b1998-04-21 15:03:57 -05007
Glenn Randers-Pehrson1d963611998-05-02 12:52:25 -05008 Optimized Paeth calculations by replacing abs() function calls with intrinsics
Glenn Randers-Pehrsond0dce401998-05-09 10:02:29 -05009 plus other loop optimizations. Improves avg decoding speed by about 20%.
Glenn Randers-Pehrson1d963611998-05-02 12:52:25 -050010 Commented out i386istic "align" compiler flags in makefile.lnx.
11 Reduced the default warning level in some makefiles, to make them consistent.
12 Removed references to IJG and JPEG in the ansi2knr.c copyright statement.
13 Fixed a bug in png_do_strip_filler with XXRRGGBB => RRGGBB transformation.
14 Added grayscale and 16-bit capability to png_do_read_filler().
15 Fixed a bug in pngset.c, introduced in version 0.99c, that sets rowbytes
16 too large when writing an image with bit_depth < 8 (Bob Dellaca).
17 Corrected some bugs in the experimental weighted filtering heuristics.
18 Moved a misplaced pngrutil code block that truncates tRNS if it has more
19 than num_palette entries -- test was done before num_palette was defined.
20 Fixed a png_convert_to_rfc1123() bug that converts day 31 to 0 (Steve Eddins).
Glenn Randers-Pehrsond0dce401998-05-09 10:02:29 -050021 Changed compiler flags in makefile.wat for better optimization (Pawel Mrochen).
Glenn Randers-Pehrson1d963611998-05-02 12:52:25 -050022 Relocated png_do_gray_to_rgb() within png_do_read_transformations() (Greg).
23 Relocated the png_composite macros from pngrtran.c to png.h (Greg).
24 Added makefile.sco (contributed by Mike Hopkirk).
Glenn Randers-Pehrson1d963611998-05-02 12:52:25 -050025 Fixed a bug in pngrtran.c that would set channels=5 under some circumstances.
Glenn Randers-Pehrson1d963611998-05-02 12:52:25 -050026 Added warnings when people try to use transforms they've defined out.
Glenn Randers-Pehrsond0dce401998-05-09 10:02:29 -050027 Collapsed 4 "i" and "c" loops into single "i" loops in pngrtran and pngwtran.
28 Revised paragraph about png_set_expand() in libpng.txt and libpng.3 (Greg)
Glenn Randers-Pehrsond0dce401998-05-09 10:02:29 -050029 Added max_pixel_depth=32 in pngrutil.c when using FILLER with palette images.
Glenn Randers-Pehrsonf7d1a171998-06-06 15:31:35 -050030 Moved PNG_WRITE_WEIGHTED_FILTER_SUPPORTED and PNG_WRITE_FLUSH_SUPPORTED
Glenn Randers-Pehrsond0dce401998-05-09 10:02:29 -050031 out of the PNG_WRITE_TRANSFORMS_NOT_SUPPORTED block of pngconf.h
32 Added "PNG_NO_WRITE_TRANSFORMS" etc., as alternatives for *_NOT_SUPPORTED,
33 for consistency, in pngconf.h
34 Added individual "ifndef PNG_NO_CAPABILITY" for the capabilities in pngconf.h
35 to make it easier to remove unwanted capabilities via the compile line
Glenn Randers-Pehrson8686fff1998-05-21 09:27:50 -050036 Made some corrections to grammar (which, it's) in documentation (Greg).
37 Corrected example.c, use of row_pointers in png_write_image().
Glenn Randers-Pehrson8686fff1998-05-21 09:27:50 -050038 Revised png_read_rows() to avoid repeated if-testing for NULL (A Kleinert)
39 More corrections to example.c, use of row_pointers in png_write_image()
40 and png_read_rows().
41 Added pngdll.mak and pngdef.pas to scripts directory, contributed by
42 Bob Dellaca, to make a png32bd.dll with Borland C++ 4.5
43 Fixed error in example.c with png_set_text: num_text is 3, not 2 (Guido V.)
44 Changed several loops from count-down to count-up, for consistency.
Glenn Randers-Pehrsonf7d1a171998-06-06 15:31:35 -050045 Revised libpng.txt and libpng.3 description of png_set_read|write_fn(), and
46 added warnings when people try to set png_read_fn and png_write_fn in
47 the same structure.
48 Added a test such that png_do_gamma will be done when num_trans==0
49 for truecolor images that have defined a background. This corrects an
50 error that was introduced in libpng-0.90 that can cause gamma processing
51 to be skipped.
52 Added tests in png.h to include "trans" and "trans_values" in structures
53 when PNG_READ_BACKGROUND_SUPPORTED or PNG_READ_EXPAND_SUPPORTED is defined.
54 Add png_free(png_ptr->time_buffer) in png_destroy_read_struct()
55 Moved png_convert_to_rfc_1123() from pngwrite.c to png.c
56 Added capability for user-provided malloc_fn() and free_fn() functions,
57 and revised pngtest.c to demonstrate their use, replacing the
58 PNGTEST_DEBUG_MEM feature.
Glenn Randers-Pehrson345bc271998-06-14 14:43:31 -050059 Added makefile.w32, for Microsoft C++ 4.0 and later (Tim Wegner).
60 Fixed two bugs in makefile.bor
Glenn Randers-Pehrson896239b1998-04-21 15:03:57 -050061
62Send comments/corrections/commendations to
63png-implement@dworkin.wustl.edu or to randeg@alumni.rpi.edu
64
Glenn Randers-Pehrson345bc271998-06-14 14:43:31 -050065Glenn Randers-Pehrson
66libpng maintainer
67PNG Development Group