You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Luca De Petrillo (JIRA)" <ji...@apache.org> on 2010/06/22 12:59:57 UTC
[jira] Created: (PDFBOX-758) Rotated images aren't placed and
rendered correctly while converting PDF pages to images
Rotated images aren't placed and rendered correctly while converting PDF pages to images
----------------------------------------------------------------------------------------
Key: PDFBOX-758
URL: https://issues.apache.org/jira/browse/PDFBOX-758
Project: PDFBox
Issue Type: Bug
Affects Versions: 1.1.0, 1.2.0
Environment: Java 1.5 & Java 1.6
Reporter: Luca De Petrillo
Rotated images are misplaced and incorrectly clipped when converting a PDF page to an image.
See attached images and pdf for an example.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Issue Comment Edited: (PDFBOX-758) Rotated images aren't
placed and rendered correctly while converting PDF pages to images
Posted by "Luca De Petrillo (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/PDFBOX-758?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12881164#action_12881164 ]
Luca De Petrillo edited comment on PDFBOX-758 at 6/22/10 7:02 AM:
------------------------------------------------------------------
Attaching sample PDF and it's image conversion
was (Author: lukakama):
Sample PDF and it's image conversion
> Rotated images aren't placed and rendered correctly while converting PDF pages to images
> ----------------------------------------------------------------------------------------
>
> Key: PDFBOX-758
> URL: https://issues.apache.org/jira/browse/PDFBOX-758
> Project: PDFBox
> Issue Type: Bug
> Affects Versions: 1.1.0, 1.2.0
> Environment: Java 1.5 & Java 1.6
> Reporter: Luca De Petrillo
> Attachments: doctest.pdf, page1-pdfbox.jpg
>
>
> Rotated images are misplaced and incorrectly clipped when converting a PDF page to an image.
> See attached images and pdf for an example.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (PDFBOX-758) Rotated images aren't placed and
rendered correctly while converting PDF pages to images
Posted by "Andreas Lehmkühler (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/PDFBOX-758?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12881802#action_12881802 ]
Andreas Lehmkühler commented on PDFBOX-758:
-------------------------------------------
Version 957289 provides a solution for documents with portrait orientation. Do you have a similar example with landscape orientation?
> Rotated images aren't placed and rendered correctly while converting PDF pages to images
> ----------------------------------------------------------------------------------------
>
> Key: PDFBOX-758
> URL: https://issues.apache.org/jira/browse/PDFBOX-758
> Project: PDFBox
> Issue Type: Bug
> Affects Versions: 1.1.0, 1.2.0
> Environment: Java 1.5 & Java 1.6
> Reporter: Luca De Petrillo
> Attachments: doctest.pdf, page1-pdfbox.jpg
>
>
> Rotated images are misplaced and incorrectly clipped when converting a PDF page to an image.
> See attached images and pdf for an example.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (PDFBOX-758) Rotated images aren't placed and
rendered correctly while converting PDF pages to images
Posted by "Luca De Petrillo (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/PDFBOX-758?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Luca De Petrillo updated PDFBOX-758:
------------------------------------
Attachment: page1-pdfbox-landscape.jpg
landscape-doctest.pdf
Attaching a landscape sample.
I don't know why i got a portrait image from the landscape pdf...
The image was generated with version 957289. However.. I noticed that this version doesn't handle PNG images (in a first attempt i got blank images), so i've used a jpeg version. Souldn't PNG works with 1.2.0 snapshot?
> Rotated images aren't placed and rendered correctly while converting PDF pages to images
> ----------------------------------------------------------------------------------------
>
> Key: PDFBOX-758
> URL: https://issues.apache.org/jira/browse/PDFBOX-758
> Project: PDFBox
> Issue Type: Bug
> Affects Versions: 1.1.0, 1.2.0
> Environment: Java 1.5 & Java 1.6
> Reporter: Luca De Petrillo
> Attachments: doctest.pdf, landscape-doctest.pdf, page1-pdfbox-landscape.jpg, page1-pdfbox.jpg
>
>
> Rotated images are misplaced and incorrectly clipped when converting a PDF page to an image.
> See attached images and pdf for an example.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (PDFBOX-758) Rotated images aren't placed and
rendered correctly while converting PDF pages to images
Posted by "Luca De Petrillo (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/PDFBOX-758?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Luca De Petrillo updated PDFBOX-758:
------------------------------------
Attachment: doctest.pdf
page1-pdfbox.jpg
Sample PDF and it's image conversion
> Rotated images aren't placed and rendered correctly while converting PDF pages to images
> ----------------------------------------------------------------------------------------
>
> Key: PDFBOX-758
> URL: https://issues.apache.org/jira/browse/PDFBOX-758
> Project: PDFBox
> Issue Type: Bug
> Affects Versions: 1.1.0, 1.2.0
> Environment: Java 1.5 & Java 1.6
> Reporter: Luca De Petrillo
> Attachments: doctest.pdf, page1-pdfbox.jpg
>
>
> Rotated images are misplaced and incorrectly clipped when converting a PDF page to an image.
> See attached images and pdf for an example.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (PDFBOX-758) Rotated images aren't placed and
rendered correctly while converting PDF pages to images
Posted by "Luca De Petrillo (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/PDFBOX-758?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Luca De Petrillo updated PDFBOX-758:
------------------------------------
Attachment: aspect-ratio-doctest.pdf
aspect-ratio-doctest.jpg
Sorry, found another problem: when images are rotated and resized without an aspect ration of 1:1, their continue to be misplaced or rendered incorrectly (see top-right image has an height smaller then the PDF original)
> Rotated images aren't placed and rendered correctly while converting PDF pages to images
> ----------------------------------------------------------------------------------------
>
> Key: PDFBOX-758
> URL: https://issues.apache.org/jira/browse/PDFBOX-758
> Project: PDFBox
> Issue Type: Bug
> Affects Versions: 1.1.0, 1.2.0
> Environment: Java 1.5 & Java 1.6
> Reporter: Luca De Petrillo
> Attachments: aspect-ratio-doctest.jpg, aspect-ratio-doctest.pdf, doctest.pdf, landscape-doctest.pdf, page1-pdfbox-landscape.jpg, page1-pdfbox.jpg
>
>
> Rotated images are misplaced and incorrectly clipped when converting a PDF page to an image.
> See attached images and pdf for an example.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.