use safeGetBufferAddress when loading data
use correct size of image, instead of size of pointer (!)
Authored by: matzon 2004-11-21
Parent: [r1612]
Child: [r1614]