public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Marco Atzeri <marco.atzeri@gmail.com>
To: cygwin@cygwin.com
Subject: Re: ImageMagick is crashing
Date: Tue, 30 May 2017 13:50:00 -0000	[thread overview]
Message-ID: <d3e6a406-a41b-e245-56ca-67764f085dd2@gmail.com> (raw)
In-Reply-To: <trinity-18c0b47a-65d5-468a-ad1c-8749dbe5946a-1496129966255@3capp-gmx-bs74>

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

  reply	other threads:[~2017-05-30  8:21 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-30  9:36 Axel Heinrici
2017-05-30 13:50 ` Marco Atzeri [this message]
2017-05-30 14:35   ` Axel Heinrici
2017-05-31  7:10     ` Marco Atzeri
2017-05-31  9:37       ` Axel Heinrici
     [not found]   ` <trinity-69616ed4-6c82-4c2a-8605-5584593d8475-1496136827030@3capp-gmx-bs74>
     [not found]     ` <d34df919-5697-f1a4-8764-d78a91d5ce50@gmail.com>
     [not found]       ` <trinity-a9579b37-0af3-486e-bd61-84a76b6a957b-1496150771191@3capp-gmx-bs74>
2017-05-31  5:46         ` Marco Atzeri
2017-05-31  9:06           ` Axel Heinrici
2017-05-31 13:26             ` Marco Atzeri

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=d3e6a406-a41b-e245-56ca-67764f085dd2@gmail.com \
    --to=marco.atzeri@gmail.com \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).