draw_rectangle color mistake

Hello, in the IDE, the border of the draw_rectangle function is not quite right.

Firmware Version: 2.7.0
IDE Version: 1.8.1

import sensor, image, time
sensor.reset()
sensor.set_pixformat(sensor.RGB565)
sensor.set_framesize(sensor.QVGA)
sensor.skip_frames(time=2000)

while(True):
    img=sensor.snapshot()
    img.draw_rectangle((50,50,100,100),color=(255,0,0))

Hi, it’s not a bug, it’s just the heavy JPEG compression. Try this:

img.draw_rectangle((50,50,100,100),color=(255,0,0), thickness=2)

Thicknesses is only available in the new firmware. I’ll upload a copy.

Latest firmware is attached. WiFi is broken, but, will fix before the release which is coming soon.
openmv.zip (2.14 MB)