Hi!
I have to acknowledge that I have been getting great help from this forum.
And, here is my problem:
I need to output the size of an image file in the following form so that it is the DAMConverter (Oracle) read:
Filename: sample.jpg
Type: JPEG
Width: 640
Height: 480
ImageMagic provides the data only in the following formats:
$ identify sample.jpg
sample.jpg JPEG 640x480 640x480 +0 +0 DirectShow class 52kb
or
$ identify-verbose sample.jpg
Image: sample.jpg
Format: JPEG (Joint Photographic Experts Group JFIF format)
Class: direct class
Geometry: 640x480
....
Is it possible, the output from the ImageMagick on the type of ImageAlchemy for arranging?
Many thanks,
Viktor
Image-dimention with ImageMagick
- anthony
- Posts: 8883
- Joined: 2004-05-31T19:27:03-07:00
- Authentication code: 8675308
- Location: Brisbane, Australia
Re: Image-dimention with ImageMagick
Are you asking for the verbose output to be modified?Vitek wrote:Is it possible, the output from the ImageMagick on the type of ImageAlchemy for arranging?
You can specify your own output style using -format with appropriate percent escapes!
see Identify Alternatives - Text Output Options for some examples...
http://www.imagemagick.org/Usage/basics/#identify_alt
See Image Property Escapes for the various substitutions currently available
http://www.imagemagick.org/script/escape.php
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
https://imagemagick.org/Usage/
Re: Image-dimention with ImageMagick
Thank you very much, antony !