Example usage for Java org.apache.poi.hwpf.usermodel Picture fields, constructors, methods, implement or subclass
The text is from its open source code.
byte[] | getContent() |
int | getHeight() returns pixel height of the picture or -1 if dimensions determining was failed |
int | getHorizontalScalingFactor() |
String | getMimeType() Returns the MIME type for the image |
int | getVerticalScalingFactor() |
int | getWidth() returns pixel width of the picture or -1 if dimensions determining was failed |
String | suggestFileExtension() tries to suggest extension for picture's file by matching signatures of popular image formats to first bytes of picture's contents |
String | suggestFullFileName() Tries to suggest a filename: hex representation of picture structure offset in "Data" stream plus extension that is tried to determine from first byte of picture's content. |
void | writeImageContent(OutputStream out) Writes Picture's content bytes to specified OutputStream. |