Java org.apache.poi.hwpf.usermodel Picture fields, constructors, methods, implement or subclass

Example usage for Java org.apache.poi.hwpf.usermodel Picture fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.poi.hwpf.usermodel Picture.

The text is from its open source code.

Method

byte[]getContent()
intgetHeight()
returns pixel height of the picture or -1 if dimensions determining was failed
intgetHorizontalScalingFactor()
StringgetMimeType()
Returns the MIME type for the image
intgetVerticalScalingFactor()
intgetWidth()
returns pixel width of the picture or -1 if dimensions determining was failed
StringsuggestFileExtension()
tries to suggest extension for picture's file by matching signatures of popular image formats to first bytes of picture's contents
StringsuggestFullFileName()
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.
voidwriteImageContent(OutputStream out)
Writes Picture's content bytes to specified OutputStream.