and bad luck with Gtk too
julia> Img = imread(
"C://progs_cygw//GMTdev//gmt5//branches//5.2.0//test//grdimage//gdal//needle.jpg"
);
julia> view(Img)
(ImageCanvas,ImageSlice2d: zoom = BoundingBox(0.0,430.0,0.0,300.0))
julia> ERROR: `width` has no method matching width(::GtkCanvas)
in setbb! at C:\j\.julia\v0.3\ImageView\src\display.jl:80
in resize at C:\j\.julia\v0.3\ImageView\src\display.jl:582
in anonymous at C:\j\.julia\v0.3\ImageView\src\display.jl:420
in draw at C:\j\.julia\v0.3\Gtk\src\cairo.jl:72
in notify_resize at C:\j\.julia\v0.3\Gtk\src\cairo.jl:52
domingo, 15 de Março de 2015 às 16:03:00 UTC, J Luis escreveu:
>
> Bear with me that I'm still very rough with the packaging system but the
> fact that I see in my .julia/v0.4/Gtk/REQUIRE
>
> Cairo 0.2.2
> julia 0.2-
> Graphics 0.1
> BinDeps
> @windows WinRPM
> @osx Homebrew
>
> does not mean that the Graphics dependency is already there?
>
> domingo, 15 de Março de 2015 às 14:26:46 UTC, Tim Holy escreveu:
>>
>> Can you add Graphics to the REQUIRE file and submit a pull request
>> against the
>> gtk branch?
>>
>> --Tim
>>
>> On Sunday, March 15, 2015 07:13:02 AM J Luis wrote:
>> > Thanks. On v0.3.4 it seams to work (I mean no errors on "using
>> ImageView")
>> > but on 0.4
>> >
>> > julia> Pkg.checkout("ImageView", "gtk")
>> > INFO: Checking out ImageView gtk...
>> > INFO: Pulling ImageView latest gtk...
>> > INFO: No packages to install, update or remove
>> >
>> > julia> using ImageView
>> > ERROR: LoadError: UndefVarError: Graphics not defined
>> > while loading C:\j\.julia\v0.4\ImageView\src\ImageView.jl, in
>> expression
>> > starting on line 3
>> >
>> > domingo, 15 de Março de 2015 às 13:27:23 UTC, Tim Holy escreveu:
>> > > Pkg.checkout("ImageView", "gtk")
>> > >
>> > > But I haven't updated that branch in a long time---it's being held up
>> > > because
>> > > I have an ambitious revamping plan for ImageView, and I just haven't
>> > > cleared
>> > > the two weeks it will take to implement it. So you may need to be
>> prepared
>> > > to
>> > > fix up that gtk branch. Pull requests welcome :-).
>> > >
>> > > --Tim
>> > >
>> > > On Sunday, March 15, 2015 05:57:35 AM J Luis wrote:
>> > > > Hi,
>> > > >
>> > > > I can't use ImageView because of issue #67
>> > > > <https://github.com/JuliaLang/Tk.jl/issues/67> (the "Can't find
>> usable
>> > > > init.tcl"). But should this problem be avoidable by using a GTK
>> > >
>> > > ImageView?
>> > >
>> > > > And if yes, how to make ImageView use the GTK render?
>>
>>