[Insight-users] modify image-data using GetBufferPointer

"Jü En" jerng at gmx.de
Sun Aug 29 16:40:21 EDT 2010


Hello,

i'd like to create an image by directly writing into its buffer using the GetBufferPointer() - method. The size of the image was set before allocating memory (Allocate()). However, if i completely fill the buffer with new data and write the image, the result is as expected. But if i only sparely (e.g. only half the image) fill the buffer, the output image is black. 
Is this a known problem or did i probably made a mistake elsewhere?

Thanks in advance!
-- 
GMX DSL SOMMER-SPECIAL: Surf & Phone Flat 16.000 für nur 19,99 ¿/mtl.!*
http://portal.gmx.net/de/go/dsl


More information about the Insight-users mailing list