I've merged a branch with coverage of Cairo Surface's setMimeData() to
'mainline'.
This is useful so that instead of the decoded and rastered bitmap image,
the original [ie jpeg, or to a lesser extent png] image can be attached
to a vector backend target instead. So JPEGs stay JPEGs instead of
turning into 12 MB bitmaps. Yeay.
Thanks to Adrian Johnson, Cairo PDF hacker extraordinaire for his
guidance in #cairo. I've been waiting about 2 years for this one to
appear in Cairo 1.10 and for us to have a chance to use it :)
I documented it as follows here:
http://java-gnome.sourceforge.net/4.0/doc/api/org/freedesktop/cairo/Surface.html#setMimeData(org.freedesktop.cairo.MimeType,%20byte[])
AfC
Sydney
--
Andrew Frederick Cowie
#java-gnome on irc.gimp.net
|