Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

PDF blob

Status
Not open for further replies.

tswitz00

IS-IT--Management
Jan 26, 2005
67
US
I have a database where a pdf was encoded (possibly compressed) and stored in a blob field. What is the best method to decode that blob back into a pdf using perl? And what are some of the common methods of encoding a pdf for storage in a blob field?

 
You would need to know what algorithm (if any) was used to compress the PDF, and use the reverse for uncompression. There are many compression algorithms available and suitable, such as gzip, zip, bz2, etc.
 
is perl capable of decompressing any of those algorithms?
 
Sure, all available decompressors can be run from Perl. But first you need to know which one to use, or do some experimentation to find out which decompressor produces the goods.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top