aboutsummaryrefslogtreecommitdiffstats
path: root/src/java
diff options
context:
space:
mode:
Diffstat (limited to 'src/java')
-rw-r--r--src/java/org/apache/poi/sl/usermodel/PictureData.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/java/org/apache/poi/sl/usermodel/PictureData.java b/src/java/org/apache/poi/sl/usermodel/PictureData.java
index 83b54d75c7..df2ca79b01 100644
--- a/src/java/org/apache/poi/sl/usermodel/PictureData.java
+++ b/src/java/org/apache/poi/sl/usermodel/PictureData.java
@@ -105,6 +105,10 @@ public interface PictureData {
/**
* Sets the binary picture data
+ * <p>
+ * The format of the data must match the format of {@link #getType()}. Failure to match the picture data may result
+ * in data loss.
+ *
* @param data picture data
*/
void setData(byte[] data) throws IOException;