Hi Adrian,
I am very interested into a future savvy solution too.
I am still using QuickTime for Java for reading PNG images. :/
See method getImageFromPictStream in the following class:
http://jhotdraw.svn.sourceforge.
net/viewvc/jhotdraw/trunk/jhotdraw7/src/main/java/org/jhotdraw/draw/PictImageInputFormat.java?view=markup
This code works on all PPC JVM's and all Intel 32-bit JVM's on Mac OS X, but won't with Intel 64-bit JVM's. :(
-Werner
----Ursprüngliche Nachricht----
Von: email@hidden
Datum: 11.09.2008 13:04
An: "email@hidden Apple"<email@hidden>
Betreff: Reading PICT Images
Hi all,
Has anyone found a good way to read PICT images in Java? Eventually I want
to convert it to a PNG, JPG or GIF so it¹s web compatible. If I can get it
into a java.awt.Image I can handle the conversion but I can¹t seem to do
that even.
There are a lot of mentions of using QuickTime for Java to do this but as
the API has changed this ability seems to have gradually disappeared and
depending on QTJ being present is less than ideal. I¹m hoping there¹s a more
modern technique that¹s much simpler and more reliably available.
The solution does only need to work on OS X though and since it¹s a nice to
have feature it wouldn¹t matter too much if in some cases it didn¹t work.
Thanks,
Adrian Sutton.
______________________
Adrian Sutton, CTO
UK: +44 1 753 27 2229 US: +1 (650) 292 9659 x717
Ephox <http://www.ephox.com/>
Ephox Blogs <http://planet.ephox.com/>, Personal Blog
<http://www.symphonious.net/>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden
This email sent to email@hidden