policy.xml

IMagick is a native PHP extension to create and modify images using the ImageMagick API. ImageMagick Studio LLC did not write nor does it maintain the IMagick extension, however, IMagick users are welcome to discuss the extension here.
Post Reply
zek312
Posts: 2
Joined: 2018-02-24T12:57:18-07:00
Authentication code: 1152

policy.xml

Post by zek312 » 2018-02-24T12:59:58-07:00

In /etc/ImageMagick/policy.xml
what is MiB and MB?
There is no explanation there. I guess both are mega-bytes, but why use two symbols?
Please clarify.

snibgo
Posts: 10954
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: policy.xml

Post by snibgo » 2018-02-24T13:24:19-07:00

Ki, Mi, Gi etc are binary prefices, where 1 Ki = 1024.

K, M, G etc are decimal prefices, where 1K = 1000.

See https://en.wikipedia.org/wiki/Binary_prefix
snibgo's IM pages: im.snibgo.com

zek312
Posts: 2
Joined: 2018-02-24T12:57:18-07:00
Authentication code: 1152

Re: policy.xml

Post by zek312 » 2018-02-24T14:10:46-07:00

Thanks. Didn't know that it is a standard.

Post Reply