Can't display PDF Files scanned with XEROX printer

13 posts, 1 answers
  1. Tim
    Tim avatar
    18 posts
    Member since:
    Jul 2013

    Posted 21 Nov 2014 Link to this post

    Hello,

    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

  2. Answer
    Deyan
    Admin
    Deyan avatar
    136 posts

    Posted 24 Nov 2014 Link to this post

    Hello Joel,

    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.

     
  3. UI for WPF is Visual Studio 2017 Ready
  4. Tim
    Tim avatar
    18 posts
    Member since:
    Jul 2013

    Posted 24 Nov 2014 in reply to Deyan Link to this post

    Hey Deyan,

    Thank you very much.

    Regards,
    Joel
  5. Georges
    Georges avatar
    9 posts
    Member since:
    Feb 2014

    Posted 16 Dec 2014 in reply to Tim Link to this post

      Hello,

    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
  6. Tim
    Tim avatar
    18 posts
    Member since:
    Jul 2013

    Posted 18 Dec 2014 Link to this post

    Hey Deyan,
    I can confirm that our XEROX PDF Files are working now.
    Thank you.
    Joel
  7. Deyan
    Admin
    Deyan avatar
    136 posts

    Posted 18 Dec 2014 Link to this post

    Hello Georges,

    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.

     
  8. Georges
    Georges avatar
    9 posts
    Member since:
    Feb 2014

    Posted 19 Dec 2014 in reply to Deyan Link to this post

    hello Deyan,

    Thanks for the reply. I just voted for it, hopefully it will get implement soon.

    Best regards

    Georges
  9. fedrick
    fedrick avatar
    2 posts
    Member since:
    Feb 2015

    Posted 09 Feb 2015 Link to this post

    A few days onwards, I too faced this kind of problem because of this thread I can get the solutions to my issue.

    *Edited by admin. Post does not comply with the terms of use of Telerik forums.*
  10. fedrick
    fedrick avatar
    2 posts
    Member since:
    Feb 2015

    Posted 09 Feb 2015 in reply to fedrick Link to this post

    A few days onwards, I too faced this kind of problem because of this thread I can get the solutions to my issue.

    *Edited by admin. Post does not comply with the terms of use of Telerik forums.*
  11. Johan
    Johan avatar
    6 posts
    Member since:
    Jul 2015

    Posted 24 Mar Link to this post

    Hello,

    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.


    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?
  12. Deyan
    Admin
    Deyan avatar
    136 posts

    Posted 29 Mar Link to this post

    Hello Johan,

    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
    Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
  13. Johan
    Johan avatar
    6 posts
    Member since:
    Jul 2015

    Posted 29 Mar in reply to Deyan Link to this post

    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

  14. Johan
    Johan avatar
    6 posts
    Member since:
    Jul 2015

    Posted 29 Mar in reply to Deyan Link to this post

    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

Back to Top
UI for WPF is Visual Studio 2017 Ready