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
error/psd.c/ReadPSDChannelRLE/1168
Re: error/psd.c/ReadPSDChannelRLE/1168
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
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
-
- Posts: 12159
- Joined: 2010-01-23T23:01:33-07:00
- Authentication code: 1151
- Location: England, UK
Re: error/psd.c/ReadPSDChannelRLE/1168
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.
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.
snibgo's IM pages: im.snibgo.com
Re: error/psd.c/ReadPSDChannelRLE/1168
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
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
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.
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
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
Hi Magick,
The psb image is 65GB. I have put it on our FTP site.
I sent you a private mail
Thanks
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
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
Thanks
Much appreciated
Much appreciated