Re: xsrc/60399: /usr/X11R7/include/X11/pixmaps/NetBSD-flag2.xpm has bad colormap
"RVP via gnats" <[email protected]>
| Newsgroups | gmane.os.netbsd.bugs |
|---|---|
| Message-ID | <[email protected]> |
The following reply was made to PR xsrc/60399; it has been noted by GNATS. From: RVP <[email protected]> To: [email protected] Cc: Subject: Re: xsrc/60399: /usr/X11R7/include/X11/pixmaps/NetBSD-flag2.xpm has bad colormap Date: Fri, 3 Jul 2026 23:44:21 +0000 (UTC) On Fri, 3 Jul 2026, Jeff_W wrote: > Ah well okay, the bug squash team can decide what if anything to > do here. I was just surprised ImageMagick had an issue with the > file as I've used it for years for format conversion as well as > other things and it seems pretty tolerant. When I saw it flagged > NetBSD-flag2.xpm as corrupted I tested NetBSD-flag1.xpm which had > no similar issue with it's colormap so decided to file a PR. > As mlelstv@ said, this is actually an ImageMagick bug. XPM uses X11 colour names, so ImageMagick should understand the British spelling ("Grey") too. There've been attempts to fix this over the years, but, this is such an obscure issue that these've either been a) partially applied[1], or b) lost in newer versions[2]: -RVP [1]: https://jqmagick.imagemagick.org/discourse-server/viewtopic.php?p=98825 [2]: https://build.opensuse.org/projects/openSUSE/packages/ImageMagick.8951/files/ImageMagick-6.8.5.7-no-XPMCompliance.patch?expand=0