ImageGear for Java
export(ImGearRasterPage,ImGearRGBQuad,int,int) Method
Page to be exported.
Background pixel to blend exporting page with. It's used only if given page contains alpha or premultiplied alpha channel.
Specifies horizontal resolution of resulting image object. Measurement unit is PPM, i.e., pixels per meter.
Specifies vertical resolution of resulting image object. Measurement unit is PPM, i.e., pixels per meter.
Exports content of raster page to a BufferedImage.
Syntax
public static java.awt.image.BufferedImage export( 
   ImGearRasterPage page,
   ImGearRGBQuad backgroundColor,
   int ppmX,
   int ppmY
)

Parameters

page
Page to be exported.
backgroundColor
Background pixel to blend exporting page with. It's used only if given page contains alpha or premultiplied alpha channel.
ppmX
Specifies horizontal resolution of resulting image object. Measurement unit is PPM, i.e., pixels per meter.
ppmY
Specifies vertical resolution of resulting image object. Measurement unit is PPM, i.e., pixels per meter.

Return Value

An instance of BufferedImage class.

Exports an image of the given page to a BufferedImage. If the incoming page contains an alpha or a premultiplied alpha channel, background pixel is used to blend the image with.

Since BufferedImage stores pixels in RGB or Indexed format only, color space conversion is used to transfer image data.

com.accusoft.imagegear.core.ImGearRasterPagecom.accusoft.imagegear.core.ImGearRGBQuad

See Also

Reference

ImGearRasterProcessing Class
ImGearRasterProcessing Members
Overload List

 

 


©2016. Accusoft Corporation. All Rights Reserved.

Send Feedback