From 403f12872d55a71b04287ed828be0c63be19e856 Mon Sep 17 00:00:00 2001 From: Richard Wilson Date: Mon, 4 Oct 2004 23:54:42 +0000 Subject: [project @ 2004-10-04 23:54:42 by rjw] Moved GIF file reading to image/, optimisation of plotting for GIFs, JNGs, PNGs and JPEGs, initial work for toolbar customisation. Possibly some other things too. svn path=/import/netsurf/; revision=1301 --- image/png.c | 1 + 1 file changed, 1 insertion(+) (limited to 'image/png.c') diff --git a/image/png.c b/image/png.c index 5fa4d9af7..9fd79f2fd 100644 --- a/image/png.c +++ b/image/png.c @@ -156,6 +156,7 @@ void info_callback(png_structp png, png_infop info) c->data.png.interlace = (interlace == PNG_INTERLACE_ADAM7); c->width = width; c->height = height; + bitmap_set_opaque(c->bitmap, bitmap_test_opaque(c->bitmap)); LOG(("size %li * %li, bpp %i, rowbytes %u", width, height, bit_depth, rowbytes)); -- cgit v1.2.3