Git Product home page Git Product logo

gtkimageview's People

Contributors

baedert avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

gtkimageview's Issues

Add option to set max and min scale

There seems to be no limit for how far you can zoom by scrolling the mouse-wheel. It would be nice if there was a way to limit the scale of the image to both a max and min value.

Better interpolation

The interpolation of scaled down images especially with text can be quite bad. A decent but still fast interpolation method would be appreciated.

The same image in the gimp viewport for reference:
gimp-viewport

And now in a gtk imageview:
gtk-imageview

In both cases the image is scaled to 80%

vapi: vala-demo assertion failed

The vala-demo throws this line after opening an image:

(vala_demo:11177): GLib-GObject-CRITICAL **: g_object_unref: assertion 'G_IS_OBJECT (object)' failed

This is not the case in the c-demo. So I guess there is something wrong with the vapi-file?

Zoom Modes

The wiki page of GtkImageView is talking about "zoom modes":

There are currently 3 zoom modes:
-GTK_IMAGE_VIEW_ZOOM_MODE_FIT: The minimum size of the widget is 1ร—1, the natural size the image's size. if the widget's allocation is smaller than the image's size, the image gets scalled to the allocation (i.e. we never scale it up).
-GTK_IMAGE_VIEW_ZOOM_MODE_ORIGINAL: Minimum size of the widget is the image's size. The image doesn't get scaled.
-GTK_IMAGE_VIEW_ZOOM_MODE_NONE: See question at the end

I can't find anything like this in the code. Was this scratched or is it still planed?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.