pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From til...@apache.org
Subject svn commit: r1855635 - /pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/graphics/image/SampledImageReader.java
Date Sat, 16 Mar 2019 12:33:57 GMT
Author: tilman
Date: Sat Mar 16 12:33:57 2019
New Revision: 1855635

URL: http://svn.apache.org/viewvc?rev=1855635&view=rev
Log:
PDFBOX-4071: improve javadoc

Modified:
    pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/graphics/image/SampledImageReader.java

Modified: pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/graphics/image/SampledImageReader.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/graphics/image/SampledImageReader.java?rev=1855635&r1=1855634&r2=1855635&view=diff
==============================================================================
--- pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/graphics/image/SampledImageReader.java
(original)
+++ pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/graphics/image/SampledImageReader.java
Sat Mar 16 12:33:57 2019
@@ -168,7 +168,7 @@ final class SampledImageReader
      * @param region The region of the source image to get, or null if the entire image is
needed.
      *               The actual region will be clipped to the dimensions of the source image.
      * @param subsampling The amount of rows and columns to advance for every output pixel,
a value
-     *                  of 1 meaning every pixel will be read
+     * of 1 meaning every pixel will be read. It must not be larger than the image width
or height.
      * @param colorKey an optional color key mask
      * @return content of this image as an (A)RGB buffered image
      * @throws IOException if the image cannot be read



Mime
View raw message