After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 65788 - Save As 'by extension' .xbm causes unnecessary error message
Save As 'by extension' .xbm causes unnecessary error message
Status: RESOLVED FIXED
Product: GIMP
Classification: Other
Component: Plugins
1.x
Other All
: Normal minor
: 2.0
Assigned To: GIMP Bugs
GIMP Bugs
Depends on:
Blocks:
 
 
Reported: 2001-11-30 02:39 UTC by Branko Collin
Modified: 2003-11-15 16:52 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Branko Collin 2001-11-30 02:39:24 UTC
When I 'Save As' an RGB image 'By Extension' and choose .xbm, I get an
Export dialog, as expected. 

And of course that dialog mentions converting to indexed using default
settings. 

However, XBM expects 1-bit indexed, which is not my default setting.

This causes error messages to start popping up.

I feel that in this case GIMP should export to 1-bit indexed, not to the
default setting for mode conversion to indexed.

Some comments from others: 
<nomis> I think, the point is, that the XBM plugin registers itself for the
INDEXED mode and it can handle indexed images. There is IIRC no way for a
plugin to specify "I just want to operate on bitmap images".
<Sven> the export function could be extended to make this work
<Sven> I doubt it's worth the effort
Comment 1 Alan Horkan 2003-07-23 18:39:32 UTC
Changes at the request of Dave Neary on the developer mailing list.  
I am changing many of the bugzilla reports that have not specified a target
milestone to Future milestone.  Hope that is acceptable.  
Comment 2 Tino Schwarze 2003-07-24 08:10:21 UTC
This would probably mean to introduce a new image type: Bitmap. IMO
not worth the effort.
Comment 3 Michael Natterer 2003-11-15 16:52:33 UTC
Fixed in CVS:

2003-11-15  Michael Natterer  <mitch@gimp.org>

	* libgimp/gimpexport.[ch]: added new export capabilities
	GIMP_EXPORT_CAN_HANDLE_BITMAP and _CAN_HANDLE_LAYER_MASKS and
	export the image accordingly. Code cleanup.

	* plug-ins/common/xbm.c (run): replaced _CAN_HANDLE_INDEXED by
	_CAN_HANDLE_BITMAP. Fixes bug #65788.

	* plug-ins/common/psd_save.c (run): added export stuff so
	layer masks are applied before saving. Fixes bug #119732.

	* plug-ins/common/Makefile.am
	* plug-ins/common/plugin-defs.pl: link psd_save against GTK+
	and libgimpui.