NavigationUser login |
writeBlob.java Now we're cooking.writeBlob.java writes a file into TIDBLOB. The file must already be a text file for Ole_Object_Type=T, or an object (usually an OLE) for Ole_Object_Type=B, or a compressed object (usually an OLE) for Ole_Object_Type=b. From what I can tell, a compressed object must have been compressed using the LZW algorithm with "bits per code" of 12. The first 3 bytes of the file will be x1F x9D x8C. Unix "compress" can be used as: compress -b 12 filename. This has been verified on Sun Solaris and Red Hat Fedora. The first two bytes, i.e., x1F and x9D must be removed from the file before the file is loaded into TIDBLOB.
By webmaster | Embedded objects | add new comment
|