-
Notifications
You must be signed in to change notification settings - Fork 54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
support clipboard #72
Comments
I agree, this would be really nice feature. |
Missing that feature, too. It would keep Viewnior simple but functional. |
It would be very helpful to post pics in Github issues. Currently, I use my screenshot. |
Looking forward to it too. |
Not to hijack this too much but would it be possible to do the reverse, pasting from clipboard into Viewnior? In Windows I often use the paste image feature of Irfanview to confirm how a screenshot turned out. If I need to start another thread for this I can. |
I agree, both functionalities would be really nice. |
Ristretto can do it, is free and is also in C, so it may be simple to borrow the code… [Edit] {
GdkPixbuf *pixbuf;
RsttoImageViewer *viewer;
viewer = RSTTO_IMAGE_VIEWER (window->priv->image_viewer);
pixbuf = rstto_image_viewer_get_pixbuf (viewer);
if (pixbuf)
{
gtk_clipboard_set_image (gtk_clipboard_get (GDK_SELECTION_CLIPBOARD), pixbuf);
g_object_unref (pixbuf);
}
} GTK is already a dependency for Viewnor, the only requirement is to get a
If nobody do it first, I may try to fill a merge request is the following days at is seems pretty simple. |
support copy image to clipboard,Tks~
The text was updated successfully, but these errors were encountered: