Search found 1 match

by locrianmode
2017-04-05T02:19:04-07:00
Forum: Users
Topic: Getting file size in bytes
Replies: 4
Views: 6131

Getting file size in bytes

How can I get the file size in bytes using convert or identify

E.g. running the command
identify -format "%b" some_file
or
convert some_file :json

returns "8.794MB" as the value or json filesize attribute

This would be 8794000 bytes, with the precision lost

I would like to have it returned in ...