Difference between revisions of "Talk:Image Formats"
Jump to navigation
Jump to search
(BDY format algorithm) |
|||
Line 6: | Line 6: | ||
It appears to be "read a+1 bytes" for BDY files, which makes sense. If this were not the case, the value of '0' would mean "read 0 bytes and draw", which would be wasting a whole code. | It appears to be "read a+1 bytes" for BDY files, which makes sense. If this were not the case, the value of '0' would mean "read 0 bytes and draw", which would be wasting a whole code. | ||
+ | |||
+ | ~ [[User:Renegrade|Renegrade]] 10:23, 19 August 2010 (EDT) |
Revision as of 14:23, 19 August 2010
BDY format algorithm
The following line isn't quite right:
If "a" is 129 or greater, then draw 257-a pixels of the next byte; otherwise, read "a" bytes from the file and draw those colors sequentially.
It appears to be "read a+1 bytes" for BDY files, which makes sense. If this were not the case, the value of '0' would mean "read 0 bytes and draw", which would be wasting a whole code.
~ Renegrade 10:23, 19 August 2010 (EDT)