Convert JPG to PDF

Discussions about PDF management.
Post Reply
Silvan
Posts: 3
Joined: Mon Aug 10, 2020 9:30 am

Convert JPG to PDF

Post by Silvan » Mon Aug 10, 2020 9:59 am

Hi all

I want to convert a JPG into an PDF/A document. I'm using the GDPictureConverterClass and call GDPictureConverter.openfromfile(path,4) and GDPictureConverterClass.saveaspdf(path,3). I get a PDF with one page and the image on it. Everything works perfectly except for one thing: my JPG has an ICC-Profile "Adobe RGB 1998" and at the end in the PDF the color space is "Device RGB" (so no ICC-Profile). I opened the image with the GDPictureImage class and exported the ICC-Profile to check the existence and its perfectly fine.
Is there a way to convert the image into a PDF and preserving the color space?

Thanks!

Attachments: want and have state from the Adobe Acrobat Pro objectinspector
Attachments
want.png
have.png

Hugo
Posts: 72
Joined: Tue Dec 18, 2018 10:09 am

Re: Convert JPG to PDF

Post by Hugo » Thu Aug 27, 2020 1:01 pm

Hi Silvan,

Our apologies on the late reply.

We are able to provide solution to your issue and have already started to work on it.

I'll keep you updated on its progress.

Regards,

Silvan
Posts: 3
Joined: Mon Aug 10, 2020 9:30 am

Re: Convert JPG to PDF

Post by Silvan » Thu Aug 27, 2020 1:40 pm

Hi Hugo,

Thank you for your reply! I'm looking forward to hear from you.

Regards Silvan

Hugo
Posts: 72
Joined: Tue Dec 18, 2018 10:09 am

Re: Convert JPG to PDF

Post by Hugo » Tue Sep 08, 2020 4:44 pm

Hi Silvan,

We are making decent progress on your task however we still need some more time before this is solved.

When our solution is finished you will be needing to use the ConvertToPDF method:
https://guides.gdpicture.com/content/Gd ... rttopdf%2C

As soon as we have completely sorted this out I will let you know so you may try this out.

Thank you for remaining patient.

Regards,
Hugo Cudd
Technical Support

Hugo
Posts: 72
Joined: Tue Dec 18, 2018 10:09 am

Re: Convert JPG to PDF

Post by Hugo » Wed Sep 09, 2020 2:58 pm

Hi Silvan,

We have implemented a solution for you. This will be available in our next minor release.
GdPictureDocumentConverter class will receive a new property/setting: EnableICC. If this is set to "true" the converter will try to preserve the ICC profile colorspace data from the loaded document during the conversion. This will apply to both with ConvertToPDF and SaveAsPDF methods.

I will let you know when our next release is out.
You can get an idea of this from here: https://www.gdpicture.com/products/version-history/

Regards,
Hugo Cudd
Technical Support

Hugo
Posts: 72
Joined: Tue Dec 18, 2018 10:09 am

Re: Convert JPG to PDF

Post by Hugo » Tue Sep 15, 2020 3:21 pm

Hi Silvan,

Our solution is available for you to download.
You can download it here https://www.gdpicture.com/download-gdpicture/

For future suggestions it would be more practical for you to directly create a ticket here: https://orpalis.zendesk.com/hc/en-us/requests/new

This would better allow us to track your specific problem as well as update you sooner when our newer releases come out.

We are very greatful for your suggestion as it allows us to greatly improve our software overall.
Have a nice day!

Silvan
Posts: 3
Joined: Mon Aug 10, 2020 9:30 am

Re: Convert JPG to PDF

Post by Silvan » Mon Sep 21, 2020 1:54 pm

Hi Hugo

I just tried out the new GDPicture version and it works perfectly fine! Thank you for that fast and transparent development process. Next time i'm gonna use the zendesk link as you suggested.

King regards Silvan

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests