This is a migrated thread and some comments may be shown as answers.

Saving a Picutre from clipboard to a file or in database

1 Answer 59 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Ricky
Top achievements
Rank 2
Ricky asked on 21 Jul 2008, 07:22 AM
Hi All


I am developing application which have lots of pdf documents. but for the business need we require to copy a part of the pdf as a picture itself which can be small pdf or any image file.

Now for the open pdf document i can easily select and copy any part of the pdf which can be paste able in MS word etc. Just wondering if i can paste it in Rad Editor or some where else from where i can generate the image file. Or some one knows the code to save the image to a file location.  


Any help will be much appreciated.

Thanks
Ricky

1 Answer, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 21 Jul 2008, 09:43 AM
Hi Ricky,

Please, note that it is not possible to access and produce content that contains image files referring to your local drive, because these files will only be visible if the HTML content is accessed from your own computer - and these files will be invisible for any other users accessing the same content from other machines.

In order to use images, documents and other files, they need to be accessible using HTTP protocol - that is, it means they must be uploaded to a web server (which can be your own computer of course, only that the images are provided by the web server software, and not by the operating system).

In addition, it is not possible to directly paste images from a PDF document to a web browser. You should instruct your users to firstly paste the copied PDF image to MS Paint (for example), save the image as an image file and after that upload this file to the server using the Upload functionality of the Image Manager dialog.

Best regards,
Rumen
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Editor
Asked by
Ricky
Top achievements
Rank 2
Answers by
Rumen
Telerik team
Share this question
or