Details

[Home]

Issue of the Implementation # S0660

Brief

gdk_pixbuf_loader_set_size does not always set image size correctly

Detailed Description

On some systems both width and height of the loaded image are less by 1 than it is specified via gdk_pixbuf_loader_set_size.

As a result, images loaded via gdk_pixbuf_new_from_file_at_size and gdk_pixbuf_new_from_file_at_scale also have incorrect dimensions.

One example of such systems is ia32 with Mandriva2008 installed, version of gtk+ is 2.12.1. When query size 21*21 resulting image has size 20*20.

Problem location(s) in the standard

Gdk-pixbuf 2.6.2 API Reference, GdkPixbufLoader

Component

gtk-gdk-pixbuf 2.6.2 or later

Status

Fixed in gdk-pixbuf-2.12.8

[Home]