Page 1 of 1

Broken thumbnails in

Posted: 2016-02-06T08:59:59-07:00
by jdkealy
Hi, I just asked a question on StackOverflow here http://stackoverflow.com/questions/3524 ... thumbnails. But, I was wondering if this is an issue ever seen with imagemagick 6.7.7 . Basically I have thumbs and previews generated with this gray box on the bottom of them. Any help would be GREAT! Thank you!!!

Image

Re: Broken thumbnails in

Posted: 2016-02-06T09:29:18-07:00
by snibgo
I've seen similar, though more commonly with black bottoms, in old versions of IM. The problem occurred when IM ran out of temporary storage (in /tmp or wherever), causing IM to crash, which left more junk files in tmp. So the workaround was to periodically clean tmp.

Re: Broken thumbnails in

Posted: 2016-02-06T09:31:35-07:00
by jdkealy
Thanks snibgo, wouldn't that mean that my disk is filling up?

Re: Broken thumbnails in

Posted: 2016-02-06T10:02:57-07:00
by snibgo
Not necessarily. The computer may be configured to limit space available in individual directories. So another workaround was to tell IM to use a different location for temporary storage. See MAGICK_TEMPORARY_PATH at http://www.imagemagick.org/script/resou ... nvironment

Re: Broken thumbnails in

Posted: 2016-02-06T10:18:47-07:00
by snibgo
Re-reading that link, I recall that MAGICK_SYNCHRONIZE was also useful: if there was a space problem, it would be reported instead of returning "success" with a partially-written image.