Quantcast
Channel: Adobe Community: Message List
Viewing all articles
Browse latest Browse all 94346

[Coldfusion 10] convert SQL image data type to pdf file

$
0
0

The data is of image type in my database table. How do I save this data as a pdf file. The data in the table is already pdf type 0x151C240002000000080008001400... I tried select boxid, datapdf from records where datapdf is not null FileWrite("data.pdf", records.datapdf[1]); It did save the file as a pdf, but upon opening the file is said "it is either not a supported file type or because the file has been damaged".


Viewing all articles
Browse latest Browse all 94346

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>