- This topic has 0 replies, 1 voice, and was last updated 13 years, 9 months ago by .
Viewing 1 post (of 1 total)
Viewing 1 post (of 1 total)
Forums › TWAIN Classic › buffered memory transfer
can anybody explain to me way there is a +31 and a /32 in this calculation
size = (((((TW_INT32)info.ImageWidth*info.BitsPerPixel+31)/32)*4)
* info.ImageLength);
info. …. was received after DG_IMAGE|DAT_IMAGEINFO|MSG_GET
the only comment is:
/* Limited to 256 colors in Palette*/