delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-4.0 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,KHOP_RCVD_TRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE |
X-Spam-Check-By: | sourceware.org |
Message-ID: | <5052096B.2090009@gmail.com> |
Date: | Thu, 13 Sep 2012 18:27:23 +0200 |
From: | marco atzeri <marco DOT atzeri AT gmail DOT com> |
User-Agent: | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:15.0) Gecko/20120907 Thunderbird/15.0.1 |
MIME-Version: | 1.0 |
To: | cygwin AT cygwin DOT com |
Subject: | Re: Problem with ImageMagick convert and paths with frame selectors |
References: | <k2sigh$bs2$1 AT ger DOT gmane DOT org> |
In-Reply-To: | <k2sigh$bs2$1@ger.gmane.org> |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
On 9/13/2012 2:10 PM, Piotr Gliźniewicz wrote: > 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. use the posix form, please. see http://cygwin.com/cygwin-ug-net/using.html#using-pathnames "Using native Win32 paths Using native Win32 paths in Cygwin, while possible, is generally inadvisable." as example with a different program: $ ls "E:/cygwin/tmp/sombrero_1_1.png" cygwin warning: MS-DOS style path detected: E:/cygwin/tmp/sombrero_1_1.png Preferred POSIX equivalent is: /tmp/sombrero_1_1.png CYGWIN environment variable option "nodosfilewarning" turns off this warning. Consult the user's guide for more details about POSIX paths: http://cygwin.com/cygwin-ug-net/using.html#using-pathnames E:/cygwin/tmp/sombrero_1_1.png $ ls "/cygdrive/e/cygwin/tmp/sombrero_1_1.png" /cygdrive/e/cygwin/tmp/sombrero_1_1.png > > Regards, > Piotr Gliźniewicz > 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |