summaryrefslogtreecommitdiff
path: root/thumbnailer/gdk-pixbuf-thumbnailer.c
diff options
context:
space:
mode:
authorDebarshi Ray <debarshir@freedesktop.org>2018-04-26 13:09:47 +0200
committerDebarshi Ray <debarshir@gnome.org>2018-05-01 17:02:10 +0200
commit3b0fa197fe3fb76ed3698155001ecc53f64b50bb (patch)
tree878f75fb0eff03f28b6d29b21c0da54d320f22d4 /thumbnailer/gdk-pixbuf-thumbnailer.c
parent1ee0a9e1f3cbf9d7bfaf98312a2dfd0685ee4332 (diff)
downloadgdk-pixbuf-3b0fa197fe3fb76ed3698155001ecc53f64b50bb.tar.gz
loader: Expose the dimensions of the original image
Currently, it's not possible to get the dimensions of the original image from a scaled GdkPixbuf. This is problematic for thumbnailers because they want to embed the original dimensions into the resulting thumbnail file. The only way to get this information is to either decode the full-resolution image and then downscale it, even when the decoder supports downscaling on-the-fly; or to re-implement large chunks of code to avoid decoding the full-resolution image and retain the original dimensions. Exposing the original dimensions as options simplifies the thumbnailer without affecting performance. https://bugzilla.gnome.org/show_bug.cgi?id=778517
Diffstat (limited to 'thumbnailer/gdk-pixbuf-thumbnailer.c')
0 files changed, 0 insertions, 0 deletions