You can add JPG images using:
/**
* create an image from JPEG/JPG file.<br/>
* supported image color space:<br/>
* --GRAY<br/>
* --RGB<br/>
* --CMYK<br/>
* @param path path to JPEG file.
* @return DocImage object or null.
*/
public DocImage NewImageJPEG( String path ){ }
/**
* create an image from JPEG/JPG byte array.<br/>
* supported image color space:<br/>
* --GRAY<br/>
* --RGB<br/>
* --CMYK<br/>
* @param data byte array include whole jpg file.
* @param len byte length of data.
* @return DocImage object or null.
*/
public DocImage NewImageByMem( byte[] data, int len ) { }