DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<https://issues.apache.org/bugzilla/show_bug.cgi?id=44486>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

https://issues.apache.org/bugzilla/show_bug.cgi?id=44486

           Summary: drawImage(BufferedImage, BufferedImageOp, int, int) does
                    not allow NULL as 2nd parameter
           Product: Batik
           Version: 1.7
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: major
          Priority: P2
         Component: SVGGraphics2D
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]


I can't make use of the (faster) drawImage(BufferedImage, BufferedImageOp, int,
int) call on the Graphics2D class, since, whenever I am rendering to SVG, this
throws NullPointerExceptions every time.

This is a simple fix, just change line 995 from:
img = op.filter(img, null);

to

if (op!=null){
  img = op.filter(img, null);
}

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to