Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: how to read images fast with Apple Java?



Joshua Smith <email@hidden> wrote:

> Toolkit.getImage is probably the fastest (it creates BufferedImages on
> the Mac, so you can cast the Image to BufferedImage without any
> conversion), since it's going to be in native code, and it creates
> separate threads to read each image (launch a few in parallel, and use
> listeners to get the results).
> 
> You can try Toolkit.getImage("file://...stuff...png") and
> Toolkit.getImage("NSImage://....stuff....png") as they might take
> different paths through the code.

Thanks, I'll try both!

Bill
 _______________________________________________
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

References: 
 >Re: how to read images fast with Apple Java? (From: Greg Guerin <email@hidden>)
 >Re: how to read images fast with Apple Java? (From: Bill Janssen <email@hidden>)
 >Re: how to read images fast with Apple Java? (From: David Watson <email@hidden>)
 >Re: how to read images fast with Apple Java? (From: Fabrizio Giudici <email@hidden>)
 >Re: how to read images fast with Apple Java? (From: Bill Janssen <email@hidden>)
 >Re: how to read images fast with Apple Java? (From: Joshua Smith <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.