• Post Reply Bookmark Topic Watch Topic
  • New Topic

PDF Byte Array to video output stream  RSS feed

 
vinay varanasi
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • 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.
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • 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
  • 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: 42970
73
  • Mark post as helpful
  • send pies
  • 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
  • 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.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!