* Don't put huge pictures on the stack. It is limited on some platforms. use malloc.
* Use the correct pitch values when reading from and writing to pictures (out pitch can differ from in pitch, and there is also visible pitch and visible lines.
Showing
Please register or sign in to comment