QPix Command Reference
Graphics Importers
|
|
| QPx_GetImporterData(importerRef; imageData):error | |||
|
|
importerRef | Longint | Reference to a graphics importer instance |
|
|
imageData | BLOB | 4th Dimension BLOB containing the image data |
|
|
error | Longint | Error result |
Returns the image data associated with a graphics importer instance.
The graphics importer instance is specified by importerRef. The image data assigned to importerRef is returned in imageData.
If importerRef is not associated with a BLOB, or if it does not refer to an existing graphics importer instance, the qpx_paramErr error code is returned.
Example
`Get the image data associated with the importer C_LONGINT($error)C_BLOB($imageData) C_LONGINT(gQPixImporter) $error:=QPx_GetImporterData (gQPixImporter;$imageData) If ($error#qpx_noErr) `Handle the errorEnd if |
Related commands
| QPx_NewImporter | Creates a graphics importer instance |
| QPx_NewImporterForData | Creates a graphics importer instance for the image data stored in a BLOB |
| QPx_SetImporterData | Assigns the image data contained in a BLOB to a graphics importer |