ImageMagick is crashing

Marco Atzeri marco.atzeri@gmail.com
Tue May 30 13:50:00 GMT 2017


On 30/05/2017 09:39, Axel Heinrici wrote:
> Hello,
>
> I have a problem using ImageMagick in Cygwin.
> Whenever I use a "-crop" in ImageMagick, it is hanging up. It is not generating an error, no output file is created.
>
> The command looks like this:
> convert z06.png -crop 500x500+200+200 test.jpg, where z06.png is a 16 bit black and white image.
> This line is working with the windows installation of image magick. The file is not corrupt. I did work with older versions of cygwins ImageMagick.
>
> Some relevant lines from the shell:
>
> $ identify z06.png
> z06.png PNG 1280x1024 1280x1024+0+0 16-bit sRGB 681KB 0.000u 0:00.004
>
> $ convert -version
> Version: ImageMagick 6.9.5-7 Q16 x86_64 2016-12-23 http://www.imagemagick.org
> Copyright: Copyright (C) 1999-2016 ImageMagick Studio LLC
> License: http://www.imagemagick.org/script/license.php
> Features: Cipher DPC OpenMP
> Delegates (built-in): autotrace bzlib cairo fftw fontconfig fpx freetype gslib jbig jng jp2 jpeg lcms lzma pangocairo png ps rsvg tiff webp x xml zlib
>
> $ uname -a
> CYGWIN_NT-6.1 HY-RD-16-002L 2.8.0(0.309/5/3) 2017-04-01 20:47 x86_64 Cygwin
>
> $ convert -debug All z06.png -crop 500x500+200+200 test.jpg 2|tail
> 2017-05-30T08:31:54+02:00 0:00.020 0.000u 6.9.5 Configure convert[9380]: utility.c/ExpandFilenames/940/Configure
>   Command line: convert {-debug} {All} {z06.png} {-crop} {500x500+200+200} {test.jpg} {2}
> [.....loads of output.....]
> 2017-05-30T08:32:06+02:00 0:00.118 0.109u 6.9.5 Resource convert[10072]: resource.c/AcquireMagickResource/313/Resource
>   Memory: 2MB/11.91MiB/15.424GiB
> 2017-05-30T08:32:06+02:00 0:00.118 0.109u 6.9.5 Cache convert[10072]: cache.c/OpenPixelCache/3870/Cache
>   open z06.png[0] (Heap Memory, 500x500 1.907MiB)
>
> There is absolutely no further output, no error after the open z06.png...
>
> Best regards,
>      Axel Heinrici
>

Hi Alex,

I have no issue on similar size image

  $ identify prova.png
prova.png PNG 1200x900 1200x900+0+0 8-bit sRGB 13.3KB 0.000u 0:00.001

$  convert -debug All prova.png -crop 500x500+200+200 prova.jpg
2017-05-30T10:06:54+02:00 0:00.003 0.000u 6.9.5 Configure 
convert[11244]: utility.c/ExpandFilenames/940/Configure
   Command line: convert {-debug} {All} {prova.png} {-crop} 
{500x500+200+200} {prova.jpg}
[very long cut.....]
   Memory: 1.5KB/1.907MiB/7.6863GiB
2017-05-30T10:06:54+02:00 0:00.124 0.125u 6.9.5 Cache convert[11244]: 
cache.c/DestroyPixelCache/1121/Cache
   destroy prova.png[0]
2017-05-30T10:06:54+02:00 0:00.124 0.125u 6.9.5 Resource convert[11244]: 
resource.c/RelinquishMagickResource/1005/Resource
   Memory: 2MB/0B/7.6863GiB

$ identify prova.jpg
prova.jpg JPEG 500x500 500x500+0+0 8-bit sRGB 15.3KB 0.000u 0:00.001


can you send me, not on the mailing list, a copy of the file z06.png ?
Please also send on the mailing list as attachment your cygcheck.out
as mentioned on https://cygwin.com/problems.html

Regards
Marco





--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list