[jira] [Updated] (PDFBOX-4317) Some feature of the given JPEG leads to erroneous results, when adding (drawing) it to a PDPageContentStream.

2018-09-27 Thread Tilman Hausherr (JIRA)


 [ 
https://issues.apache.org/jira/browse/PDFBOX-4317?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tilman Hausherr updated PDFBOX-4317:

Fix Version/s: (was: 2.0.13)
   (was: 3.0.0 PDFBox)

> Some feature of the given JPEG leads to erroneous results, when adding 
> (drawing) it to a PDPageContentStream.
> -
>
> Key: PDFBOX-4317
> URL: https://issues.apache.org/jira/browse/PDFBOX-4317
> Project: PDFBox
>  Issue Type: Bug
>  Components: Writing
>Affects Versions: 2.0.9
>Reporter: CAP
>Priority: Major
> Attachments: IMG-20180719-WA.jpg, UsingAdobeDC.pdf, 
> image-2018-09-14-09-13-56-216.png, image-2018-09-14-09-14-45-358.png, 
> image-2018-09-14-09-15-40-860.png, itext.pdf, out.pdf
>
>
> Some feature of the given JPEG leads to erroneous results, when adding 
> (drawing) it to a PDPageContentStream.
> The document itself is created just fine and the page is displayable in the 
> "PDF Debugger" application, but for example the Adobe Reader is reporting an 
> "internal Error", when opening the created PDF.
> Reproducable via:
> {code:java}
> try(PDDocument document = new PDDocument()){
>  PDPage page = new PDPage();
>  try(PDPageContentStream pcs = new PDPageContentStream(document, page)){
> PDImageXObject pdImage = PDImageXObject.createFromFile("path to jpeg", 
> document);
> pcs.drawImage(pdImage, 30, 30);
>  }
>  document.addPage(page);
>  document.save(new File("output file"));
> }{code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Updated] (PDFBOX-4317) Some feature of the given JPEG leads to erroneous results, when adding (drawing) it to a PDPageContentStream.

2018-09-21 Thread Tilman Hausherr (JIRA)


 [ 
https://issues.apache.org/jira/browse/PDFBOX-4317?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tilman Hausherr updated PDFBOX-4317:

Fix Version/s: 2.0.13
   3.0.0 PDFBox

> Some feature of the given JPEG leads to erroneous results, when adding 
> (drawing) it to a PDPageContentStream.
> -
>
> Key: PDFBOX-4317
> URL: https://issues.apache.org/jira/browse/PDFBOX-4317
> Project: PDFBox
>  Issue Type: Bug
>  Components: Writing
>Affects Versions: 2.0.9
>Reporter: CAP
>Priority: Major
> Fix For: 3.0.0 PDFBox, 2.0.13
>
> Attachments: IMG-20180719-WA.jpg, UsingAdobeDC.pdf, 
> image-2018-09-14-09-13-56-216.png, image-2018-09-14-09-14-45-358.png, 
> image-2018-09-14-09-15-40-860.png, itext.pdf, out.pdf
>
>
> Some feature of the given JPEG leads to erroneous results, when adding 
> (drawing) it to a PDPageContentStream.
> The document itself is created just fine and the page is displayable in the 
> "PDF Debugger" application, but for example the Adobe Reader is reporting an 
> "internal Error", when opening the created PDF.
> Reproducable via:
> {code:java}
> try(PDDocument document = new PDDocument()){
>  PDPage page = new PDPage();
>  try(PDPageContentStream pcs = new PDPageContentStream(document, page)){
> PDImageXObject pdImage = PDImageXObject.createFromFile("path to jpeg", 
> document);
> pcs.drawImage(pdImage, 30, 30);
>  }
>  document.addPage(page);
>  document.save(new File("output file"));
> }{code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Updated] (PDFBOX-4317) Some feature of the given JPEG leads to erroneous results, when adding (drawing) it to a PDPageContentStream.

2018-09-17 Thread Tilman Hausherr (JIRA)


 [ 
https://issues.apache.org/jira/browse/PDFBOX-4317?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tilman Hausherr updated PDFBOX-4317:

Attachment: itext.pdf

> Some feature of the given JPEG leads to erroneous results, when adding 
> (drawing) it to a PDPageContentStream.
> -
>
> Key: PDFBOX-4317
> URL: https://issues.apache.org/jira/browse/PDFBOX-4317
> Project: PDFBox
>  Issue Type: Bug
>  Components: Writing
>Affects Versions: 2.0.9
>Reporter: CAP
>Priority: Major
> Attachments: IMG-20180719-WA.jpg, UsingAdobeDC.pdf, 
> image-2018-09-14-09-13-56-216.png, image-2018-09-14-09-14-45-358.png, 
> image-2018-09-14-09-15-40-860.png, itext.pdf, out.pdf
>
>
> Some feature of the given JPEG leads to erroneous results, when adding 
> (drawing) it to a PDPageContentStream.
> The document itself is created just fine and the page is displayable in the 
> "PDF Debugger" application, but for example the Adobe Reader is reporting an 
> "internal Error", when opening the created PDF.
> Reproducable via:
> {code:java}
> try(PDDocument document = new PDDocument()){
>  PDPage page = new PDPage();
>  try(PDPageContentStream pcs = new PDPageContentStream(document, page)){
> PDImageXObject pdImage = PDImageXObject.createFromFile("path to jpeg", 
> document);
> pcs.drawImage(pdImage, 30, 30);
>  }
>  document.addPage(page);
>  document.save(new File("output file"));
> }{code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Updated] (PDFBOX-4317) Some feature of the given JPEG leads to erroneous results, when adding (drawing) it to a PDPageContentStream.

2018-09-14 Thread CAP (JIRA)


 [ 
https://issues.apache.org/jira/browse/PDFBOX-4317?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

CAP updated PDFBOX-4317:

Attachment: UsingAdobeDC.pdf

> Some feature of the given JPEG leads to erroneous results, when adding 
> (drawing) it to a PDPageContentStream.
> -
>
> Key: PDFBOX-4317
> URL: https://issues.apache.org/jira/browse/PDFBOX-4317
> Project: PDFBox
>  Issue Type: Bug
>  Components: Writing
>Affects Versions: 2.0.9
>Reporter: CAP
>Priority: Major
> Attachments: IMG-20180719-WA.jpg, UsingAdobeDC.pdf, 
> image-2018-09-14-09-13-56-216.png, image-2018-09-14-09-14-45-358.png, 
> image-2018-09-14-09-15-40-860.png, out.pdf
>
>
> Some feature of the given JPEG leads to erroneous results, when adding 
> (drawing) it to a PDPageContentStream.
> The document itself is created just fine and the page is displayable in the 
> "PDF Debugger" application, but for example the Adobe Reader is reporting an 
> "internal Error", when opening the created PDF.
> Reproducable via:
> {code:java}
> try(PDDocument document = new PDDocument()){
>  PDPage page = new PDPage();
>  try(PDPageContentStream pcs = new PDPageContentStream(document, page)){
> PDImageXObject pdImage = PDImageXObject.createFromFile("path to jpeg", 
> document);
> pcs.drawImage(pdImage, 30, 30);
>  }
>  document.addPage(page);
>  document.save(new File("output file"));
> }{code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Updated] (PDFBOX-4317) Some feature of the given JPEG leads to erroneous results, when adding (drawing) it to a PDPageContentStream.

2018-09-14 Thread CAP (JIRA)


 [ 
https://issues.apache.org/jira/browse/PDFBOX-4317?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

CAP updated PDFBOX-4317:

Attachment: image-2018-09-14-09-15-40-860.png

> Some feature of the given JPEG leads to erroneous results, when adding 
> (drawing) it to a PDPageContentStream.
> -
>
> Key: PDFBOX-4317
> URL: https://issues.apache.org/jira/browse/PDFBOX-4317
> Project: PDFBox
>  Issue Type: Bug
>  Components: Writing
>Affects Versions: 2.0.9
>Reporter: CAP
>Priority: Major
> Attachments: IMG-20180719-WA.jpg, 
> image-2018-09-14-09-13-56-216.png, image-2018-09-14-09-14-45-358.png, 
> image-2018-09-14-09-15-40-860.png, out.pdf
>
>
> Some feature of the given JPEG leads to erroneous results, when adding 
> (drawing) it to a PDPageContentStream.
> The document itself is created just fine and the page is displayable in the 
> "PDF Debugger" application, but for example the Adobe Reader is reporting an 
> "internal Error", when opening the created PDF.
> Reproducable via:
> {code:java}
> try(PDDocument document = new PDDocument()){
>  PDPage page = new PDPage();
>  try(PDPageContentStream pcs = new PDPageContentStream(document, page)){
> PDImageXObject pdImage = PDImageXObject.createFromFile("path to jpeg", 
> document);
> pcs.drawImage(pdImage, 30, 30);
>  }
>  document.addPage(page);
>  document.save(new File("output file"));
> }{code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Updated] (PDFBOX-4317) Some feature of the given JPEG leads to erroneous results, when adding (drawing) it to a PDPageContentStream.

2018-09-14 Thread CAP (JIRA)


 [ 
https://issues.apache.org/jira/browse/PDFBOX-4317?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

CAP updated PDFBOX-4317:

Attachment: image-2018-09-14-09-14-45-358.png

> Some feature of the given JPEG leads to erroneous results, when adding 
> (drawing) it to a PDPageContentStream.
> -
>
> Key: PDFBOX-4317
> URL: https://issues.apache.org/jira/browse/PDFBOX-4317
> Project: PDFBox
>  Issue Type: Bug
>  Components: Writing
>Affects Versions: 2.0.9
>Reporter: CAP
>Priority: Major
> Attachments: IMG-20180719-WA.jpg, 
> image-2018-09-14-09-13-56-216.png, image-2018-09-14-09-14-45-358.png, out.pdf
>
>
> Some feature of the given JPEG leads to erroneous results, when adding 
> (drawing) it to a PDPageContentStream.
> The document itself is created just fine and the page is displayable in the 
> "PDF Debugger" application, but for example the Adobe Reader is reporting an 
> "internal Error", when opening the created PDF.
> Reproducable via:
> {code:java}
> try(PDDocument document = new PDDocument()){
>  PDPage page = new PDPage();
>  try(PDPageContentStream pcs = new PDPageContentStream(document, page)){
> PDImageXObject pdImage = PDImageXObject.createFromFile("path to jpeg", 
> document);
> pcs.drawImage(pdImage, 30, 30);
>  }
>  document.addPage(page);
>  document.save(new File("output file"));
> }{code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Updated] (PDFBOX-4317) Some feature of the given JPEG leads to erroneous results, when adding (drawing) it to a PDPageContentStream.

2018-09-14 Thread CAP (JIRA)


 [ 
https://issues.apache.org/jira/browse/PDFBOX-4317?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

CAP updated PDFBOX-4317:

Attachment: image-2018-09-14-09-13-56-216.png

> Some feature of the given JPEG leads to erroneous results, when adding 
> (drawing) it to a PDPageContentStream.
> -
>
> Key: PDFBOX-4317
> URL: https://issues.apache.org/jira/browse/PDFBOX-4317
> Project: PDFBox
>  Issue Type: Bug
>  Components: Writing
>Affects Versions: 2.0.9
>Reporter: CAP
>Priority: Major
> Attachments: IMG-20180719-WA.jpg, 
> image-2018-09-14-09-13-56-216.png, out.pdf
>
>
> Some feature of the given JPEG leads to erroneous results, when adding 
> (drawing) it to a PDPageContentStream.
> The document itself is created just fine and the page is displayable in the 
> "PDF Debugger" application, but for example the Adobe Reader is reporting an 
> "internal Error", when opening the created PDF.
> Reproducable via:
> {code:java}
> try(PDDocument document = new PDDocument()){
>  PDPage page = new PDPage();
>  try(PDPageContentStream pcs = new PDPageContentStream(document, page)){
> PDImageXObject pdImage = PDImageXObject.createFromFile("path to jpeg", 
> document);
> pcs.drawImage(pdImage, 30, 30);
>  }
>  document.addPage(page);
>  document.save(new File("output file"));
> }{code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Updated] (PDFBOX-4317) Some feature of the given JPEG leads to erroneous results, when adding (drawing) it to a PDPageContentStream.

2018-09-13 Thread CAP (JIRA)


 [ 
https://issues.apache.org/jira/browse/PDFBOX-4317?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

CAP updated PDFBOX-4317:

Description: 
Some feature of the given JPEG leads to erroneous results, when adding 
(drawing) it to a PDPageContentStream.

The document itself is created just fine and the page is displayable in the 
"PDF Debugger" application, but for example the Adobe Reader is reporting an 
"internal Error", when opening the created PDF.

Reproducable via:
{code:java}
try(PDDocument document = new PDDocument()){
 PDPage page = new PDPage();
 try(PDPageContentStream pcs = new PDPageContentStream(document, page)){
PDImageXObject pdImage = PDImageXObject.createFromFile("path to jpeg", 
document);
pcs.drawImage(pdImage, 30, 30);
 }

 document.addPage(page);
 document.save(new File("output file"));
}{code}

  was:
Some feature of the given JPEG leads to erroneous results, when adding 
(drawing) it to a PDPageContentStream.

The document itself is created just fine and the page is displayable in the 
"PDF Debugger" application, but for example the Adobe Reader is reporting an 
"internal Error", when opening the created PDF.

Reproducable via:
{code:java}
try(PDDocument document = new PDDocument()){
 PDPage page = new PDPage();
 try(PDPageContentStream cos = new PDPageContentStream(document, page)){
PDImageXObject pdImage = PDImageXObject.createFromFile("path to jpeg", 
document);
cos.drawImage(pdImage, 30, 30);
 }

 document.addPage(page);
 document.save(new File("output file"));
}{code}


> Some feature of the given JPEG leads to erroneous results, when adding 
> (drawing) it to a PDPageContentStream.
> -
>
> Key: PDFBOX-4317
> URL: https://issues.apache.org/jira/browse/PDFBOX-4317
> Project: PDFBox
>  Issue Type: Bug
>  Components: Writing
>Affects Versions: 2.0.9
>Reporter: CAP
>Priority: Major
> Attachments: IMG-20180719-WA.jpg, out.pdf
>
>
> Some feature of the given JPEG leads to erroneous results, when adding 
> (drawing) it to a PDPageContentStream.
> The document itself is created just fine and the page is displayable in the 
> "PDF Debugger" application, but for example the Adobe Reader is reporting an 
> "internal Error", when opening the created PDF.
> Reproducable via:
> {code:java}
> try(PDDocument document = new PDDocument()){
>  PDPage page = new PDPage();
>  try(PDPageContentStream pcs = new PDPageContentStream(document, page)){
> PDImageXObject pdImage = PDImageXObject.createFromFile("path to jpeg", 
> document);
> pcs.drawImage(pdImage, 30, 30);
>  }
>  document.addPage(page);
>  document.save(new File("output file"));
> }{code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Updated] (PDFBOX-4317) Some feature of the given JPEG leads to erroneous results, when adding (drawing) it to a PDPageContentStream.

2018-09-13 Thread CAP (JIRA)


 [ 
https://issues.apache.org/jira/browse/PDFBOX-4317?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

CAP updated PDFBOX-4317:

Description: 
Some feature of the given JPEG leads to erroneous results, when adding 
(drawing) it to a PDPageContentStream.

The document itself is created just fine and the page is displayable in the 
"PDF Debugger" application, but for example the Adobe Reader is reporting an 
"internal Error", when opening the created PDF.

Reproducable via:
{code:java}
try(PDDocument document = new PDDocument()){
 PDPage page = new PDPage();
 try(PDPageContentStream cos = new PDPageContentStream(document, page)){
PDImageXObject pdImage = PDImageXObject.createFromFile("path to jpeg", 
document);
cos.drawImage(pdImage, 30, 30);
 }

 document.addPage(page);
 document.save(new File("output file"));
}{code}

  was:
Some feature of the given JPEG leads to erroneous results, when adding 
(drawing) it to a PDPageContentStream.

The document itself is created just fine and the page is displayable in the 
"PDF Debugger" application, but for example the Adobe Reader is reporting an 
"internal Error", when opening the created PDF.

Reproducable via:
{code:java}
try(PDDocument document = new PDDocument()){
 PDPage page = new PDPage();
 try(PDPageContentStream cos = new PDPageContentStream(document, page)){
 PDRectangle mediaBox = page.getMediaBox();

 PDImageXObject pdImage = PDImageXObject.createFromFile("path to jpeg", 
document);

 float startX = (mediaBox.getWidth() - pdImage.getWidth()) / 2;
 float startY = (mediaBox.getHeight() - pdImage.getHeight()) / 2;
 cos.drawImage(pdImage, startX, startY);
 }

 document.addPage(page);
 document.save(new File("target.pdf"));
}{code}


> Some feature of the given JPEG leads to erroneous results, when adding 
> (drawing) it to a PDPageContentStream.
> -
>
> Key: PDFBOX-4317
> URL: https://issues.apache.org/jira/browse/PDFBOX-4317
> Project: PDFBox
>  Issue Type: Bug
>  Components: Writing
>Affects Versions: 2.0.9
>Reporter: CAP
>Priority: Major
> Attachments: IMG-20180719-WA.jpg, out.pdf
>
>
> Some feature of the given JPEG leads to erroneous results, when adding 
> (drawing) it to a PDPageContentStream.
> The document itself is created just fine and the page is displayable in the 
> "PDF Debugger" application, but for example the Adobe Reader is reporting an 
> "internal Error", when opening the created PDF.
> Reproducable via:
> {code:java}
> try(PDDocument document = new PDDocument()){
>  PDPage page = new PDPage();
>  try(PDPageContentStream cos = new PDPageContentStream(document, page)){
> PDImageXObject pdImage = PDImageXObject.createFromFile("path to jpeg", 
> document);
> cos.drawImage(pdImage, 30, 30);
>  }
>  document.addPage(page);
>  document.save(new File("output file"));
> }{code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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



[jira] [Updated] (PDFBOX-4317) Some feature of the given JPEG leads to erroneous results, when adding (drawing) it to a PDPageContentStream.

2018-09-13 Thread CAP (JIRA)


 [ 
https://issues.apache.org/jira/browse/PDFBOX-4317?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

CAP updated PDFBOX-4317:

Description: 
Some feature of the given JPEG leads to erroneous results, when adding 
(drawing) it to a PDPageContentStream.

The document itself is created just fine and the page is displayable in the 
"PDF Debugger" application, but for example the Adobe Reader is reporting an 
"internal Error", when opening the created PDF.

Reproducable via:
{code:java}
try(PDDocument document = new PDDocument()){
 PDPage page = new PDPage();
 try(PDPageContentStream cos = new PDPageContentStream(document, page)){
 PDRectangle mediaBox = page.getMediaBox();

 PDImageXObject pdImage = PDImageXObject.createFromFile("path to jpeg", 
document);

 float startX = (mediaBox.getWidth() - pdImage.getWidth()) / 2;
 float startY = (mediaBox.getHeight() - pdImage.getHeight()) / 2;
 cos.drawImage(pdImage, startX, startY);
 }

 document.addPage(page);
 document.save(new File("target.pdf"));
}{code}

  was:
Some feature of the given JPEG leads to erroneous results, when adding 
(drawing) it to a PDPageContentStream.

The document itself is created just fine and the page is displayable in the 
"PDF Debugger" application, but for example the Adobe Reader is reporting an 
"internal Error", when opening the created PDF.

Example code:
{code:java}
try(PDDocument document = new PDDocument()){
 PDPage page = new PDPage();
 try(PDPageContentStream cos = new PDPageContentStream(document, page)){
 PDRectangle mediaBox = page.getMediaBox();

 PDImageXObject pdImage = PDImageXObject.createFromFile("path to jpeg", 
document);

 float startX = (mediaBox.getWidth() - pdImage.getWidth()) / 2;
 float startY = (mediaBox.getHeight() - pdImage.getHeight()) / 2;
 cos.drawImage(pdImage, startX, startY);
 }

 document.addPage(page);
 document.save(new File("target.pdf"));
}{code}


> Some feature of the given JPEG leads to erroneous results, when adding 
> (drawing) it to a PDPageContentStream.
> -
>
> Key: PDFBOX-4317
> URL: https://issues.apache.org/jira/browse/PDFBOX-4317
> Project: PDFBox
>  Issue Type: Bug
>  Components: Writing
>Affects Versions: 2.0.9
>Reporter: CAP
>Priority: Major
> Attachments: IMG-20180719-WA.jpg, out.pdf
>
>
> Some feature of the given JPEG leads to erroneous results, when adding 
> (drawing) it to a PDPageContentStream.
> The document itself is created just fine and the page is displayable in the 
> "PDF Debugger" application, but for example the Adobe Reader is reporting an 
> "internal Error", when opening the created PDF.
> Reproducable via:
> {code:java}
> try(PDDocument document = new PDDocument()){
>  PDPage page = new PDPage();
>  try(PDPageContentStream cos = new PDPageContentStream(document, page)){
>  PDRectangle mediaBox = page.getMediaBox();
>  PDImageXObject pdImage = PDImageXObject.createFromFile("path to jpeg", 
> document);
>  float startX = (mediaBox.getWidth() - pdImage.getWidth()) / 2;
>  float startY = (mediaBox.getHeight() - pdImage.getHeight()) / 2;
>  cos.drawImage(pdImage, startX, startY);
>  }
>  document.addPage(page);
>  document.save(new File("target.pdf"));
> }{code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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