+2005-12-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
+
+ * djvu/djvu-document.c: (djvu_document_thumbnails_get_thumbnail):
+ * dvi/pixbuf-device.c: (dvi_pixbuf_create_image),
+ (mdvi_pixbuf_device_render):
+ * pdf/ev-poppler.cc:
+
+ Don't generate thumbnails with alpha. See bug #324077.
+ Thanks to Jeroen Zwartepoorte <jeroen.zwartepoorte@gmail.com>.
+
2005-12-25 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
* shell/ev-window.c: (setup_chrome_from_metadata):
djvu_document_thumbnails_get_dimensions (document, page, width, &thumb_width, &thumb_height);
- pixbuf = gdk_pixbuf_new (GDK_COLORSPACE_RGB, TRUE, 8,
+ pixbuf = gdk_pixbuf_new (GDK_COLORSPACE_RGB, FALSE, 8,
thumb_width, thumb_height);
gdk_pixbuf_fill (pixbuf, 0xffffffff);
pixels = gdk_pixbuf_get_pixels (pixbuf);
static void *dvi_pixbuf_create_image(void *device_data, Uint w, Uint h, Uint bpp)
{
- return gdk_pixbuf_new (GDK_COLORSPACE_RGB, TRUE, 8, w, h);
+ return gdk_pixbuf_new (GDK_COLORSPACE_RGB, FALSE, 8, w, h);
return NULL;
}
page_width = dvi->dvi_page_w * dvi->params.conv + 2 * c_device->xmargin;
page_height = dvi->dvi_page_h * dvi->params.vconv + 2 * c_device->ymargin;
- c_device->pixbuf = gdk_pixbuf_new (GDK_COLORSPACE_RGB, TRUE, 8, page_width, page_height);
+ c_device->pixbuf = gdk_pixbuf_new (GDK_COLORSPACE_RGB, FALSE, 8, page_width, page_height);
gdk_pixbuf_fill (c_device->pixbuf, 0xffffffff);
mdvi_dopage (dvi, dvi->currpage);
height = temp;
}
- pixbuf = gdk_pixbuf_new (GDK_COLORSPACE_RGB, TRUE, 8,
+ pixbuf = gdk_pixbuf_new (GDK_COLORSPACE_RGB, FALSE, 8,
width, height);
gdk_pixbuf_fill (pixbuf, 0xffffffff);