Convert JPG to PDF
Convert JPG to PDF
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
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
Re: Convert JPG to PDF
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,
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,
Re: Convert JPG to PDF
Hi Hugo,
Thank you for your reply! I'm looking forward to hear from you.
Regards Silvan
Thank you for your reply! I'm looking forward to hear from you.
Regards Silvan
Re: Convert JPG to PDF
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://www.gdpicture.com/guides/gdpicture/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
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://www.gdpicture.com/guides/gdpicture/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
Re: Convert JPG to PDF
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
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
Re: Convert JPG to PDF
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!
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!
Re: Convert JPG to PDF
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.
Kind regards Silvan
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.
Kind regards Silvan
Last edited by Silvan on Sun Nov 01, 2020 11:12 pm, edited 1 time in total.
Re: Convert JPG to PDF
Thanks a lot Silvan for your feedback!
Much appreciated from all our team.
Cheers,
Loïc
Much appreciated from all our team.
Cheers,
Loïc
Who is online
Users browsing this forum: No registered users and 0 guests