CorelDraw Export (BMP to .rle)
Posted: Sat 25 Apr 2015, 10:21
CorelDRAW and Graphics Users
Bumped into a file extension issue that I'd heard about years back though I've forgotten context. BMP and RLE are associated file name extensions when exporting a graphic file from CorelDRAW's Paint program. I'm also seeing this with JPG export to .tff (I think those last two letters).
This was stunning at first but remembered the second associated extension letters for .rle and simply changed those letters to .BMP and they seem to work just fine.
Will check back as I learn more.
Gary
____________
The BMP RLE 8 Compression Algorithm
http://www.fileformat.info/format/bmp/corion-rle8.htm
Share on stumbleuponShare on redditShare on twitterShare on tumblrMore Sharing Services
Original Documentation
--- BMP RLE_8 compression
The BMP can be compressed in two modes, absolute mode and RLE mode. Both modes can occur anywhere in a single bitmap.
The RLE mode is a simple RLE mechanism, the first byte contains the
count, the second byte the pixel to be replicatet. If the count byte
is 0, the second byte is a special, like EOL or delta.
In absolute mode, the second byte contains the number of bytes to be copied litteraly. Each absolute run must be word-aligned that means you will may have to add an aditional padding byte which is not included in the count. After an absolute run, RLE compression continues.
Bumped into a file extension issue that I'd heard about years back though I've forgotten context. BMP and RLE are associated file name extensions when exporting a graphic file from CorelDRAW's Paint program. I'm also seeing this with JPG export to .tff (I think those last two letters).
This was stunning at first but remembered the second associated extension letters for .rle and simply changed those letters to .BMP and they seem to work just fine.
Will check back as I learn more.
Gary
____________
The BMP RLE 8 Compression Algorithm
http://www.fileformat.info/format/bmp/corion-rle8.htm
Share on stumbleuponShare on redditShare on twitterShare on tumblrMore Sharing Services
Original Documentation
--- BMP RLE_8 compression
The BMP can be compressed in two modes, absolute mode and RLE mode. Both modes can occur anywhere in a single bitmap.
The RLE mode is a simple RLE mechanism, the first byte contains the
count, the second byte the pixel to be replicatet. If the count byte
is 0, the second byte is a special, like EOL or delta.
In absolute mode, the second byte contains the number of bytes to be copied litteraly. Each absolute run must be word-aligned that means you will may have to add an aditional padding byte which is not included in the count. After an absolute run, RLE compression continues.