Questions about reading RLE files

Questions and postings pertaining to the development of ImageMagick, feature enhancements, and ImageMagick internals. ImageMagick source code and algorithms are discussed here. Usage questions which are too arcane for the normal user list should also be posted here.
Post Reply
hiro-san
Posts: 3
Joined: 2019-08-20T02:34:32-07:00
Authentication code: 1152

Questions about reading RLE files

Post by hiro-san »

Hello,

I am creating compressed RLE files with Adobe Photoshop CC2019.
Some RLE files (not all) cannot be read with ImageMagick.

ex.
>magick identify nomal.RLE
normal.RLE BMP3 965x623 965x623+0+0 8-bit sRGB 256c 8314B 0.000u 0:00.002

>magick identify error.RLE
identify: insufficient image data in file `error' @ error/bmp.c/ReadBMPImage/962.

Is this caused by Adobe Photoshop RLE compression?

Version: ImageMagick 7.0.8-56 Q16 x64 2019-07-21 http://www.imagemagick.org
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: Questions about reading RLE files

Post by snibgo »

Please paste a link to a problem file.
snibgo's IM pages: im.snibgo.com
hiro-san
Posts: 3
Joined: 2019-08-20T02:34:32-07:00
Authentication code: 1152

Re: Questions about reading RLE files

Post by hiro-san »

Thanky you for quick reply.

https://onedrive.live.com/?id=044A67101 ... 101C13E127

NOMAL.RLE was generated with ImageMagick.
error.RLE was generated with Adobe Photoshop CC2019.
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: Questions about reading RLE files

Post by snibgo »

IM v7.0.7-28 can't read either of those files, normal.RLE and error.RLE. Windows Paint can read them; the images are almost totally black.


Sorry, I can't investigate further. Perhaps a developer will take a look.
snibgo's IM pages: im.snibgo.com
hiro-san
Posts: 3
Joined: 2019-08-20T02:34:32-07:00
Authentication code: 1152

Re: Questions about reading RLE files

Post by hiro-san »

Thank you, check for RLE files.

Sorry,I forgot to write first.
Both files can read with usual BMP viewer;Windows Paint, Adobe Photoshop, ACDSee,...

I use those files for mask files with image composition using ImageMagick.

An exception error occurred in ImageMagick when compositing, I checked and found that the RLE file could not be read correctly.

I hope the developers will solve this problem.
Post Reply