GNOME Bugzilla – Bug 352785
Add grayscale and B&W colorspace
Last modified: 2011-12-16 22:19:54 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.
At least, that would be nice to improve gdk_pixbuf_new_from_data to import Grayscale and B&W data. Thanks.
*** This bug has been marked as a duplicate of bug 57183 ***