PNG support was enabled by default for other projects recently like gd (https://github.com/gentoo/gentoo/commit/2e15facc8941344ea63c3089eb3b3d63fd636041) and freetype (https://github.com/gentoo/gentoo/commit/44ff2e1d1297036dfee1a5fa4ebbf4aebf29375b), and it is a default USE flag for desktop profiles. Does it make sense to enable it by default for ImageMagick so PNG images can be edited on non-desktop systems without profile changes?
freetype was just changed because of cairo which is a common dep to avoid user interaction. I am not aware of any common rdep on imagemagick requiring png support. But I have no strong opinion here. I can do it with the next bump next week.
I don't know of any dependencies on imagemagick[png] either; I was just giving examples of basic packages pulling it into the system by default, so enabling it probably won't have any impact on system size. (Some other common packages that would install libpng via dependencies are grub, gdk-pixbuf, and doxygen[dot].) This request was for my own usage of magick where PNG seems to be the most common format I'd edit, but ImageMagick can't work with much other than bitmap images without configuring flags for it.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b8a1943a68e4d021f369fbc069777d873e3e0cdf commit b8a1943a68e4d021f369fbc069777d873e3e0cdf Author: Thomas Deutschmann <whissi@gentoo.org> AuthorDate: 2021-02-01 14:58:47 +0000 Commit: Thomas Deutschmann <whissi@gentoo.org> CommitDate: 2021-02-01 15:01:07 +0000 media-gfx/imagemagick: enable USE=png by default Closes: https://bugs.gentoo.org/767802 Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org> media-gfx/imagemagick/imagemagick-6.9.11.61.ebuild | 2 +- media-gfx/imagemagick/imagemagick-7.0.10.61.ebuild | 2 +- media-gfx/imagemagick/imagemagick-9999.ebuild | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-)