Image data must be in Chip memory. The image structure itself may be in any memory, but the actual data referenced by imagedata field must be in Chip memory. This may be done by using compiler specific options, such as the __chip keyword of SAS/C, or by allocating memory with the memf_chip attribute and copying the image data to that memory. defining image data