I think that should decode to:...My feeling is I've got a flaw in my translation of the C code compressor into BASIC.Code:
DATA &05,&C3,&2A,&01,&C3,&48:REM five literals DATA &80,&FD :REM repeat 2 bytes from here-3 DATA &02,&58,&02 :REM two literal bytes DATA 0 :REM end
Code:
&C3,&2A,&01,&C3,&48, &01,&C3, &58,&02My brain can't cope with the encoder, although it should be simple; writing it was!
Yesterday I wrote a TGA encoder which should have been simple but my brain struggled!
Then trying to find a bug I discovered that Paint Shop Pro only uses a max of 127 repeated pixels even though the spec and its decoder supports 128.
My bug turned out to be fputc didn't like chars outside of the range of 0-127
Statistics: Posted by tricky — Mon Aug 18, 2025 5:02 pm