time of adding image in the existing pdf some exception is throwing can you give solution on that with smple code

1 Answer 116 Views
General Discussions PdfProcessing ZipLibrary
Vaibhav
Top achievements
Rank 1
Iron
Iron
Vaibhav asked on 28 Nov 2024, 05:21 AM
System.InvalidOperationException: 'FixedExtensibilityManager.ImagePropertiesResolver and FixedExtensibilityManager.JpegImageConverter cannot be both null. The .NET Standard does not define APIs for decoding images. That`s why in order to export images different than Jpeg and Jpeg2000 and ImageQuality different than High you will need to reference the Telerik.Documents.ImageUtils assembly/NuGet in your project and to set its basic implementation to the ImagePropertiesResolver/JpegImageConverter property or to create a custom one inheriting the ImagePropertiesResolverBase/JpegImageConverterBase class. For more information go to: https://docs.telerik.com/devtools/document-processing/libraries/radpdfprocessing/cross-platform/images'

1 Answer, 1 is accepted

Sort by
0
Dess | Tech Support Engineer, Principal
Telerik team
answered on 28 Nov 2024, 05:39 AM

Hi, Vaibhav,

If you are observing this error when exporting PDF files containing unsupported images in a .NET Standard environment, you need to add a reference to the  Telerik.Documents.ImageUtils assembly/NuGet package in your project and specify either the ImagePropertiesResolver, or the JpegImageConverter  that the FixedExtensibilityManager offers.

The following Troubleshooting PdfProcessing article is quite useful on this topic.

I hope you find this information helpful. Please, let me know if there is anything else I can assist you with.

Regards,
Dess | Tech Support Engineer, Principal
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Vaibhav
Top achievements
Rank 1
Iron
Iron
commented on 28 Nov 2024, 06:35 AM

Hi Dess,

Thanks for your Support and time. i got the solution
Tags
General Discussions PdfProcessing ZipLibrary
Asked by
Vaibhav
Top achievements
Rank 1
Iron
Iron
Answers by
Dess | Tech Support Engineer, Principal
Telerik team
Share this question
or