1. 22 7月, 2017 1 次提交
    • 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
  2. 13 7月, 2017 1 次提交
  3. 12 7月, 2017 4 次提交
  4. 20 3月, 2017 1 次提交
  5. 19 3月, 2017 28 次提交
  6. 15 3月, 2017 2 次提交
  7. 12 3月, 2017 1 次提交
  8. 09 3月, 2017 1 次提交
  9. 05 3月, 2017 1 次提交
    • F
      stb_image: Support optional args consistently. · 22c72a06
      Fabian Giesen 提交于
      My guideline for the rules is the PNG loader (which I consider
      "canonical"). In the _load functions, x and y are required but
      comp is optional; in the _info functions, all three are optional.
      
      Fixes issue #411 (and other related, unreported issues).
      22c72a06