From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14706 invoked by alias); 30 May 2017 08:21:51 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 14690 invoked by uid 89); 30 May 2017 08:21:50 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.4 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RCVD_IN_SORBS_SPAM,SPF_PASS autolearn=no version=3.3.2 spammy=UD:jpg X-HELO: mail-wm0-f51.google.com Received: from mail-wm0-f51.google.com (HELO mail-wm0-f51.google.com) (74.125.82.51) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 30 May 2017 08:21:49 +0000 Received: by mail-wm0-f51.google.com with SMTP id e127so88805108wmg.1 for ; Tue, 30 May 2017 01:21:52 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=9PydKrM+iWB5Yhy2Q0ZJk7hxW9jpeuHmsaHOj01EGRw=; b=CxO8ekdOqHDU6FKOPRkh2ma5Yf7x+VLFhu7bHdkcwzUvQDeqg35uXA+XE6fT5OubXE kG+xDsiry+Bkx9Ig7iM2X6B3Q43F83Dsj08G4eDECzC+9EiA5MX6gZVS0EPzpKqshUKg uEoeCXsuN9QHJouEpdsvWkC4amFoOmWnD1kfqHLtLaYG13LukSFoh8F351qPnR3roHow C1s9YgVhTTQB8eDccwkIs8BhCGiEUrRCgbloZEE18BX7BdnivhyiUFdivK7DaEvuv3Ry nNDwpjSju4oT1VXGuZI5YntMLf2C5b58XAUMJ95Ur3d0Omq/HWUquYlsSCHNHJVx4YtV O/Iw== X-Gm-Message-State: AODbwcCpUjcJ/hTyE8g73RiB656fuw++uZ9h4Kvhud6gRQOzKhSblTEC QCx37AwFvCu8Gln9yoE= X-Received: by 10.28.45.13 with SMTP id t13mr758430wmt.98.1496132510769; Tue, 30 May 2017 01:21:50 -0700 (PDT) Received: from [172.21.192.185] ([149.6.156.42]) by smtp.googlemail.com with ESMTPSA id s95sm4497289wrc.13.2017.05.30.01.21.50 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 30 May 2017 01:21:50 -0700 (PDT) Subject: Re: ImageMagick is crashing To: cygwin@cygwin.com References: From: Marco Atzeri Message-ID: Date: Tue, 30 May 2017 13:50:00 -0000 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2017-05/txt/msg00494.txt.bz2 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