Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I convert BASE64 encoded HTML to GIF using ColdFusion?

I am receiving a BASE64 encoded string from a WebService. The string represents an HTML page, and I can use built-in ColdFusion functions to convert and display it. However, I need a GIF representation of the HTML page, and I'm wondering if there's any way to do this using ColdFusion.

NOTE: The website I'm working on is ColdFusion 8.

UPDATE: As it turns out, the vendor gave me incorrect instructions (different from their documentation). I don't need to output a GIF of the document they are sending, so this is a non-issue now. However, seeing as the question has received 6 upvotes already, I'm going to leave the it open, as I'm curious if there is - or will be - an answer someday.

like image 429
Eric Belair Avatar asked May 04 '10 14:05

Eric Belair


1 Answers

You could save the html to the file system, and use this technique for creating URL Thumbnails

like image 114
Leigh Avatar answered Oct 27 '22 02:10

Leigh