X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD,SPF_HELO_PASS
X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: =?UTF-8?B?UGlvdHIgR2xpxbpuaWV3aWN6?=
Subject: Problem with ImageMagick convert and paths with frame selectors
Date: Thu, 13 Sep 2012 14:10:28 +0200
Lines: 40
Message-ID:
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:15.0) Gecko/20120907 Thunderbird/15.0.1
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id:
List-Subscribe:
List-Archive:
List-Post:
List-Help: ,
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Hi,
I have problems with convert when used with paths including selectors
for frames. The ImageMagick version I'm using is 6.7.6-3 2012-04-28 Q16.
If I run these commands in bash:
convert "/cygdrive/c/test/test.gif" -thumbnail 100x100
"/cygdrive/c/test/test.jpg"
or
convert "C:/test/test.gif" -thumbnail 100x100 "/cygdrive/c/test/test.jpg"
they work OK - thumbnails are generated for every frame.
If I add a frame selector, as described here:
http://www.imagemagick.org/script/command-line-processing.php (Selecting
Frames), this version works:
convert "/cygdrive/c/test/test.gif[0]" -thumbnail 100x100
"/cygdrive/c/test/test.jpg"
but this one:
convert "C:/test/test.gif[0]" -thumbnail 100x100 "/cygdrive/c/test/test.jpg"
fails with:
convert: must specify image size `/test/test.gif' @
error/raw.c/ReadRAWImage/136.
convert: missing an image filename `/cygdrive/c/test/test.jpg' @
error/convert.c/ConvertImageCommand/3017.
Is there something I'm doing wrong or is it some problem with
ImageMagick/Cygwin failing to parse the paths at some point? I tried
escaping paths in single quotes or escaping the the brackets, but it
doesn't help.
Regards,
Piotr Gliźniewicz
--
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