You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Tilman Hausherr (JIRA)" <ji...@apache.org> on 2017/03/24 17:07:41 UTC

[jira] [Comment Edited] (PDFBOX-3733) image added to pdf by tool AddImageToPDF is turn-overed

    [ https://issues.apache.org/jira/browse/PDFBOX-3733?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15940695#comment-15940695 ] 

Tilman Hausherr edited comment on PDFBOX-3733 at 3/24/17 5:06 PM:
------------------------------------------------------------------

Ooops... the tool contained a classic mistake, it was forgotten to reset the graphics context. Your file does a flip in the content stream, and this wasn't reset.

Please try again with a snapshot build
https://repository.apache.org/content/groups/snapshots/org/apache/pdfbox/pdfbox-app/2.0.6-SNAPSHOT/
number must be 38 or higher. Please confirm that it works now.


was (Author: tilman):
Ooops... the tool contained a classic mistake, it was forgotten to reset the graphics context. Your file does a flip in the content stream, and this wasn't reset.

Please try again with a snapshot build
https://repository.apache.org/content/groups/snapshots/org/apache/pdfbox/pdfbox-app/2.0.6-SNAPSHOT/
number must be 37 or higher (is being built) and confirm that it works now.

> image added to pdf by tool AddImageToPDF is turn-overed 
> --------------------------------------------------------
>
>                 Key: PDFBOX-3733
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-3733
>             Project: PDFBox
>          Issue Type: Bug
>          Components: PDModel
>    Affects Versions: 1.8.13, 2.0.5
>         Environment: 1. windows 7 64 bit
> 2. jdk 1.7 
> java version "1.7.0_80"
> Java(TM) SE Runtime Environment (build 1.7.0_80-b15)
> Java HotSpot(TM) 64-Bit Server VM (build 24.80-b11, mixed mode)
>            Reporter: Yachun Miao
>            Assignee: Tilman Hausherr
>             Fix For: 1.8.14, 2.0.6, 2.1.0
>
>         Attachments: test.pdf
>
>
> I had a pdf file (see attachement test.pdf), i try pdfbox tools AddImageToPDF to add any test image to first page of my test pdf. the image added in pdf always turn-overed. But if i tried other pdf like scanned version, there is no such problem. 
> You can reproduce it by my test.pdf with any image. 



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org