On 7 Nov 2006, at 23:47, Fred Kiefer wrote:
Hubert Chan schrieb:
Is there any interest in including my XPM NSImage support into
GNUstep
GUI? If so, I will sign the copyright form, and rework it as a patch
against GNUstep GUI, rather than as a standalone class. If not, I'll
probably get it into Etoile.
I would love to see support for XPM images and also many other format,
but not directly in gui. We rather should have it as an image filter
service.
Good point.
Of course somebody will have to write supporting code for that
as well, but it seems like the better solution. And it should not
be to
hard doing this via the code already in NSPasteboard. But I don't have
an idea on the tasks involved in writing the filter service.
Richard, could you please set up an example of such a filter service?
There are already two such examples in the 'exmaples' pachage (http://
svn.gna.org/viewcvs/gnustep/tests/examples/trunk/gui/ExampleService)
If you look in the exampleinfo.plist you will see two filters.
1. the 'cat' filter uses an external program to take file names and
produce their content
2. the 'md5' filter uses a services application to take string data
and produce an md5 digest of it
The second of these actually uses the trivial example service
'example.m' to provide the service (along with other example services).
The md5Digest program is a test ... to demonstrate how filter
services are used.
_______________________________________________
Gnustep-dev mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/gnustep-dev