public class IlvPNGEncoder extends Object implements IlvImageEncoder
IlvPNGEncoder
encodes an Image
in PNG format
onto an HttpServletResponse
.Constructor and Description |
---|
IlvPNGEncoder()
Creates a new
IlvPNGEncoder instance. |
Modifier and Type | Method and Description |
---|---|
void |
encode(BufferedImage image,
javax.servlet.http.HttpServletResponse response,
IlvServletParameters params)
Encodes the specified image in PNG format onto a servlet response.
|
public void encode(BufferedImage image, javax.servlet.http.HttpServletResponse response, IlvServletParameters params) throws IOException, javax.servlet.ServletException
encode
in interface IlvImageEncoder
image
- The image to encode.response
- The HTTP response.params
- Parameters that specify the encoding behavior.IOException
javax.servlet.ServletException
© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.