[Gambas-user] Cannot save a gif image

Les Hardy les at ...2337...
Wed Dec 16 19:33:12 CET 2009


Thanks for responding Jussi,

The image is a result of an image.load previously in the code.
It may have been loaded as a gif, jpg, png or bmp.
 
'this works ok
imgfile = user.home &/ "tmpfile.jpg"
     imageout.Save(imgfile)
'------------------
'this works ok
imgfile = user.home &/ "tmpfile.png"
     imageout.Save(imgfile)
'------------------
' this does not work. error message say 'cannot save file'
imgfile = user.home &/ "tmpfile.gif"
     imageout.Save(imgfile)

I have written a few apps in gambas, with plenty of file handling, but I 
don't generally use  gifs.
I tried  it with images, pictures, pictureboxes. and in every case I can 
save anything but a gif.
Its driving me nuts. 
I cannot see any other postings about this problem. So I guess it must 
be something with my setup.

Have you any ideas of what to try next?

Regards
Les Hardy





Jussi Lahtinen wrote:
> Save gif from where?
> Please show your code you are using to save other image formats.
>
> Jussi
>
>
> On Tue, Dec 15, 2009 at 23:57, Les Hardy <les at ...2337...> wrote:
>   
>> Can anyone tell me how to save a gif image.
>> I can save other images, but  not gifs
>>
>> gambas 2.18 on ubuntu 9.04
>>
>> Regards
>> Les Hardy
>>
>> ------------------------------------------------------------------------------
>> This SF.Net email is sponsored by the Verizon Developer Community
>> Take advantage of Verizon's best-in-class app development support
>> A streamlined, 14 day to market process makes app distribution fast and easy
>> Join now and get one step closer to millions of Verizon customers
>> http://p.sf.net/sfu/verizon-dev2dev
>> _______________________________________________
>> Gambas-user mailing list
>> Gambas-user at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/gambas-user
>>
>>     
>
> ------------------------------------------------------------------------------
> This SF.Net email is sponsored by the Verizon Developer Community
> Take advantage of Verizon's best-in-class app development support
> A streamlined, 14 day to market process makes app distribution fast and easy
> Join now and get one step closer to millions of Verizon customers
> http://p.sf.net/sfu/verizon-dev2dev 
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
>   





More information about the User mailing list