Earlier quoted context omitted.
While we are at magic: What is the problem of "using imagemagick in 2023"?
Most folks don't realize it runs arbitrary user-submitted code by default, well-crafted or malicious, and does a variety of things that should be checked. Crucial: https://www.imagemagick.org/script/security-policy.php
I was among that folks, thank you!