pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jahew...@apache.org
Subject svn commit: r1576078 - /pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/util/ImageIOUtil.java
Date Mon, 10 Mar 2014 20:51:04 GMT
Author: jahewson
Date: Mon Mar 10 20:51:04 2014
New Revision: 1576078

URL: http://svn.apache.org/r1576078
Log:
PDFBOX-1963: fix vertical DPI metadata

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

Modified: pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/util/ImageIOUtil.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/util/ImageIOUtil.java?rev=1576078&r1=1576077&r2=1576078&view=diff
==============================================================================
--- pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/util/ImageIOUtil.java (original)
+++ pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/util/ImageIOUtil.java Mon Mar 10 20:51:04
2014
@@ -188,7 +188,7 @@ public class ImageIOUtil
         h.setAttribute("value", Double.toString(dpi / 25.4));
         dimension.appendChild(h);
 
-        Element v = new IIOMetadataNode("HorizontalPixelSize");
+        Element v = new IIOMetadataNode("VerticalPixelSize");
         v.setAttribute("value", Double.toString(dpi / 25.4));
         dimension.appendChild(v);
 



Mime
View raw message