Coder Social home page Coder Social logo

Comments (8)

timholy avatar timholy commented on July 28, 2024

This branch hasn't been updated in quite a while; I think it was using a much older Gtk API. Since AFAIK we still haven't solved the Gtk binary distribution problem, that's sapped some of my enthusiasm. Plus, one of my main workhorse machines in my lab is CentOS 6.4, and their versions of Gtk are practically unusable (with either the 2.x or 3.x branches) so I'm kinda stuck with Tk.

But now with Ubuntu 14.04 out I plan to ditch CentOS, which will reinvigorate my interest in Gtk. Maybe over the summer we can make a push and get Gtk to the point where it can become the default toolkit. CC @vtjnash.

I will try to update this branch soon, however.

from imageview.jl.

kmsquire avatar kmsquire commented on July 28, 2024

Thanks Tim.

I was led there by your comments in some older issues, and the desire to have a way to draw over an image (which I thought might be possible (or at least easier) with Gtk). Not sure that's true yet. Do you have any recommendations for drawing on an image? PyPlot is the best I have come up with so far, but it doesn't interact with Images too well by default.

from imageview.jl.

timholy avatar timholy commented on July 28, 2024

This does have an annotation framework. It's relatively primitive, but perhaps it would do what you want?

from imageview.jl.

timholy avatar timholy commented on July 28, 2024

Ah, I see that the annotations are not documented. See the annotations.jl file. Currently there is support for text labels and scale bars.

from imageview.jl.

kmsquire avatar kmsquire commented on July 28, 2024

Thanks for the heads up. I'm needing to do things like draw lines or
circles, and mark points. If the current framework doesn't handle that,
I'll look at adding it. But I think integrating with a separate graphics
toolkit would be the most useful.

Cheers, Kevin

On Thursday, June 12, 2014, Tim Holy [email protected] wrote:

Ah, I see that the annotations are not documented. See the annotations.jl
file. Currently there is support for text labels and scale bars.


Reply to this email directly or view it on GitHub
https://github.com/timholy/ImageView.jl/issues/26#issuecomment-45888803.

from imageview.jl.

timholy avatar timholy commented on July 28, 2024

The problem is that Gadfly doesn't AFAIK draw onscreen to a Cairo Canvas, and Winston insists on ownership of the entire canvas. I think the main thing you'd be giving up with not having a plotting package is display of axes.

You'll see that annotation.jl is tiny; it's been a while since I've worked with it, but I'm guessing adding lines (or circles) would probably be about 15 lines of code, and the bonus is that they will behave nicely under interactive zoom and panning.

from imageview.jl.

kmsquire avatar kmsquire commented on July 28, 2024

Okay, I'll take a look.

On Thu, Jun 12, 2014 at 8:50 AM, Tim Holy [email protected] wrote:

The problem is that Gadfly doesn't AFAIK draw onscreen to a Cairo Canvas,
and Winston insists on ownership of the entire canvas. I think the main
thing you'd be giving up with not having a plotting package is display of
axes.

You'll see that annotation.jl is tiny; it's been a while since I've worked
with it, but I'm guessing adding lines (or circles) would probably be about
15 lines of code, and the bonus is that they will behave nicely under
interactive zoom and panning.


Reply to this email directly or view it on GitHub
https://github.com/timholy/ImageView.jl/issues/26#issuecomment-45909871.

from imageview.jl.

timholy avatar timholy commented on July 28, 2024

Wow, the API changes in Gtk were pretty massive. But with 307d5b6, this branch should now work for you.

from imageview.jl.

Related Issues (20)

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.