Page 1 of 1
error/psd.c/ReadPSDChannelRLE/1168
Posted: 2018-07-25T17:09:15-07:00
by TerraView
Hi,
I got this error:-
convert: InvalidLength `water6.psb' @ error/psd.c/ReadPSDChannelRLE/1168.
convert: insufficient image data in file `water6.psb' @ error/psd.c/ReadPSDImage/2362.
convert: no images defined `PNG:water6.png' @ error/convert.c/ConvertImageCommand/3275.
When converting a PSB image to PNG
Works for images 3 x 8bit, 24bitRGB, 115200x182400px - png file is 61.592GB
but not 3 x 8bit, 24bitRGB, 176000x1248000px - png file is 62.800GB
Run file which worked on smaller files:-
magick convert %%~nA.psb -define registry:temporary-path=E:\ -limit memory 96GB -define PNG:compression-level=0 PNG:%%~nA.png
Ver. ImageMagick-7.0.8-7-Q8-x64-static.exe Windows
Conversion failed
Re: error/psd.c/ReadPSDChannelRLE/1168
Posted: 2018-07-25T18:20:49-07:00
by TerraView
Correction
Png file size should be psb.
Working psb file is 61.592GB 3 x 8bit, 24bitRGB, 115200x182400px
Not workin psb file is 62.800GB 3 x 8bit, 24bitRGB, 176000x1248000px
Re: error/psd.c/ReadPSDChannelRLE/1168
Posted: 2018-07-25T19:04:40-07:00
by snibgo
At 3 bytes per pixel, your small image needs 63 GB, which fits within your 96GB limit.
Your large image needs 659 GB. IM can generally handle this provided you have enough free disk space, but maybe the PSB reader can't.
Re: error/psd.c/ReadPSDChannelRLE/1168
Posted: 2018-07-26T14:47:14-07:00
by TerraView
Thanks for your reply
Unfortunately I put too many zeros on the pixels. Should read
Not workin psb file is 62.800GB 3 x 8bit, 24bitRGB, 176000x124800px or 65.9 GB
Re: error/psd.c/ReadPSDChannelRLE/1168
Posted: 2018-07-29T13:17:08-07:00
by TerraView
Any ideas why this is not working?
I got this error:-
convert: InvalidLength `water6.psb' @ error/psd.c/ReadPSDChannelRLE/1168.
convert: insufficient image data in file `water6.psb' @ error/psd.c/ReadPSDImage/2362.
convert: no images defined `PNG:water6.png' @ error/convert.c/ConvertImageCommand/3275.
Re: error/psd.c/ReadPSDChannelRLE/1168
Posted: 2018-07-29T15:45:51-07:00
by magick
To determine the source of problem and propose a fix, we must first reproduce the problem. Post a URL to your image so we can download it. We'll report back why the exception is thrown and whether we can add a patch to fix the problem.
Re: error/psd.c/ReadPSDChannelRLE/1168
Posted: 2018-07-31T13:44:56-07:00
by TerraView
Hi Magick,
The psb image is 65GB. I have put it on our FTP site.
I sent you a private mail
Thanks
Re: error/psd.c/ReadPSDChannelRLE/1168
Posted: 2018-08-02T10:19:05-07:00
by magick
Thanks for the problem report. We can reproduce it and will have a patch to fix it in GIT master branch @
https://github.com/ImageMagick/ImageMagick later today. The patch will be available in the beta releases of ImageMagick @
https://www.imagemagick.org/download/beta/ by sometime tomorrow.
Re: error/psd.c/ReadPSDChannelRLE/1168
Posted: 2018-08-06T19:07:34-07:00
by TerraView
Thanks
Much appreciated