PDF import?

Peter Brigham MD pmbrig at gmail.com
Fri May 7 11:49:52 EDT 2010

What I want to do is to import a PDF image into a stack as a  
customprop. I anticipate using this for sensitive documents that will  
need to be contained within a password-protected stack, and I don't  
want the files themselves left on the user's disk drive. It looks as  
if I'll have to store the PDF binary file as a customprop then delete  
the file, and then when the user wants to access the stored file spit  
the PDF out to disk on demand for viewing and printing using Preview,  
then delete the file from disk when done. Is there any other way? Can  
I print an image from a player control? Or even better, is there a Rev  
external that will convert PDF files to an importable image?

-- Peter

Peter M. Brigham
pmbrig at gmail.com

On May 7, 2010, at 10:09 AM, Richard Gaskin wrote:

> Peter Brigham MD wrote:
>> I suspect this has been asked and answered before, but is there any
>> way to import a PDF file as an image in rev? The import paint command
>> doesn't list this as an allowable file type. Please excuse my age-
>> related dementia, I seem to recall someone having some way of doing
>> this, a library maybe. Or perhaps I'm moving towards the drooling
>> stage faster than I thought....
> It's not age, just experience.   :)
> You're absolutely right, there is one way to display PDFs in Rev and  
> it's very limited: on OS X only you can display PDFs inside of a  
> player control.  This does not work on Windows or Linux, and as you  
> can imagine has a limited UI (you can't select text, for example,  
> and the page is rendered scaled within the player without scrollbars  
> of its own, so you'll need to put it in a group of you bother with  
> it at all).
> --
> Richard Gaskin
> Fourth World
> Rev training and consulting: http://www.fourthworld.com
> Webzine for Rev developers: http://www.revjournal.com
> revJournal blog: http://revjournal.com/blog.irv
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your  
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution

More information about the Use-livecode mailing list