1. 24 7月, 2017 3 次提交
  2. 23 7月, 2017 35 次提交
  3. 22 7月, 2017 2 次提交
    • F
      stb_image: Documentation fixes. · cc7f1d1e
      Fabian Giesen 提交于
      req_comp is now desired_channels and *comp is *channels_in_file.
      
      Fixes issue #466.
      cc7f1d1e
    • F
      stb_image: Relax raw_len validation for non-interlaced PNGs. · 06746604
      Fabian Giesen 提交于
      We used to require exact match between img_len and raw_len for
      non-interlaced PNGs, but the PNG in issue #276 has extra bytes
      (all zeros) at the end of the compressed DEFLATE stream.
      
      The PNG spec doesn't have anything to say about it (that I
      can tell), and if libpng accepts this, who are we to judge.
      
      Fixes issue #276.
      06746604