org.apache.poi.ss.usermodel

## Interface PictureData

- All Known Implementing Classes:
    HSSFPictureData, XSSFPictureData

      public interface PictureData

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `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`

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