Dear Community,
I'm new to IM so sorry if my question is basic.
I have to identify the size in pixels of multiple images located in a single folder.
I'm trying to use mogrify with identify and format.
Nevertheless, the format string I applied to the command doesn't change anything on the ouptut.
It's still providing the full format details.
Any idea ?
Thanks in advance
unable to define a format when using Identify with mogrify
-
- Posts: 1
- Joined: 2017-11-20T09:26:12-07:00
- Authentication code: 1152
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: unable to define a format when using Identify with mogrify
I do not think you can use mogrify to do identify. You would need to use identify (or magick identify in IM 7)
You could change directories to the directory holding your images and do
or if all you want is the width, then
Please always specify your IM version and platform when asking questions and your exact command line.
See the top-most post in this forum "IMPORTANT: Please Read This FIRST Before Posting" at viewtopic.php?f=1&t=9620
For novices, see
viewtopic.php?f=1&t=9620
http://www.imagemagick.org/script/comma ... essing.php
http://www.imagemagick.org/Usage/reference.html
http://www.imagemagick.org/Usage/
You could change directories to the directory holding your images and do
Code: Select all
identify *
Code: Select all
identify -format "%f %w\n" *
Please always specify your IM version and platform when asking questions and your exact command line.
See the top-most post in this forum "IMPORTANT: Please Read This FIRST Before Posting" at viewtopic.php?f=1&t=9620
For novices, see
viewtopic.php?f=1&t=9620
http://www.imagemagick.org/script/comma ... essing.php
http://www.imagemagick.org/Usage/reference.html
http://www.imagemagick.org/Usage/