Gimp-Forum.net
XPM support for Mac? - Printable Version

+- Gimp-Forum.net (https://www.gimp-forum.net)
+-- Forum: GIMP (https://www.gimp-forum.net/Forum-GIMP)
+--- Forum: General questions (https://www.gimp-forum.net/Forum-General-questions)
+--- Thread: XPM support for Mac? (/Thread-XPM-support-for-Mac)



XPM support for Mac? - jdc3 - 11-02-2017

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.


RE: XPM support for Mac? - Ofnuts - 11-02-2017

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.


RE: XPM support for Mac? - jdc3 - 10-30-2018

(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.


RE: XPM support for Mac? - Ofnuts - 10-30-2018

Yes, indeed the source code seems to depend on some Linux-only libs...


RE: XPM support for Mac? - Kevin - 10-31-2018

There is an issue raised for this: https://gitlab.gnome.org/GNOME/gimp/issues/919