Page 1 of 1
splitting 32768x32768 image to tiles causes crash
Posted: 2014-02-05T10:44:02-07:00
by fo0k
I'm trying to split a 32768x32768 16bit greyscale image into tiles using the following:
Code: Select all
convert E:\imagemagicK\edits.png -crop 16x16@ +repage E:\imagemagicK\edits_split.png
on running this I get a crash 'imageMagick Studio library and utility programs has stopped working'
If I try with a smaller image (4096x4096 for example) it works.
I understand that imagemagick can handle 'large' images but I'm not sure if there is more that I need to setup for this. any help appreciated, thanks.
Re: splitting 32768x32768 image to tiles causes crash
Posted: 2014-02-05T11:20:23-07:00
by fmw42
Re: splitting 32768x32768 image to tiles causes crash
Posted: 2014-02-05T11:36:31-07:00
by snibgo
You command worked fine for me, Windows 8.1, 12 GB RAM, > 100 GB free disk. It took 17 minutes.
You may have run out of free disk. Your image needs about 8.5 GB of memory. On my previous Win7 computer with less RAM and disk, I would attach an external disk and include "-define registry:temporary-path=H:\temp" in my convert command.
Re: splitting 32768x32768 image to tiles causes crash
Posted: 2014-02-05T12:16:22-07:00
by fo0k
Thank you.
snibgo wrote:You command worked fine for me, Windows 8.1, 12 GB RAM, > 100 GB free disk. It took 17 minutes.
You may have run out of free disk. Your image needs about 8.5 GB of memory. On my previous Win7 computer with less RAM and disk, I would attach an external disk and include "-define registry:temporary-path=H:\temp" in my convert command.
Thanks - Well is good to hear at least and your specs are the same as mine - although I have the space on secondary drives and not on C: (only 10GB left atm)
So I tried your temp path fix above but same crash (a second after running)
Code: Select all
convert E:\imagemagicK\32768_grey.png -crop 16x16@ +repage E:\imagemagicK\32768_greysplit.png
-define registry:temporary-path=E:\temp
This looks ok?
need to read up a bit on links above
Re: splitting 32768x32768 image to tiles causes crash
Posted: 2014-02-05T12:32:55-07:00
by snibgo
I suspect the "-define" needs to be at the start, not the end. While the command is running, use another window to see if files appear in E:\temp, and Task Manager can tell you about memory and disk usage.
EDIT: I forgot to mention, don't forget that crashes can leave big files in the temporary area. This might be why your next attempt immediately failed.
Re: splitting 32768x32768 image to tiles causes crash
Posted: 2014-02-05T21:43:05-07:00
by fo0k
I have solved this. Was not related to IM. Firewall had some 'memory buffer protection thing' going on which was also causing me a crash in 3dsmax at the same resolution. only installed the FW a week back. Sorry but many thanks for suggestions.
All working great.. also took 17 mins here..!
Great bit of software.