You are viewing a plain text version of this content. The canonical link for it is here.
Posted to batik-dev@xmlgraphics.apache.org by Thomas E Deweese <th...@kodak.com> on 2000/11/03 17:17:17 UTC

[Commit] Further fixes in resolution handling

I just fixed two bugs:
1) The GaussianBlurRable now grows the AOI in user space.  It used to
   grow the AOI using device space information.

2) FilterResRable was using the intersection of AOI and bounds2D() to
   calculate the scale factor to the 'intermediate' device space.  It
   now only uses bounds2D().  This ensures that the size of the
   filtered image is always filterRes, we may only evaluate part of it
   though (this fix prevents the Gaussian kernel from exploding).

I also added a new file:
    xml-batik/sources/org/apache/batik/test/gvt/ImageDisplay.java

This holds static methods for printing image data to console or poping
up windows with Image in them.  Very useful for debugging filter chains.