Skip to content
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

Is it possible to integrate ImageView into GtkInteract? #13

Open
AStupidBear opened this issue May 25, 2016 · 2 comments
Open

Is it possible to integrate ImageView into GtkInteract? #13

AStupidBear opened this issue May 25, 2016 · 2 comments

Comments

@AStupidBear
Copy link

I have a program, which could run for a very long time and generate a lot of pictures associated with different parameters. I want to use GtkInteract to visualize those pictures by

using GtkInteract,ImageView
@manipulate for a=1:10, b=1:10, c=1:10
   img=imread("...")
   view(img)
end

Is it difficult to integrate ImageView into GtkInteract? Or could you suggest other methods to achieve this?

Thanks

@jverzani
Copy link
Owner

jverzani commented Jun 1, 2016

You'd need to use a Gtk version of GtkInteract, as Tk and Gtk don't play nicely together. Then I would need to hook up some way to get the output of view(img) to display in a cairographic. This is done for some different plotting packages. (Though I need to figure out a way to make that user-configurable for flexibility and to lose the Requires.jl dependency which goes away with v"0.5.0".)

@AStupidBear
Copy link
Author

Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants