• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Images and Benchmarking

 
Ken Blair
Ranch Hand
Posts: 1078
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have an application that needs to load a very large TIFF image and then scale and resize the image. My problem isn't achieving this, my problem is doing this quickly. Currenlty I'm using JAI to load the TIFF file and then converting it to a BufferedImage and simply displaying it in a label as an icon. The problem is simple, it takes way too long to load the image and I'd like to improve the performance on zooming in and out and moving the image around too. What I'm looking for is suggestions on how to speed this up and information on how I can benchmark this type of thing so I can find what's killing performance and find out whether or not my 'optimization' sped it up or not.
Thanks.
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13055
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
For detailed timing of the various processes, JAmon API has been recommended repeatedly.
Bill
[ December 28, 2003: Message edited by: William Brogden ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic