Public Member Functions | |
PDFImage () | |
PDFImage (Image img) | |
PDFImage (Image img, int x, int y, int w, int h, ImageObserver obs) | |
int | getWidth () |
void | setWidth (int v) |
int | getHeight () |
void | setHeight (int v) |
void | setName (String n) |
String | getName () |
void | setImage (Image img, int x, int y, int w, int h, ImageObserver obs) |
void | writeStream (OutputStream os) throws IOException |
void | write (OutputStream os) throws IOException |
boolean | imageUpdate (Image img, int infoflags, int x, int y, int w, int h) |
Static Public Member Functions | |
String | handlePixel (int x, int y, int p) |
drawImage
methods of PDFGraphics
will put all the necessary code into the pdf file, and the image will be encoded in ascii base 85, then deflated in zip format.
Matthew Hreljac, mhreljac@hotmail.com
|
Creates a new |
|
Creates a new
|
|
Creates a new
|
|
Get the value of height.
|
|
Get the name
|
|
Get the value of width.
|
|
Converts a pixel to a hex string
|
|
Describe
|
|
Set the value of height.
|
|
Set the image
|
|
Set the name
|
|
Set the value of width.
|
|
Compression needs to be improved here
Reimplemented from gnu::jpdf::PDFStream. |
|
Writes the image to the stream
Reimplemented from gnu::jpdf::PDFStream. |