Article ID: 161832 - Last Review: July 1, 2004 - Revision: 3.2 How To Export an Embedded .bmp Image into a FileThis article was previously published under Q161832 SUMMARY
The command "APPEND GENERAL <General field name> FROM <filename>.bmp"
imports a BMP image from a file and places it into a general field. But
there is no reverse command like "Copy General To," which can export an
embedded BMP image into a .bmp file. The following steps offer a workaround
specially designed for embedded .bmp files only, other data formats can be
easily exported if the storage structure of an OLE object is recognizable.
MORE INFORMATION
The following steps and sample program can be used to save an embedded
bitmap file to a physical file on disk:
If the .bmp file is embedded in a general field by "Insert Object" or "Append General," then FoxPro creates presentation data plus the actual .bmp file data into the general field, which may result in the size of the FTP file being twice as big as the original .bmp data and if this is the case, 599 may not be the correct offset. APPLIES TO
| Article Translations
|
Back to the top
