Glenn Randers-Pehrson | 896239b | 1998-04-21 15:03:57 -0500 | [diff] [blame] | 1 | |
Glenn Randers-Pehrson | 345bc27 | 1998-06-14 14:43:31 -0500 | [diff] [blame^] | 2 | Libpng 1.0.2 - June 14, 1998 |
Glenn Randers-Pehrson | 896239b | 1998-04-21 15:03:57 -0500 | [diff] [blame] | 3 | |
Glenn Randers-Pehrson | 345bc27 | 1998-06-14 14:43:31 -0500 | [diff] [blame^] | 4 | This is a public release of libpng, intended for use in production codes. |
Glenn Randers-Pehrson | 896239b | 1998-04-21 15:03:57 -0500 | [diff] [blame] | 5 | |
Glenn Randers-Pehrson | 345bc27 | 1998-06-14 14:43:31 -0500 | [diff] [blame^] | 6 | Changes since the previous public release (1.0.1): |
Glenn Randers-Pehrson | 896239b | 1998-04-21 15:03:57 -0500 | [diff] [blame] | 7 | |
Glenn Randers-Pehrson | 1d96361 | 1998-05-02 12:52:25 -0500 | [diff] [blame] | 8 | Optimized Paeth calculations by replacing abs() function calls with intrinsics |
Glenn Randers-Pehrson | d0dce40 | 1998-05-09 10:02:29 -0500 | [diff] [blame] | 9 | plus other loop optimizations. Improves avg decoding speed by about 20%. |
Glenn Randers-Pehrson | 1d96361 | 1998-05-02 12:52:25 -0500 | [diff] [blame] | 10 | 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-Pehrson | d0dce40 | 1998-05-09 10:02:29 -0500 | [diff] [blame] | 21 | Changed compiler flags in makefile.wat for better optimization (Pawel Mrochen). |
Glenn Randers-Pehrson | 1d96361 | 1998-05-02 12:52:25 -0500 | [diff] [blame] | 22 | 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-Pehrson | 1d96361 | 1998-05-02 12:52:25 -0500 | [diff] [blame] | 25 | Fixed a bug in pngrtran.c that would set channels=5 under some circumstances. |
Glenn Randers-Pehrson | 1d96361 | 1998-05-02 12:52:25 -0500 | [diff] [blame] | 26 | Added warnings when people try to use transforms they've defined out. |
Glenn Randers-Pehrson | d0dce40 | 1998-05-09 10:02:29 -0500 | [diff] [blame] | 27 | 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-Pehrson | d0dce40 | 1998-05-09 10:02:29 -0500 | [diff] [blame] | 29 | Added max_pixel_depth=32 in pngrutil.c when using FILLER with palette images. |
Glenn Randers-Pehrson | f7d1a17 | 1998-06-06 15:31:35 -0500 | [diff] [blame] | 30 | Moved PNG_WRITE_WEIGHTED_FILTER_SUPPORTED and PNG_WRITE_FLUSH_SUPPORTED |
Glenn Randers-Pehrson | d0dce40 | 1998-05-09 10:02:29 -0500 | [diff] [blame] | 31 | 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-Pehrson | 8686fff | 1998-05-21 09:27:50 -0500 | [diff] [blame] | 36 | 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-Pehrson | 8686fff | 1998-05-21 09:27:50 -0500 | [diff] [blame] | 38 | 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-Pehrson | f7d1a17 | 1998-06-06 15:31:35 -0500 | [diff] [blame] | 45 | 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-Pehrson | 345bc27 | 1998-06-14 14:43:31 -0500 | [diff] [blame^] | 59 | Added makefile.w32, for Microsoft C++ 4.0 and later (Tim Wegner). |
| 60 | Fixed two bugs in makefile.bor |
Glenn Randers-Pehrson | 896239b | 1998-04-21 15:03:57 -0500 | [diff] [blame] | 61 | |
| 62 | Send comments/corrections/commendations to |
| 63 | png-implement@dworkin.wustl.edu or to randeg@alumni.rpi.edu |
| 64 | |
Glenn Randers-Pehrson | 345bc27 | 1998-06-14 14:43:31 -0500 | [diff] [blame^] | 65 | Glenn Randers-Pehrson |
| 66 | libpng maintainer |
| 67 | PNG Development Group |