[Y-devel] How should the image widget work?

Phil phil at www.y-windows.org
Thu Jan 20 20:14:52 GMT 2005


Michiel ten Hagen wrote:
> Using libMagick will create an extra dependency. I believe this should
> be prevented. Using libMagick on the client side isnt a problem ofcourse.

Since the server is no use without clients, I don't see that it makes a 
difference which side prereqs it.

> An image widget should be just an RGBA buffer in principle. Widgets
> implementing decompression of specific formats should be seperated.

But that requires the application to know the name of the accelerated 
widget (which may not have been written at the time the app was created).

> Separating image specific widgets would also alllow that Y can be
> compiled without these widgets to save memory if Y would be used in
> embedded systems.

I suspect that even embedded systems will find it cheaper to store and 
decompress a 66KiB JPEG serverside than to transfer a 1.62MiB ARGB 
pixmap from client to server.

Phil



More information about the Y-devel mailing list









2026 © www.Y-Windows.Org - All Rights Reserved