pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From til...@apache.org
Subject svn commit: r1867241 - /pdfbox/trunk/tools/src/main/java/org/apache/pdfbox/tools/imageio/ImageIOUtil.java
Date Fri, 20 Sep 2019 16:45:22 GMT
Author: tilman
Date: Fri Sep 20 16:45:22 2019
New Revision: 1867241

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

Modified:
    pdfbox/trunk/tools/src/main/java/org/apache/pdfbox/tools/imageio/ImageIOUtil.java

Modified: pdfbox/trunk/tools/src/main/java/org/apache/pdfbox/tools/imageio/ImageIOUtil.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/tools/src/main/java/org/apache/pdfbox/tools/imageio/ImageIOUtil.java?rev=1867241&r1=1867240&r2=1867241&view=diff
==============================================================================
--- pdfbox/trunk/tools/src/main/java/org/apache/pdfbox/tools/imageio/ImageIOUtil.java (original)
+++ pdfbox/trunk/tools/src/main/java/org/apache/pdfbox/tools/imageio/ImageIOUtil.java Fri
Sep 20 16:45:22 2019
@@ -78,7 +78,8 @@ public final class ImageIOUtil
      * used as the image format.
      * @param dpi the resolution in dpi (dots per inch) to be used in metadata
      * @param compressionQuality quality to be used when compressing the image (0 <
-     * compressionQuality < 1.0f)
+     * compressionQuality < 1.0f). See {@link ImageWriteParam#setCompressionQuality(float)}
for
+     * more details.
      * @return true if the image file was produced, false if there was an error.
      * @throws IOException if an I/O error occurs
      */
@@ -169,7 +170,8 @@ public final class ImageIOUtil
      * @param output the output stream to be used for writing
      * @param dpi the resolution in dpi (dots per inch) to be used in metadata
      * @param compressionQuality quality to be used when compressing the image (0 <
-     * compressionQuality < 1.0f)
+     * compressionQuality < 1.0f). See {@link ImageWriteParam#setCompressionQuality(float)}
for
+     * more details.
      * @return true if the image file was produced, false if there was an error.
      * @throws IOException if an I/O error occurs
      */
@@ -191,8 +193,9 @@ public final class ImageIOUtil
      * @param formatName the target format (ex. "png")
      * @param output the output stream to be used for writing
      * @param dpi the resolution in dpi (dots per inch) to be used in metadata
-     * @param compressionQuality quality to be used when compressing the image
-     * (0 < compressionQuality < 1.0f)
+     * @param compressionQuality quality to be used when compressing the image (0 <
+     * compressionQuality < 1.0f). See {@link ImageWriteParam#setCompressionQuality(float)}
for
+     * more details.
      * @param compressionType Advanced users only, and only relevant for TIFF
      * files: If null, save uncompressed; if empty string, use logic explained
      * above; other valid values are found in the javadoc of



Mime
View raw message