• ROOL's avatar
    Fix missing column bug · 8c174228
    ROOL authored
    Detail:
      In 1/2/4bpp modes the loop could potentially read off the end of the input buffer
      (causing an abort if the next page isn't mapped in), or cause the rightmost column to be
      lost.
      Refactor the loop to count in destination bits to avoid both problems.
    Admin:
      Submission for PNG bounty.
    
    Version 0.07. Tagged as 'CompressPNG-0_07'
    8c174228
VersionNum 677 Bytes