Maixduino icon indicating copy to clipboard operation
Maixduino copied to clipboard

Camera doesn't draw right using small framesizes like QQQVGA or QQQQVGA

Open dimitre opened this issue 3 years ago • 0 comments

if I initialize the camera using framesize = FRAMESIZE_QQQVGA or FRAMESIZE_QQQQVGA it doesn't draw right, appearing scanlines like if I'm drawing it in the wrong resolution.

//setup
Sipeed_OV2640 camera(FRAMESIZE_QQQVGA, PIXFORMAT_RGB565);

//loop
uint8_t * img = camera.snapshot();
lcd.drawImage(0, 0, camera.width(), camera.height(), (uint16_t *)img);

Thanks

dimitre avatar Aug 11 '20 00:08 dimitre