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?



Thanks, Greg, some useful bits here.

> Plan B: exec() the 'sips' command to convert from png format to bmp,
> then read the bmp files using ImageIO.read().

Wow, so the sips conversion time + bmp load time is still faster than
just loading the PNG?  That's depressing.

> Running the 64-bit Java 5 JVM also speeds up png decoding, maybe
> 20-30% on a Core 2 Duo.
> 
>   http://developer.apple.com/java/javaleopard.html

I'd somehow thought that on Leopard with 64-bit hardware, the server VM
was always chosen.  I'll try this -d64 switch.

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>)



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.