• Debarshi Ray's avatar
    loader: Expose the dimensions of the original image · 3b0fa197
    Debarshi Ray authored
    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
    3b0fa197
Name
Last commit
Last update
.gitlab/ci Loading commit data...
build-aux Loading commit data...
contrib/gdk-pixbuf-xlib Loading commit data...
docs Loading commit data...
gdk-pixbuf Loading commit data...
po Loading commit data...
tests Loading commit data...
thumbnailer Loading commit data...
.gitlab-ci.yml Loading commit data...
CONTRIBUTING.md Loading commit data...
COPYING Loading commit data...
NEWS Loading commit data...
README.md Loading commit data...
gdk-pixbuf.doap Loading commit data...
meson.build Loading commit data...
meson_options.txt Loading commit data...