[Gambas-user] Cannot save a gif image

2009-12-16 Thread Les Hardy
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@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Cannot save a gif image

2009-12-16 Thread Fabien Bodard
have you libgif installed ?

2009/12/16 Jussi Lahtinen jussi.lahti...@gmail.com:
 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 l...@webmayo.com 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@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@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@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Cannot save a gif image

2009-12-16 Thread Les Hardy

Yes, I have libgif-4.1.6-6. I tried reinstalling all image libraries 
that I could find.
Still no good.

Regards
Les Hardy



Fabien Bodard wrote:
 have you libgif installed ?

 2009/12/16 Jussi Lahtinen jussi.lahti...@gmail.com:
   
 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 l...@webmayo.com 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@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Cannot save a gif image

2009-12-16 Thread Les Hardy
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 l...@webmayo.com 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@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@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@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Cannot save a gif image

2009-12-16 Thread Benoît Minisini
 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
 

In Gambas 2, the image save function is managed by the GUI component: which 
one do you use? gb.qt or gb.gtk?

I know, for example, that Qt can be compiled without GIF support. So on a 
system with Qt compiled that way, Gambas projects using gb.qt won't be able to 
deal with gif files.

Regards,

-- 
Benoît Minisini

--
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@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Cannot save a gif image

2009-12-16 Thread Les Hardy
Yes, You have it.  Just checked. Looks like QImageIO was compiled 
without gif support on ubuntu 9.04 , and I am using gb.qt.

My Thanks to all that responded.

Regards
Les Hardy



Benoît Minisini wrote:

 
 In Gambas 2, the image save function is managed by the GUI component: which 
 one do you use? gb.qt or gb.gtk?
 
 I know, for example, that Qt can be compiled without GIF support. So on a 
 system with Qt compiled that way, Gambas projects using gb.qt won't be able 
 to 
 deal with gif files.
 
 Regards,
 



--
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@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user