Closed avidrissman closed 4 years ago
In the flavor of RLE encoding used, literal runs can only be 128 bytes long. (See https://en.wikipedia.org/wiki/Apple_Icon_Image_format .) Therefore, cap the literal runs at 128 rather than an incorrect 256.
Thanks for catching this!
In the flavor of RLE encoding used, literal runs can only be 128 bytes long. (See https://en.wikipedia.org/wiki/Apple_Icon_Image_format .) Therefore, cap the literal runs at 128 rather than an incorrect 256.