[Gambas-user] Difference between Picture and Image?
Eilert
eilert-sprachen at ...221...
Thu Jan 13 17:47:02 CET 2005
Hi Rob,
thanks for your comprehensive information.
Rob schrieb:
> On Thursday 13 January 2005 06:18, Eilert wrote:
>
>>What is the difference between Image and Picture?
>
>
> To explain this difference, I first have to explain to you how
> X11 (the graphics subsystem of Linux and almost every other
> Unix) works a little bit. With X, your program can run on one
I know that, I'm running LTSP here, and Gambas is on the server whilest
I am sitting in my office and work with it on my own machine.
> An Image is a graphic that lives in your program. As such, you
> have more access to it and can do more stuff to it, like
> stretch, fine rotate, etc.
So Image is for me.
>
> A Picture is a graphic that lives on your X display, whether it's
> on the same machine or in Mongolia or whatever. So any
> manipulation you do to this picture will happen over a network
> link or a local pipe, and as such it's likely to be a lot
> slower.
The point is, what is Picture good for then? It's slower, it doesn't
have so many possibilities and the Image is displayed anyway... Maybe
over a slow connection, Picture will appear faster?
> To sum up, here's how you can think of them: Image is for
> manipulation, Picture is for display.
Yes, and that answers my second question, too. I now tried Image and
found the Stretch function. The only drawback is that it needs absolute
pixels instead of percentages, but I can live with it :-)
Thank you very much again for your time!
Rolf
More information about the User
mailing list