Do you own a Debenu Quick PDF Library 12/11/10/9/8/7? Upgrade to Debenu Quick PDF Library 13!

Foxit Quick PDF Library

Frequently Asked Question:

Return to FAQ Index

Render page as inline JPG/JPEG in browser

Question

Based on the code sample for streaming generated PDF's, I've earlier been experimenting on how to achieve rendering a page in Classic ASP and having it shown as a JPG/PNG in the browser.

I had no luck at this, but it is still a solution that would be most useful and definitely more convenient than "collecting" large amounts of temporary files on the web server like I did then.

Answer

Did you receive any error messages when you tried to run this code on your end? Was any content written by the SaveToVariant function? You could try using the SaveToFile function just to check the output to see if it succeeds that far.

Please update your question with additional details on where you managed to get with debugging this issue and then I can update my answer with more information.


© 2015 Debenu & Foxit. All rights reserved. AboutBuyContactBlogNewsletterSupportFAQProduct UpdatesForum