Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.poi.ss.usermodel
Interface PictureData

All Known Implementing Classes:
  HSSFPictureData, XSSFPictureData

    public interface PictureData

Method Summary
`byte[]` | `getData()` Gets the picture data.
`java.lang.String` | `getMimeType()` Returns the mime type for the image
`int` | `getPictureType()`
`java.lang.String` | `suggestFileExtension()` Suggests a file extension for this image.

Method Detail

### getData

    byte[] getData()

  Gets the picture data.

  Returns:
    the picture data.

### suggestFileExtension

    java.lang.String suggestFileExtension()

  Suggests a file extension for this image.

  Returns:
    the file extension.

### getMimeType

    java.lang.String getMimeType()

  Returns the mime type for the image

### getPictureType

    int getPictureType()

  Returns:
    the POI internal image type, 0 if unknown image type
  See Also:
    `Workbook.PICTURE_TYPE_DIB`, `Workbook.PICTURE_TYPE_EMF`, `Workbook.PICTURE_TYPE_JPEG`, `Workbook.PICTURE_TYPE_PICT`, `Workbook.PICTURE_TYPE_PNG`, `Workbook.PICTURE_TYPE_WMF`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright 2017 The Apache Software Foundation or its licensors, as applicable.