tools/: Python3 script to convert jpg or bmp image to rgb565 and optionally rotate 90, 180 or 270 degrees in clockwise direction#6988
Conversation
|
Create a new directory and add a README.md file inside it. |
d7a0256 to
112206f
Compare
I have added the readme file. |
Is it correct that this script rotates the input image and outputs it as raw RGB565 data? If so, please state that the output is raw RGB565 data. |
a9b78e7 to
33b3beb
Compare
I have rewritten the readme file. and added that output is raw rgb565 data. |
|
Specify whether the rotation is clockwise or counterclockwise. |
…onally rotate 90, 180 or 270 degrees
File : convert_rgb565_rotate_image.py
Description: Script to convert jpg or bmp image to rgb565 and optionally rotate JPG and BMP images by 90, 180, or 270 degrees in clockwise direction
usage:
convert_rgb565_rotate_image.py [-h] -filename FILENAME [-rotatedegree {90,180,270}] [-output OUTPUT]
Optionally rotate JPG and BMP images by 90, 180, or 270 degrees
options:
-h, --help show this help message and exit
-filename FILENAME Input JPG or BMP file to process
-rotatedegree {90,180,270} Rotation degree (90, 180, or 270) - rotation is skipped if not provided
-output OUTPUT Output image file name (optional)
33b3beb to
27f3fb2
Compare
Specified in both readme and code comment that rotation is clockwise. 👍 |
File : convert_rgb565_rotate_image.py
Description: Script to optionally rotate JPG and BMP images by 90, 180, or 270 degrees
usage:
convert_rgb565_rotate_image.py [-h] -filename FILENAME [-rotatedegree {90,180,270}] [-output OUTPUT]