Home › Forums › TWAIN Classic › 8-Bit image, memory transfer, algorithm problem › Reply To: 8-Bit image, memory transfer, algorithm problem
January 19, 2010 at 2:11 pm #25111
In memory transfer you need to anticipate the real size of your buffer based on columns*rows with the correct size in bytes for each row (depends on columns, bits per pixels, and alignment per row). Generally you should have a function in your code to handle mis-aligned rows in memory (I code in C++ so I can’t help you a lot in how to do that in Java).