pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From til...@apache.org
Subject svn commit: r1867271 - /pdfbox/branches/issue4569/tools/src/main/java/org/apache/pdfbox/tools/imageio/ImageIOUtil.java
Date Sat, 21 Sep 2019 12:01:10 GMT
Author: tilman
Date: Sat Sep 21 12:01:10 2019
New Revision: 1867271

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

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

Modified: pdfbox/branches/issue4569/tools/src/main/java/org/apache/pdfbox/tools/imageio/ImageIOUtil.java
URL: http://svn.apache.org/viewvc/pdfbox/branches/issue4569/tools/src/main/java/org/apache/pdfbox/tools/imageio/ImageIOUtil.java?rev=1867271&r1=1867270&r2=1867271&view=diff
==============================================================================
--- pdfbox/branches/issue4569/tools/src/main/java/org/apache/pdfbox/tools/imageio/ImageIOUtil.java
(original)
+++ pdfbox/branches/issue4569/tools/src/main/java/org/apache/pdfbox/tools/imageio/ImageIOUtil.java
Sat Sep 21 12:01:10 2019
@@ -52,9 +52,10 @@ public final class ImageIOUtil
     }
 
     /**
-     * Writes a buffered image to a file using the given image format. See     
-     * {@link #writeImage(BufferedImage image, String formatName, 
-     * OutputStream output, int dpi, float compressionQuality)} for more details.
+     * Writes a buffered image to a file using the given image format. The compression is
set for
+     * maximum compression for PNG and maximum quality for all other file formats. See
+     * {@link #writeImage(BufferedImage image, String formatName, OutputStream output, int
dpi, float compressionQuality)}
+     * for more details.
      *
      * @param image the image to be written
      * @param filename used to construct the filename for the individual image.
@@ -129,9 +130,10 @@ public final class ImageIOUtil
     }
 
     /**
-     * Writes a buffered image to a file using the given image format. See      
-     * {@link #writeImage(BufferedImage image, String formatName, 
-     * OutputStream output, int dpi, float compressionQuality)} for more details.
+     * Writes a buffered image to a file using the given image format. The compression is
set for
+     * maximum compression for PNG and maximum quality for all other file formats. See
+     * {@link #writeImage(BufferedImage image, String formatName, OutputStream output, int
dpi, float compressionQuality)}
+     * for more details.
      *
      * @param image the image to be written
      * @param formatName the target format (ex. "png")
@@ -146,9 +148,10 @@ public final class ImageIOUtil
     }
 
     /**
-     * Writes a buffered image to a file using the given image format. See      
-     * {@link #writeImage(BufferedImage image, String formatName, 
-     * OutputStream output, int dpi, float compressionQuality)} for more details.
+     * Writes a buffered image to a file using the given image format. The compression is
set for
+     * maximum compression for PNG and maximum quality for all other file formats. See
+     * {@link #writeImage(BufferedImage image, String formatName, OutputStream output, int
dpi, float compressionQuality)}
+     * for more details.
      *
      * @param image the image to be written
      * @param formatName the target format (ex. "png")



Mime
View raw message