Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -547,7 +547,7 @@ public BufferedImage getStencilImage(Paint paint) throws IOException
* @return the image without any masks applied
* @throws IOException if the image cannot be read
*/
public BufferedImage getOpaqueImage() throws IOException
public BufferedImage getOpaqueImage(Rectangle region, int subsampling) throws IOException
{
return getOpaqueImage(null, 1);
}
Expand All @@ -573,7 +573,7 @@ public BufferedImage getOpaqueImage(Rectangle region, int subsampling) throws IO
/**
* @param image The image to apply the mask to as alpha channel.
* @param mask A mask image in 8 bit Gray. Even for a stencil mask image due to
* {@link #getOpaqueImage()} and {@link SampledImageReader}'s {@code from1Bit()} special
* {@link #getOpaqueImage(Rectangle, int)} )} and {@link SampledImageReader}'s {@code from1Bit()} special
* handling of DeviceGray.
* @param interpolateMask interpolation flag of the mask image.
* @param isSoft {@code true} if a soft mask. If not stencil mask, then alpha will be inverted
Expand Down