1998-04-21 16:03:57 -04:00
|
|
|
|
2000-05-17 18:39:34 -04:00
|
|
|
Libpng 1.0.7beta14 - May 17, 2000
|
1998-04-21 16:03:57 -04:00
|
|
|
|
2000-05-06 15:09:57 -04:00
|
|
|
This is a public release of libpng, intended for use in production codes.
|
1998-04-21 16:03:57 -04:00
|
|
|
|
2000-04-01 22:10:05 -05:00
|
|
|
Changes since the last public release (1.0.6):
|
1999-09-17 13:27:26 -04:00
|
|
|
|
2000-04-01 22:10:05 -05:00
|
|
|
Changed sprintf() to strcpy() in png_write_sCAL_s() to work without STDIO
|
|
|
|
Added data_length parameter to png_decompress_chunk() function
|
|
|
|
Revised documentation to remove reference to abandoned png_free_chnk functions
|
|
|
|
Fixed an error in png_rgb_to_gray_fixed()
|
|
|
|
Revised example.c, usage of png_destroy_write_struct().
|
|
|
|
Renamed makefile.ibmvac3 to makefile.ibmc, added libpng.icc IBM project file
|
|
|
|
Added a check for info_ptr->free_me&PNG_FREE_TEXT when free'ing text in png.c
|
|
|
|
Simplify png_sig_bytes() function to remove use of non-ISO-C strdup().
|
2000-04-09 20:06:13 -04:00
|
|
|
Added png_data_freer() function.
|
|
|
|
In the code that checks for over-length tRNS chunks, added check of
|
|
|
|
info_ptr->num_trans as well as png_ptr->num_trans (Matthias Benckmann)
|
|
|
|
Check for existing data and free it if the free_me flag is set, in png_set_*()
|
|
|
|
and png_handle_*().
|
|
|
|
Only define PNG_WEIGHTED_FILTERS_SUPPORTED when PNG_FLOATING_POINT_SUPPORTED
|
|
|
|
is defined.
|
|
|
|
Changed several instances of PNG_NO_CONSOLE_ID to PNG_NO_STDIO in pngrutil.c
|
|
|
|
and mentioned the purposes of the two macros in libpng.txt/libpng.3.
|
2000-04-24 00:14:02 -04:00
|
|
|
Revised png_set_iCCP() and png_set_rows() to avoid prematurely freeing data.
|
|
|
|
Add checks in png_set_text() for NULL members of the input text structure.
|
|
|
|
Removed superfluous prototype for png_set_itxt from png.h
|
|
|
|
Removed "else" from pngread.c, after png_error(), and changed "0" to "length".
|
|
|
|
Changed several png_errors about malformed ancillary chunks to png_warnings.
|
|
|
|
Added png_pass-* arrays to pnggccrd.c when PNG_USE_LOCAL_ARRAYS is defined.
|
|
|
|
Relocated paragraph about png_set_background() in libpng.3/libpng.txt
|
|
|
|
and other revisions (Matthias Benckmann)
|
2000-05-06 15:09:57 -04:00
|
|
|
Relocated info_ptr->free_me to restore binary compatibility with libpng-1.0.5
|
|
|
|
(breaks compatibility with libpng-1.0.6).
|
2000-04-24 00:14:02 -04:00
|
|
|
Relocated info_ptr->free_me, png_ptr->free_me, and other info_ptr and
|
|
|
|
png_ptr members to restore binary compatibility with libpng-1.0.5
|
|
|
|
(breaks compatibility with libpng-1.0.6).
|
2000-05-06 15:09:57 -04:00
|
|
|
Rearranged some members at the end of png_info and png_struct, to put
|
|
|
|
unknown_chunks_num and free_me within the original size of the png_structs
|
|
|
|
and free_me, png_read_user_fn, and png_free_fn within the original png_info,
|
|
|
|
because some old applications allocate the structs directly instead of
|
|
|
|
using png_create_*().
|
2000-05-01 10:31:54 -04:00
|
|
|
Added documentation of user memory functions in libpng.txt/libpng.3
|
|
|
|
Modified png_read_png so that it will use user_allocated row_pointers
|
|
|
|
if present, unless free_me directs that it be freed, and added description
|
|
|
|
of the use of png_set_rows() and png_get_rows() in libpng.txt/libpng.3.
|
|
|
|
Added PNG_LEGACY_SUPPORTED macro, and #ifdef out all new (since version
|
|
|
|
1.00) members of png_struct and png_info, to regain binary compatibility
|
|
|
|
when you define this macro. Capabilities lost in this event
|
|
|
|
are user transforms (new in version 1.0.0),the user transform pointer
|
|
|
|
(new in version 1.0.2), rgb_to_gray (new in 1.0.5), iCCP, sCAL, sPLT,
|
|
|
|
the high-level interface, and unknown chunks support (all new in 1.0.6).
|
|
|
|
This was necessary because of old applications that allocate the structs
|
2000-05-06 15:09:57 -04:00
|
|
|
directly as authors were instructed to do in libpng-0.88 and earlier,
|
|
|
|
instead of using png_create_*().
|
2000-05-01 10:31:54 -04:00
|
|
|
Added makefile.intel and updated makefile.watcom (Pawel Mrochen)
|
2000-05-03 22:06:11 -04:00
|
|
|
Overloaded png_read_init() and png_write_init() with macros that convert
|
|
|
|
calls to png_read_init_2() or png_write_init_2() that check the version
|
|
|
|
and structure sizes.
|
2000-05-12 07:19:53 -04:00
|
|
|
Made PNG_NO_ITXT_SUPPORTED the default setting, to avoid memory overrun
|
|
|
|
when old applications fill the info_ptr->text structure directly.
|
2000-05-06 15:09:57 -04:00
|
|
|
Added PNGAPI macro, and added it to the definitions of all exported functions.
|
2000-05-12 07:19:53 -04:00
|
|
|
Made PNG_NO_CONSOLE_IO the default condition when PNG_BUILD_DLL is defined.
|
|
|
|
Use MSC _RPTn debugging instead of fprintf if _MSC_VER is defined.
|
|
|
|
Added png_access_version_number() function.
|
|
|
|
Check for mask&PNG_FREE_CHNK (for TEXT, SCAL, PCAL) in png_free_data().
|
|
|
|
Expanded libpng.3/libpng.txt information about png_data_freer().
|
2000-05-16 07:17:36 -04:00
|
|
|
Changed pnggccrd.c and pngvcrd.c to handle bad adaptive filter types as
|
|
|
|
warnings instead of errors, as pngrutil.c does.
|
|
|
|
Set the PNG_INFO_IDAT valid flag in png_set_rows() so png_write_png()
|
|
|
|
will actually write IDATs.
|
|
|
|
Made the default PNG_USE_LOCAL_ARRAYS depend on PNG_DLL instead of WIN32.
|
|
|
|
Make png_free_data() ignore its final parameter when freeing data that can
|
|
|
|
have multiple instances (text, sPLT, unknowns).
|
2000-05-17 18:39:34 -04:00
|
|
|
Removed info_ptr->valid tests from png_free_data(), as in version 1.0.5.
|
|
|
|
Added png_set_invalid() function.
|
|
|
|
Fixed incorrect illustrations of png_destroy_write_struct() in example.c.
|
1998-04-21 16:03:57 -04:00
|
|
|
|
|
|
|
Send comments/corrections/commendations to
|
1999-09-17 13:27:26 -04:00
|
|
|
png-implement@ccrc.wustl.edu or to randeg@alum.rpi.edu
|
1998-04-21 16:03:57 -04:00
|
|
|
|
1998-12-29 12:47:59 -05:00
|
|
|
Glenn R-P
|