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: is it only a performace problem?



Moises Lejter wrote:
At 09:00 AM 8/27/2003, Edoardo Panfili wrote:

start("Retrieving the original image... ");
BufferedImage bi=ImageIO.read(new FileInputStream("white.jpg"));
stop("OK.");


I don't know if this matters - but you did not set up
a buffered input stream here ...


start("Retrieving the original image... ");
BufferedInputStream bis=new BufferedInputStream(new FileInputStream("white.jpg"),1024*100);
BufferedImage bi=ImageIO.read(bis);
stop("OK.");

but nothing is changed...

edoardo
_______________________________________________
java-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/java-dev
Be sure to read the FAQ http://developer.apple.com/java/faq/ before posting
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: is it only a performace problem? (From: Moises Lejter <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.