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 »

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: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: policy.xml

Post by snibgo »

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 »

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