This takes 30 secs to render





Is there any way to make this better?  The image loaded is 3.3MB PNG
                int nWidth = gdk_pixbuf_get_width(pImage), nHeight = gdk_pixbuf_get_height(pImage);
                gtk_widget_set_size_request(widget, nWidth, nHeight);
                gdk_cairo_set_source_pixbuf(cr, pImage, 0, 0);
                cairo_rectangle(cr, 0, 0, nWidth, nHeight);
                cairo_fill(cr);
                g_object_unref(pImage);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]