The goal is to get value (file_size_in_bytes)/(image_height*image_width) in massive (Windows !) batch. There are two problems (for me as a beginner): - I found no -format option to get "always integer" filesize in bytes (%[size] give KB or MB values) to do math externally - "obvios" calculations via ...
Thanks a lot ! So, a got the way to get image composite and channels info in-one-line is (in Windows BAT format) identify -format "%%f %%[width] %%[height] %%[size] %%[colors] %%[entropy] %%[kurtosis] %%[mean] %%[skewness] %%[standard-deviation] " %1 >> %1.iinfo convert %1 -channel red -format "red ...
What is the format option(-s) to get info from "Channel statistics:" block of -verbose option without image conversions Such as (for example) identify -format "%f %[skewness]\n" filename.jpg but for red (for example) channel - not for all image statistics Channel statistics: Pixels: 2920225 Red ...