I have a problems when i try to display certain PDF files in my company. All I get is a blank page.
Those pdf files come mostly from a XEROX Printer.
Please see the attached file and try it out. Note that the file is a PDF Document, the File Extension .png is just a workaround the allowed extensions. You need to remove ".png" after downloading the file.
I tried it with the current WPF Q3 2014 release from October 27, 2014.
Kindly Regards
Joel
12 Answers, 1 is accepted
Thank you for contacting us.
Having a more detailed view on the sent document I can see that it is using JBIG2Decode filter. This is a feature which was not supported in Q3 2014. However, we have managed to implement it and if you use the binaries from the latest internal build you will be able to open the PDF file successfully.
I hope this is helpful. If you have any other questions or concerns please do not hesitate to contact us again.
Regards,
Deyan
the Telerik team
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.
Thank you very much.
Regards,
Joel
I have a similar problem with file scanned with a canon scanner. (see attached file - to rename in .pdf).
I tried with the latest (1208) version of telerik but nothing is displaying.
Thanks in advance for your answer!
Best regards
I can confirm that our XEROX PDF Files are working now.
Thank you.
Joel
Thank you for contacting us.
The sent file is using JPXDecode filter which is currently not supported in RadPdfViewer. We have created a feedback item for this feature request. You may vote for it and follow its implementation progress by following this link to JPX Decoder feedback item in Telerik's feedback portal.
If you have other questions or concerns do not hesitate to contact us again.
Regards,
Deyan
the Telerik team
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.
Thanks for the reply. I just voted for it, hopefully it will get implement soon.
Best regards
Georges
*Edited by admin. Post does not comply with the terms of use of Telerik forums.*
*Edited by admin. Post does not comply with the terms of use of Telerik forums.*
[quote]We have created a feedback item for this feature request. You may vote for it and follow its implementation progress by following this link to JPX Decoder feedback item in Telerik's feedback portal.[/quote]
Has the JPX Decoder issue been resolved? Otherwise I am trying to display a message saying that the decoding in the PDF is unsupported, by hooking up to the pdfViewer.DocumentSource.OnException event, described in the documentation here. The problem is, for some strange reason, the method hooked up to the event does not fire unless the first line in the method contains 'throw new Exception("..."); in which case I still cannot handle the exception.
Why would that happen?
As you may see from Aylin Hyumet's comment in the feedback item we have created and SDK example showing how to create custom JpxDecoder. This implementation uses a third party library in order to get the pixels of a JPEG2000 image.
I hope this is helpful. If you have any other questions or concerns please do not hesitate to contact us again.
Regards,
Deyan
the Telerik team
Hello Deyan
Thanks for your quick reply - I have got hold of the developer focused example where the JpxDecoder is registered through the FiltersManager. I can see when I compile the developer example that the filter is added an loads the PDF, and that it hits the Decode method in the JpxDecoder when trying to load the pdf. However in my program, I can see it registering the filter, but it never goes into the JpxDecoder's decode method.
I have several instances of PDF Viewers on the screen - hidden in multiple tiles in the TileView Control, and I register the JpxDecoder for each of them. Am I doing something wrong?
Thanks,
Johan
Hi Deyan
I have managed to solve the problem I had, it was because the FreeImage dll was not signed and my project required the DLL to be signed. After I managed to sign the dll, the JPX decoder worked.
Thanks for the assistance