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 352785 - Add grayscale and B&W colorspace
Add grayscale and B&W colorspace
Status: RESOLVED DUPLICATE of bug 57183
Product: gdk-pixbuf
Classification: Platform
Component: general
git master
Other All
: Normal enhancement
: ---
Assigned To: gdk-pixbuf-maint
gdk-pixbuf-maint
Depends on:
Blocks:
 
 
Reported: 2006-08-25 04:06 UTC by Étienne Bersac
Modified: 2011-12-16 22:19 UTC
See Also:
GNOME target: ---
GNOME version: Unversioned Enhancement



Description Étienne Bersac 2006-08-25 04:06:22 UTC
Hello,

Please add GDK_COLORSPACE_GRAYSCALE. And why not GDK_PIXBUF_INDEXED in order to have b&w pictures.

Here is a use case. I'm developping GnomeScan libraries. Scan is possible in different colorspace including RGB, GrayScale and Black&White. That allow to save a lot of bandwidth and space in memory. Of course, i use a GdkPixbuf to reprensent acquired pictures. But since GdkPixbuf only implement RGB, representing a GrayScale picture grows 3 times in memory :(

I guess that grayscale is the more important and esier to implement that Indexed.

Thanks.
Comment 1 Étienne Bersac 2006-08-25 04:07:51 UTC
At least, that would be nice to improve gdk_pixbuf_new_from_data to import Grayscale and B&W data.

Thanks.
Comment 2 Matthias Clasen 2011-12-16 22:19:54 UTC

*** This bug has been marked as a duplicate of bug 57183 ***