steven0lisa / flying-saucer

Automatically exported from code.google.com/p/flying-saucer
0 stars 0 forks source link

Image should be BufferedImages #85

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
*** This issue was imported from http://java.net/jira/browse/XHTMLRENDERER-208

It was reported by pdoubleya on 27.01.2008 19:30:23 +0100 and last updated in 
the previous bug tracker on 20.07.2008 19:35:02 +0200

Found in
Operating System: All
Platform: All

The priority for this issue at migration was Major.

Original description: 
We currently don't implement use of BufferedImages consistently, due to
performance problems when doing so under windows.

Based on a tip from Chet Haase, this may be because we are not consistently
creating compatible images. If we do so, the performance issues may go away.

See chapter 5 of Filthy Rich Clients, and the MakeMineCompatible.java class from
that book's sample code. The basic trick is that if you aren't sure the image is
compatible, you can create a new compatible image buffer and copy an image into
that (fast operation).

Original issue reported on code.google.com by pdoubl...@gmail.com on 16 Feb 2011 at 9:55

GoogleCodeExporter commented 9 years ago
pdoubleya wrote on 30.05.2008 19:03:50 +0200:
Have the code for this, but requires changing the types of some return values
and parameters; since we're so close to the R8 release, will defer this till R9.

Original comment by pdoubl...@gmail.com on 16 Feb 2011 at 9:55

GoogleCodeExporter commented 9 years ago
pdoubleya wrote on 20.07.2008 19:35:02 +0200:
Deferred to R9, too many likely changes in API (though the change works).

Original comment by pdoubl...@gmail.com on 16 Feb 2011 at 9:55