pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From til...@apache.org
Subject svn commit: r1675422 - /pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdfwriter/ContentStreamWriter.java
Date Wed, 22 Apr 2015 17:10:58 GMT
Author: tilman
Date: Wed Apr 22 17:10:58 2015
New Revision: 1675422

URL: http://svn.apache.org/r1675422
Log:
PDFBOX-2772: apppend EI after inline image

Modified:
    pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdfwriter/ContentStreamWriter.java

Modified: pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdfwriter/ContentStreamWriter.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdfwriter/ContentStreamWriter.java?rev=1675422&r1=1675421&r2=1675422&view=diff
==============================================================================
--- pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdfwriter/ContentStreamWriter.java
(original)
+++ pdfbox/trunk/pdfbox/src/main/java/org/apache/pdfbox/pdfwriter/ContentStreamWriter.java
Wed Apr 22 17:10:58 2015
@@ -150,6 +150,9 @@ public class ContentStreamWriter
                 output.write( "ID".getBytes("ISO-8859-1") );
                 output.write( EOL );
                 output.write( op.getImageData() );
+                output.write( EOL );
+                output.write( "EI".getBytes("ISO-8859-1") );
+                output.write( EOL );
             }
             else
             {



Mime
View raw message