GNOME Bugzilla – Bug 513699
Postscript backend embeds RGBA images totally wrong
Last modified: 2008-02-05 05:23:18 UTC
The 4-channel colorimage operator in Postscript assumes a CMYK colorspace. That means, the RGBA images emitted will show up as black squares mostly... Postscript doesn't support alpha channels. Attaching patch that flattens images before emitting.
Created attachment 104204 [details] [review] the patch Tested and works. I can commit.
Please commit. Will this fix all the "my image was printed as a black square" bugreports?
Kjartan, did you commit this? Yes it does. At least all that have "4 colorimage" in the output. Which I really believe is all.
2008-02-02 Kjartan Maraas <kmaraas@gnome.org> * NEWS: Update. * libgnomeprint/gnome-print-ps2.c: (gnome_print_ps2_image): Patch from Behdad Esfahbod to fix graphics being printed as black squares. Closes bug #513699.
2008-02-05 Behdad Esfahbod <behdad@gnome.org> * libgnomeprint/gnome-print-ps2.c (gnome_print_ps2_image): Fix rounding in RGBA flattening code.
*** Bug 407578 has been marked as a duplicate of this bug. ***