You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Mikhail Semionenko (JIRA)" <ji...@apache.org> on 2017/06/09 04:53:18 UTC

[jira] [Created] (PDFBOX-3823) Question about forming a PDF document, including images for printing.

Mikhail Semionenko created PDFBOX-3823:
------------------------------------------

             Summary: Question about forming a PDF document, including images for printing.
                 Key: PDFBOX-3823
                 URL: https://issues.apache.org/jira/browse/PDFBOX-3823
             Project: PDFBox
          Issue Type: Task
    Affects Versions: 2.0.6
            Reporter: Mikhail Semionenko
            Priority: Minor
         Attachments: Screen Shot 2017-06-09 at 11.37.22.png

Forming a PDF document, including images for printing.

It is necessary to form a PDF document, which in the future will be sent to print the company's printers. There are several ICC files provided by companies for printing.
I have RGB images that should be in CMYK after adding to PDF.

My code is now for drawing an image:

ImageObject = LosslessFactory.createFromImage (document, image);
ContentStream.drawImage (imageObject, position.x, position.y, imageSize.width, imageSize.height);

I'm wondering whether it is possible to display images in a document in ColorSpace CMYK? Unfortunately, I'm not find working examples yet.

If so, how can I get PDImageXObject in CMYK ColorSpace from BufferedImage in RGB ColorSpace?



--
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