Linoxide published a tutorial about installing Imagemagick 7 on Debian.
How to Install Imagemagick 7 on Debian
Learn here how to install Imagemagick 7 on Debian 10. To install Imagemagick on Debian or Ubuntu, have to compile from source.
How to Install Imagemagick 7 on Debian