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,
jakarta.servlet.http.HttpServletResponse response,
IlvServletParameters params)
Encodes the specified image in PNG format onto a servlet response.
|
public void encode(BufferedImage image, jakarta.servlet.http.HttpServletResponse response, IlvServletParameters params) throws IOException, jakarta.servlet.ServletException
encode
in interface IlvImageEncoder
image
- The image to encode.response
- The HTTP response.params
- Parameters that specify the encoding behavior.IOException
jakarta.servlet.ServletException
© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.