DECLARE FUNCTION DQBunpackImage (BYVAL PacketID, BYVAL Layer, BYVAL x, BYVAL y)
PacketID - Packet ID number
Layer - Layer where to draw the image
x - x coordinate where to begin drawing
y - y coordinate where to begin drawing
An INTEGER value holding the unpacking results: > 0 Operation successful > 1 Datafile not yet opened > 2 Unknown packet ID number > 3 Bad password or unknown data
Decodes the image identified by specified packet ID number from the currently opened datafile, and draws it into the given layer, starting at (x,y). The image packet does not include picture palette, so you'll have to set a palette taken from another source (a palette packet from the same datafile, or any other way you like). Also, this function does not support clipping, so it's up to you to ensure that the image fits on the layer.
none
See DQBopenDataFile