** Windows 10 Examples **

Robby Bankston <[email protected]> Tue, 23 Mar 2021 09:56:56 -0500
Newsgroups gmane.comp.video.graphicsmagick.help
Message-ID <CANSJg02pNxuxfz9uWA7fa7Rbq18QQfTTbFh5QAoLB9HpWVgy_w@mail.gmail.com>
--===============3049714644807344969==
Content-Type: multipart/alternative; boundary="000000000000627bbf05be3565d0"

--000000000000627bbf05be3565d0
Content-Type: text/plain; charset="UTF-8"

Graphics Magick Version:   GraphicsMagick-1.3.36-Q8
OS Name:                   Microsoft Windows 10 Pro
OS Version:                10.0.19042 N/A Build 19042
System Type:               x64-based PC

Good morning.

I was looking for some assistance with dynamic output filenames based on
image properties under Windows 10 but haven't been having any luck.
Ultimately I would like to use this for some batch or Powershell scripting
where the input name isn't known and is passed in.  The few examples I've
found have been bash style syntax which haven't worked and ImageMagick
syntax didn't work either.  I've dug through several tutorials, the docs,
etc.
but I'm either overlooking something or overcomplicating it unnecessarily.
I don't want to have to use 'identify' as a separate operation if possible
as that seems inefficient and my operations are limited to convert and not
mogrify.

FAILED ATTEMPTS:
gm.exe convert sample.png %t_%wx%h.jpg
gm.exe convert sample.png '%t_%wx%h.jpg'
gm.exe convert sample.png "%t_%wx%h.jpg"

I know the vast majority of users will probably be in a *nix environment so
Windows users are the minority here but I would really appreciate some
Windows examples added to the documentation to illustrate this.

Any tips on how to handle this would be much appreciated.
Thank you.

RB

--000000000000627bbf05be3565d0
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Graphics Magick Version: =C2=A0 GraphicsMagick-1.3.36-Q8<b=
r>OS Name: =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 M=
icrosoft Windows 10 Pro<br>OS Version: =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A010.0.19042 N/A Build 19042<br>System Type: =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 x64-based PC<br><br>Good morning.<br=
><br>I was looking for some assistance with dynamic output filenames based =
on image properties under Windows 10 but haven&#39;t been having any luck.<=
br>Ultimately I would like to use this for some batch or Powershell scripti=
ng where the input name isn&#39;t known and is passed in.=C2=A0 The few exa=
mples I&#39;ve<br>found have been bash style syntax which haven&#39;t worke=
d and ImageMagick syntax didn&#39;t work either.=C2=A0 I&#39;ve dug through=
 several tutorials, the docs, etc.<br>but I&#39;m either overlooking someth=
ing or overcomplicating it unnecessarily.=C2=A0 I don&#39;t want to have to=
 use &#39;identify&#39; as a separate operation if possible as that seems i=
nefficient and my operations are limited to convert and not mogrify.<br><br=
>FAILED ATTEMPTS:<br>gm.exe convert sample.png %t_%wx%h.jpg<br>gm.exe conve=
rt sample.png &#39;%t_%wx%h.jpg&#39;<br>gm.exe convert sample.png &quot;%t_=
%wx%h.jpg&quot;<br><br>I know the vast majority of users will probably be i=
n a *nix environment so Windows users are the minority here but I would rea=
lly appreciate some<br>Windows examples added to the documentation to illus=
trate this.<br><br>Any tips on how to handle this would be much appreciated=
.<br>Thank you.<br><br>RB<br><br></div>

--000000000000627bbf05be3565d0--


--===============3049714644807344969==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline


--===============3049714644807344969==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Graphicsmagick-help mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/graphicsmagick-help

--===============3049714644807344969==--