• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

PDF Byte Array to video output stream

 
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I want to convert display a PDF document with is available to me in byte array format to a video output stream that I can display using quicktime plugin on my browser.

Please suggest some API available for such conversion.
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You can't convert PDF to any kind of video format. There is very little you can do with a PDF once it's generated.

What's wrong with using a PDF plugin or a dedicated viewer like Adobe Reader for viewing PDFs?
 
vinay varanasi
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
My project requirement is to disable print and save options when displaying pdf document. when the document opens in adobe acrobat pdf reader via a browser disabling the buttons is not possible. Adobe itself provides free to use API for customising server side pdf reader where one can customize all the buttons in the viewer but none of the methods provided in the API work.

I have successfully implemented the server side custom pdf viewers provided by ICESOFT technologies and jPDF by Crionics but our client is not ready to spend for licencing.


I am looking for any open source server side pdf viewer solution where i can disable the print and save options.
 
Ulf Dittmer
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
In that case the solution is not to use a custom viewer, but to change the PDF so that it disallows printing. The iText library can do this; have a look at the PrintWriter.setEncryption methods. If you use "null" for both the user and the system password, and assign no permissions, you should get the desired effect.
 
vinay varanasi
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The problem is that the documents in this project are eforms stored and retereived from IBM's content manager. They cannot be permanently encrypted during creation since it is against the client specification. I have browsed through some forums and found issues with using encryption in iText for disabling both print and save before display in browser via adobe acrobat reader.

Since these pdf documents are sensitive documents embedded with digital signatures trying any form of conversions leading to corruption could become a problem. Since these forms are to be made available to the end users who pays per view of these documents.

Server side viewer is viewed here as a safer option. This is what I have implemented earlier but paid licences becomes an issue.
 
Did you ever grow anything in the garden of your mind? - Fred Rogers. Tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic