Gimp-Forum.net

Full Version: XPM support for Mac?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello,

Looks like this may be related to missing native X11 support but does anyone know if there is a plugin that allows images to be saved as xpm files in MacOS Sierra? 

Thanks.
AFAIK The XPM export is part of standard Gimp. This [attachment=904] export as:

Code:
/* XPM */
static char * checkers_xpm[] = {
"20 20 2 1",
"     c #000000",
".    c #FEFEFE",
"          ..........",
"          ..........",
"          ..........",
"          ..........",
"          ..........",
"          ..........",
"          ..........",
"          ..........",
"          ..........",
"          ..........",
"..........          ",
"..........          ",
"..........          ",
"..........          ",
"..........          ",
"..........          ",
"..........          ",
"..........          ",
"..........          ",
"..........          "};
by just using the .xpm extension in the file export file selection dialog.
(11-02-2017, 09:27 PM)Ofnuts Wrote: [ -> ]AFAIK The XPM export is part of standard Gimp. This  export as:

Code:
/* XPM */
static char * checkers_xpm[] = {
"20 20 2 1",
"     c #000000",
".    c #FEFEFE",
"          ..........",
"          ..........",
"          ..........",
"          ..........",
"          ..........",
"          ..........",
"          ..........",
"          ..........",
"          ..........",
"          ..........",
"..........          ",
"..........          ",
"..........          ",
"..........          ",
"..........          ",
"..........          ",
"..........          ",
"..........          ",
"..........          ",
"..........          "};
by just using the .xpm extension in the file export file selection dialog.

Not for MacOSX - it doesn't recognize the format and is not one of the listed image formats.  I was hoping that they would address that in a later release but as of 2.10.6, still no Mac XPM support. Thanks, though.
Yes, indeed the source code seems to depend on some Linux-only libs...
There is an issue raised for this: https://gitlab.gnome.org/GNOME/gimp/issues/919