1. 01 11月, 2012 2 次提交
  2. 28 10月, 2012 1 次提交
  3. 27 10月, 2012 1 次提交
    • J
      [libpng16] Made PNG_NO_READ_GAMMA switch off interfaces that depend on · ab1477d6
      John Bowler 提交于
      READ_GAMMA.  Prior to 1.6.0 switching off READ_GAMMA did unpredictable things
      to the interfaces that use it (specifically, png_do_background in 1.4 would
      simply display composite for grayscale images but do composition
      with the incorrect arithmetic for color ones). In 1.6 the semantic
      of -DPNG_NO_READ_GAMMA is changed to simply disable any interface that
      depends on it; this obliges people who set it to consider whether they
      really want it off if they happen to use any of the interfaces in
      question (typically most users who disable it won't).
      ab1477d6
  4. 26 10月, 2012 4 次提交
  5. 25 10月, 2012 3 次提交
  6. 11 10月, 2012 1 次提交
  7. 01 10月, 2012 1 次提交
  8. 30 9月, 2012 2 次提交
  9. 28 9月, 2012 1 次提交
  10. 27 9月, 2012 1 次提交
  11. 07 9月, 2012 2 次提交
    • J
      48cbba8e
    • J
      [libpng16] Changed ICC profile matrix/vector types to not depend on array · b2571470
      John Bowler 提交于
      type rules.  By the ANSI-C standard the new types should be identical to the
      previous versions, and all known versions of gcc tested with the previous
      versions except for GCC-4.2.1 work with this version.  The change makes the
      ANSI-C rule that const applied to an array of elements applies instead to the
      elements in the array moot by explicitly applying const to the base
      elements of the png_icc_matrix and png_icc_vector types. The accidental
      (harmless) 'const' previously applied to the parameters of two of the
      functions have also been removed.
      b2571470
  12. 05 9月, 2012 5 次提交
  13. 02 9月, 2012 2 次提交
  14. 01 9月, 2012 3 次提交
  15. 30 8月, 2012 2 次提交
  16. 26 8月, 2012 1 次提交
    • J
      [libpng16] Cleaned up and corrected ICC profile handling. · 14d0ca62
      John Bowler 提交于
          contrib/libtests/makepng: corrected 'rgb' and 'gray' cases.  profile_error
          messages could be truncated; made a correct buffer size calculation and
          adjusted pngerror.c appropriately. png_icc_check_* checking improved;
          changed the functions to receive the correct color type of the PNG on read
          or write and check that it matches the color space of the profile (despite
          what the comments said before, there is danger in assuming the app will
          cope correctly with an RGB profile on a grayscale image and, since it
          violates the PNG spec, allowing it is certain to produce inconsistent
          app behavior and might even cause app crashes.) Check that profiles
          contain the tags needed to process the PNG (tags all required by the ICC
          spec). Removed unused PNG_STATIC from pngpriv.h.
      14d0ca62
  17. 23 8月, 2012 1 次提交
  18. 18 8月, 2012 3 次提交
  19. 17 8月, 2012 2 次提交
    • J
      [libpng16] Corrected fix for unknown handling in pngtest. This reinstates the · 3c1f6983
      John Bowler 提交于
      libpng handling of unknown chunks other than vpAg and sTER (including
      unsafe-to-copy chunks which were dropped before) and eliminates the
      repositioning of vpAg and sTER in pngtest.png by changing pngtest.png
      (so the chunks are where libpng would put them).
      3c1f6983
    • J
      [libpng16] Allow fine grain control of unknown chunk APIs. This change allows · 4a6c6df6
      John Bowler 提交于
      png_set_keep_unknown_chunks() to be turned off if not required and causes
      both read and write to behave appropriately (on read this is only possible
      if the user callback is used to handle unknown chunks).  The change
      also removes the support for storing unknown chunks in the info_struct
      if the only unknown handling enabled is via the callback, allowing libpng
      to be configured with callback reading and none of the unnecessary code.
      4a6c6df6
  20. 16 8月, 2012 2 次提交