Web lists-archives.com

ImageMagick is crashing


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

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