Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi, i am using umbraco 6.1.6 ,
i want to create jpg files at the time of upload the PDF files in media.
is there any way or free package available to create such kind of functionality .
share your thoughts
Thanks
Mehul Gajjar.
Mehul,
No aware of any package, however you could write your own code and tap into the mediaservice saved event see https://our.umbraco.org/documentation/Reference/Events-v6/MediaService-Events and then use some third party library to create jpg files so you could use pdfsharp see example here http://www.pdfsharp.net/wiki/(X(1)S(nv4ohgoywk1giczjdy45lbjw))/Default.aspx?Page=ExportImages-sample&NS=&AspxAutoDetectCookieSupport=1
Regards
Ismail
Hi Ismail ,
Thanks for reply , i have check below
http://www.pdfsharp.net/wiki/(X(1)S(nv4ohgoywk1giczjdy45lbjw))/Default.aspx?Page=ExportImages-sample&NS=&AspxAutoDetectCookieSupport=1
and it will export images from pdf . its fine.
But i need convert one page as image..
Any idea ?
Regards,
See http://stackoverflow.com/questions/23905169/how-to-convert-pdf-files-to-image some hints about other libraries like imagemagick
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
How to create jpgs from PDF and store in media.
Hi, i am using umbraco 6.1.6 ,
i want to create jpg files at the time of upload the PDF files in media.
is there any way or free package available to create such kind of functionality .
share your thoughts
Thanks
Mehul Gajjar.
Mehul,
No aware of any package, however you could write your own code and tap into the mediaservice saved event see https://our.umbraco.org/documentation/Reference/Events-v6/MediaService-Events and then use some third party library to create jpg files so you could use pdfsharp see example here http://www.pdfsharp.net/wiki/(X(1)S(nv4ohgoywk1giczjdy45lbjw))/Default.aspx?Page=ExportImages-sample&NS=&AspxAutoDetectCookieSupport=1
Regards
Ismail
Hi Ismail ,
Thanks for reply , i have check below
http://www.pdfsharp.net/wiki/(X(1)S(nv4ohgoywk1giczjdy45lbjw))/Default.aspx?Page=ExportImages-sample&NS=&AspxAutoDetectCookieSupport=1
and it will export images from pdf . its fine.
But i need convert one page as image..
Any idea ?
Regards,
Mehul Gajjar.
See http://stackoverflow.com/questions/23905169/how-to-convert-pdf-files-to-image some hints about other libraries like imagemagick
Regards
Ismail
is working on a reply...