pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From til...@apache.org
Subject svn commit: r1636702 - /pdfbox/trunk/pdfbox/src/test/java/org/apache/pdfbox/pdmodel/graphics/image/LosslessFactoryTest.java
Date Tue, 04 Nov 2014 19:49:37 GMT
Author: tilman
Date: Tue Nov  4 19:49:36 2014
New Revision: 1636702

URL: http://svn.apache.org/r1636702
Log:
PDFBOX-2481: forgot getHeight

Modified:
    pdfbox/trunk/pdfbox/src/test/java/org/apache/pdfbox/pdmodel/graphics/image/LosslessFactoryTest.java

Modified: pdfbox/trunk/pdfbox/src/test/java/org/apache/pdfbox/pdmodel/graphics/image/LosslessFactoryTest.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/pdfbox/src/test/java/org/apache/pdfbox/pdmodel/graphics/image/LosslessFactoryTest.java?rev=1636702&r1=1636701&r2=1636702&view=diff
==============================================================================
--- pdfbox/trunk/pdfbox/src/test/java/org/apache/pdfbox/pdmodel/graphics/image/LosslessFactoryTest.java
(original)
+++ pdfbox/trunk/pdfbox/src/test/java/org/apache/pdfbox/pdmodel/graphics/image/LosslessFactoryTest.java
Tue Nov  4 19:49:36 2014
@@ -65,7 +65,7 @@ public class LosslessFactoryTest extends
         BufferedImage image = ImageIO.read(this.getClass().getResourceAsStream("png.png"));
 
         PDImageXObject ximage1 = LosslessFactory.createFromImage(document, image);
-        validate(ximage1, 8, image.getWidth(), 287, "png", PDDeviceRGB.INSTANCE.getName());
+        validate(ximage1, 8, image.getWidth(), image.getHeight(), "png", PDDeviceRGB.INSTANCE.getName());
         checkIdent(image, ximage1.getImage());
 
         // Create a grayscale image



Mime
View raw message