1. 01 11月, 2012 2 次提交
  2. 26 10月, 2012 1 次提交
    • J
      [libpng16] Changed ICC profile support to allow use of an external color · f8dfd123
      John Bowler 提交于
      management system (CMS). In practice it is not possible to obtain cHRM
      information reliably using just the end-point tags because they do not exist
      in the vast majority of profiles.  Instead it is necessary to run the endpoints
      through the ICC colorimetric intent transform (as described in the v4
      spec).  Since this is likely to be too much code inside libpng for too
      little gain (it implies a fairly complete CMS implementation) the code
      has been changed to allow an external CMS to be used.  This code is
      temporarily disabled until a suitable set of test cases using one or more
      external CMS implementations have been implemented.
      f8dfd123
  3. 25 10月, 2012 2 次提交
  4. 27 9月, 2012 1 次提交
  5. 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
  6. 05 9月, 2012 5 次提交
  7. 30 8月, 2012 2 次提交
  8. 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
  9. 23 8月, 2012 1 次提交
  10. 18 8月, 2012 1 次提交
  11. 16 8月, 2012 2 次提交
  12. 12 8月, 2012 1 次提交
  13. 11 8月, 2012 3 次提交
  14. 10 8月, 2012 2 次提交
  15. 22 7月, 2012 1 次提交
  16. 11 7月, 2012 1 次提交
  17. 17 6月, 2012 2 次提交
  18. 13 6月, 2012 1 次提交
  19. 07 6月, 2012 4 次提交
  20. 24 5月, 2012 2 次提交
  21. 30 4月, 2012 1 次提交
    • J
      [libpng16] Removed need for -Wno-cast-align with clang. clang correctly warns · b4541692
      John Bowler 提交于
      on alignment increasing pointer casts when -Wcast-align is passed. This
      fixes the cases clang warns about either (pngread.c) by eliminating the
      casts from png_bytep to png_uint_16p or, for pngrutil.c where the cast
      is previously verified or pngstest.c where it is OK by introducing new
      png_aligncast macros to do the cast in a way that clang accepts.
      b4541692
  22. 28 4月, 2012 2 次提交