I have tried with .jpg and .png as well and no go either.

On Tuesday, October 14, 2014 11:11:45 PM UTC+1, Jameson wrote:
>
> Does it work with a simpler image format like jpg or bmp? It's possible 
> you don't have a gdk-pixbuf-tiff plugin installed
>
> On Tuesday, October 14, 2014, will ship <[email protected] 
> <javascript:>> wrote:
>
>> Could someone please point out the error of my ways:
>>
>> trying to load an image into a GTk window: 
>>
>> this just produces a grey window:
>>
>> using Gtk.ShortNames, Base.Graphics
>> win=@Window()
>> im3=@Image()
>> setproperty!(im3, :set_from_file,"mandrill.tiff")
>> push!(win,im3)
>> showall(win)
>>
>>
>>
>>
>> and this produces window but with a small white box and red cross:
>>
>> using Gtk.ShortNames, Base.Graphics
>> win=@Window()
>> im3=@Image(filename=mandrill.tiff)
>> push!(win,im3)
>> showall(win)
>>
>> (I have had no luck using Imageview)
>>
>> Thanks in advance
>>
>> Will
>>
>>

Reply via email to