Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Aug 23, 2011 08:32 AM by stefanto
Aug 23, 2011 08:32 AM|LINK
I'm currently trying to find a way to convert a pdf to an image (JPG or PNG) automatically when someone uploading image to our website for thumbnail purposes.
I've done my research and tried to find an information on how to do this however so far what i can find was:
1. http://www.codeproject.com/KB/cs/GhostScriptUseWithCSharp.aspx & http://www.codeproject.com/KB/GDI-plus/pdfthumbnail.aspx Looks
promising however our website was build with VB and when i tried to convert those C# code to VB it failed.
2. After further research i found this PDFThumbnail.Net from http://www.tallcomponents.com/pdfthumbnail.aspx It's awesome as it's free and so simple to use. However it's limited to only generate
18dpi thumbnail max while i need the thumbnail to be bigger than that.
3. I found this from ghostscript http://pages.cs.wisc.edu/~ghost/doc/gsapi.htm downloaded the visual basic example and looked at its instruction; however i don't understand where and how to get
the code to work.
4. http://www.tallcomponents.com/pdfrasterizer3-overview.aspx looks promising however the price tag is just too expensive. :(
I've tried every single keyword i can think of in google, this forum and vbforums however i still yet to find any light. :(
It would be much appreciated if someone can show me a working sample of how to do this in vb?
I'm really frustated at the moment so anything that can help would be much appreciated.