Identify %A is not returning transparency

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
depthless
Posts: 3
Joined: 2017-12-01T14:42:39-07:00
Authentication code: 1152

Identify %A is not returning transparency

Post by depthless »

ImageMagick-7.0.7-Q16
Windows

Command i'm running: magick identify -format "%d,%f,%t,%x,%A,%C" C:\Art\Files\File.tif

What's strange is that for %A it returns the full path and filename without backslashes. "C:ArtFilesFile.tif"

According to this link (https://www.imagemagick.org/script/escape.php) %A should be "image transparency channel enabled (true/false)"

What am I missing here?

EDIT

THIS WAS AN ISSUE W/ MY BATCH FILE. PLEASE DELETE!
Last edited by depthless on 2018-03-14T10:21:39-07:00, edited 3 times in total.
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Identify %A is not returning transparency

Post by fmw42 »

It might help the developers to know what version of ImageMagick you are using and on what platform!

This seems to work fine for me on IM 6.9.9.38 and 7.0.7.26

Code: Select all

convert lena.png -format "%A" info:
False

Code: Select all

magick lena.png -format "%A" info:
Undefined
Post Reply