You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

97 lines
4.8KB

  1. Libpng 1.5.1 - February 3, 2011
  2. This is a public release of libpng, intended for use in production codes.
  3. Files available for download:
  4. Source files with LF line endings (for Unix/Linux) and with a
  5. "configure" script
  6. libpng-1.5.1.tar.xz (LZMA-compressed, recommended)
  7. libpng-1.5.1.tar.gz
  8. libpng-1.5.1.tar.bz2
  9. Source files with CRLF line endings (for Windows), without the
  10. "configure" script
  11. lpng151.7z (LZMA-compressed, recommended)
  12. lpng151.zip
  13. Other information:
  14. libpng-1.5.1-README.txt
  15. libpng-1.5.1-LICENSE.txt
  16. Changes since the last public release (1.5.0):
  17. Added description of png_set_crc_action() to the manual.
  18. Added a note in the manual that the type of the iCCP profile was changed
  19. from png_charpp to png_bytepp in png_get_iCCP(). Similarly,
  20. it was changed from png_charpp to png_const_bytepp in png_set_iCCP().
  21. Ensure that png_rgb_to_gray ignores palette mapped images, if libpng
  22. internally happens to call it with one.
  23. Fixed the failure to handle palette mapped images correctly.
  24. Fixed a bug in handling of interlaced images (bero at arklinux.org).
  25. Updated CMakeLists.txt (Clifford Yapp)
  26. Fixed typecasting of some png_debug() statements (Cosmin)
  27. Updated documentation of png_set|get_tRNS() (Thomas Klausner).
  28. Mentioned in the documentation that applications must #include "zlib.h"
  29. if they need access to anything in zlib.h, and that a number of
  30. macros such as png_memset() are no longer accessible by applications.
  31. Corrected pngvalid gamma test "sample" function to access all of the color
  32. samples of each pixel, instead of sampling the red channel three times.
  33. Changed variable names index, div, exp, and gamma to char_index, divisor,
  34. exp_b10, and gamma_val, respectively, to avoid "shadow" warnings.
  35. Prevent png_push_crc_skip() from hanging while reading an unknown chunk
  36. or an over-large compressed zTXt chunk with the progressive reader.
  37. Eliminated more GCC "shadow" warnings.
  38. Revised png_fixed() in png.c to avoid compiler warning about reaching the
  39. end without returning anything.
  40. In the manual, describe the png_get_IHDR() arguments in the correct order.
  41. Added const_png_structp and const_png_infop types, and used them in
  42. prototypes for most png_get_*() functions.
  43. Added png_get_io_chunk_type() and deprecated png_get_io_chunk_name()
  44. Added synopses for the IO_STATE functions and other missing synopses
  45. to the manual. Removed the synopses from libpngpf.3 because they
  46. were out of date and no longer useful. Better information can be
  47. obtained by reading the prototypes and comments in pngpriv.h
  48. Attempted to fix cpp on Solaris with S. Studio 12 cc, fix build
  49. Added a make macro DFNCPP that is a CPP that will accept the tokens in
  50. a .dfn file and adds configure stuff to test for such a CPP. ./configure
  51. should fail if one is not available.
  52. Corrected const_png_ in png.h to png_const_ to avoid polluting the namespace.
  53. Added png_get_current_row_number and png_get_current_pass_number for the
  54. benefit of the user transform callback.
  55. Added png_process_data_pause and png_process_data_skip for the benefit of
  56. progressive readers that need to stop data processing or want to optimize
  57. skipping of unread data (e.g. if the reader marks a chunk to be skipped.)
  58. Enhanced pngvalid, corrected an error in gray_to_rgb, corrected doc error.
  59. pngvalid contains tests of transforms, which tests are currently disabled
  60. because they are incompletely tested. gray_to_rgb was failing to expand
  61. the bit depth for smaller bit depth images; this seems to be a long
  62. standing error and resulted, apparently, in invalid output. The
  63. documentation did not accurately describe what libpng really does when
  64. converting RGB to gray.
  65. Fixed incorrect examples of callback prototypes in the manual, that were
  66. introduced in libpng-1.0.0.
  67. In addition the order of the png_get_uint macros with respect to the
  68. relevant function definitions has been reversed. This helps the
  69. preprocessing of the symbol files be more robust. Furthermore, the
  70. symbol file preprocessing now uses -DPNG_NO_USE_READ_MACROS even when
  71. the library may actually be built with PNG_USE_READ_MACROS; this stops
  72. the read macros interfering with the symbol file format.
  73. Made the manual, synopses, and function prototypes use the function
  74. argument names file_gamma, int_file_gamma, and srgb_intent consistently.
  75. Changed PNG_UNUSED from "param=param;" to "(void)param;".
  76. Added transform tests to pngvalid and simplified the arguments.
  77. Added a request in the manual that applications do not use "png_" or
  78. "PNG_" to begin any of their own symbols.
  79. Send comments/corrections/commendations to png-mng-implement at lists.sf.net
  80. (subscription required; visit
  81. https://lists.sourceforge.net/lists/listinfo/png-mng-implement
  82. to subscribe) or to glennrp at users.sourceforge.net
  83. Glenn R-P