com.lowagie.text

Class ImgRaw

public class ImgRaw extends Image

Raw Image data that has to be inserted into the document

Author: Paulo Soares

See Also: Element

Constructor Summary
ImgRaw(Image image)
ImgRaw(int width, int height, int components, int bpc, byte[] data)
Creats an Image in raw mode.

Constructor Detail

ImgRaw

ImgRaw(Image image)

ImgRaw

public ImgRaw(int width, int height, int components, int bpc, byte[] data)
Creats an Image in raw mode.

Parameters: width the exact width of the image height the exact height of the image components 1,3 or 4 for GrayScale, RGB and CMYK bpc bits per component. Must be 1,2,4 or 8 data the image data

Throws: BadElementException on error