Adding filesize to label?
Posted: 2017-11-07T02:54:15-07:00
Hi everyone!
Is there a shortkey for filesize in imagemagic?
I currently add dimensions and filename for my label via the below code. But I'd also like to add filesize, if possible
I know it's possible with %b, but this way I get bytes. Any way to display size in MBs?
Is there a shortkey for filesize in imagemagic?
I currently add dimensions and filename for my label via the below code. But I'd also like to add filesize, if possible
Code: Select all
convert filename -set option:mylabel "%wx%h\n%f"...