Search found 7 matches

by bugman
2013-09-30T10:56:51-07:00
Forum: Bugs
Topic: mogrify dies with no reason
Replies: 12
Views: 5149

Re: mogrify dies with no reason

>You could also try adding -define jpeg:size=1280 to your command line to reduce the resource requirements of your image.

Nopes, unfortunately that doesn't work:


[root@bugman victor]# mogrify -resize 1280 -format jpg -quality 70 out.jpeg
Killed
[root@bugman victor]# mogrify -resize 1280 -format ...
by bugman
2013-09-30T10:41:21-07:00
Forum: Bugs
Topic: mogrify dies with no reason
Replies: 12
Views: 5149

Re: mogrify dies with no reason

> you may be running out of space in /tmp. try some other directory.

I thought that too, but have checked already - the whole root filesystem is mounted from single device (I'm practicing on quite weak virtual server, but still)


[root@bugman tmp]# df -h /tmp/
Filesystem Size Used Avail Use ...
by bugman
2013-09-30T10:34:21-07:00
Forum: Bugs
Topic: mogrify dies with no reason
Replies: 12
Views: 5149

Re: mogrify dies with no reason

It's crashing with same sympthoms:


[root@bugman victor]# mogrify -resize 1280 -format jpg -quality 70 out.jpeg
Killed
[root@bugman victor]# convert out.jpeg -resize 1280 -quality 70 out.jpg
Killed


Once again, pls, don't be confused with filenames I use with this example (they just happened to ...
by bugman
2013-09-30T10:15:11-07:00
Forum: Bugs
Topic: mogrify dies with no reason
Replies: 12
Views: 5149

Re: mogrify dies with no reason

fmw42, first of all, thanks for your reply

The way I'm using mogrify is within the boundaries of use cases - http://www.imagemagick.org/script/mogrify.php
See the example in the docs, where mogrify is executed against single file

> Are you trying to read or write to /tmp/lrg_out.jpeg?
As per ...
by bugman
2013-09-30T09:00:29-07:00
Forum: Bugs
Topic: mogrify dies with no reason
Replies: 12
Views: 5149

Re: mogrify dies without

I've also figured that resizing starts crashing after breaching some threshold (around 800 pixeles in my case):


[root@bugman artviktor.ru]# mogrify -resize 1280 -format jpg -quality 70 -verbose /tmp/lrg_out.jpeg
/tmp/lrg_out.jpeg JPEG 2548x3064 2548x3064+0+0 PseudoClass 256c 1.8mb
Killed
[root ...
by bugman
2013-09-30T08:56:17-07:00
Forum: Bugs
Topic: mogrify dies with no reason
Replies: 12
Views: 5149

Re: mogrify dies without

Here's the strace output, if that would help:


[root@bugman artviktor.ru]# strace mogrify -resize 1280 -format jpg -quality 70 /tmp/lrg_out.jpeg
execve("/usr/bin/mogrify", ["mogrify", "-resize", "1280", "-format", "jpg", "-quality", "70", "/tmp/lrg_out.jpeg"], [/* 18 vars */]) = 0
brk(0 ...
by bugman
2013-09-30T08:54:16-07:00
Forum: Bugs
Topic: mogrify dies with no reason
Replies: 12
Views: 5149

mogrify dies with no reason

Hello dear community,

I've struggling against next issue: mogrify utility exits unexpectedly with echoing "Killed" and returning exit code of 137.


[root@bugman artviktor.ru]# mogrify -resize 1280 -format jpg -quality 70 /tmp/lrg_out.jpeg
Killed

[root@bugman artviktor.ru]# echo $?
137 ...