Skip to content

Conversation

@namanjain7
Copy link
Contributor

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]

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)

@seokhun-eom24
Copy link
Contributor

seokhun-eom24 commented Sep 29, 2025

Create a new directory and add a README.md file inside it.
The README should include dependencies (if any), minimum Python version, usage such as PR body format, and detailed functionality.

@namanjain7
Copy link
Contributor Author

Create a new directory and add a README.md file inside it. The README should include dependencies (if any), minimum Python version, usage such as PR body format, and detailed functionality.

I have added the readme file.

@seokhun-eom24
Copy link
Contributor

Create a new directory and add a README.md file inside it. The README should include dependencies (if any), minimum Python version, usage such as PR body format, and detailed functionality.

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.

@namanjain7 namanjain7 force-pushed the rotate_image_py branch 2 times, most recently from a9b78e7 to 33b3beb Compare September 29, 2025 11:12
@namanjain7
Copy link
Contributor Author

Create a new directory and add a README.md file inside it. The README should include dependencies (if any), minimum Python version, usage such as PR body format, and detailed functionality.

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.

I have rewritten the readme file. and added that output is raw rgb565 data.

@seokhun-eom24
Copy link
Contributor

seokhun-eom24 commented Sep 29, 2025

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)
@namanjain7
Copy link
Contributor Author

Specify whether the rotation is clockwise or counterclockwise.

Specified in both readme and code comment that rotation is clockwise. 👍

@namanjain7 namanjain7 changed the title tools/: Python3 script to convert jpg or bmp image to rgb565 and optionally rotate 90, 180 or 270 degrees tools/: Python3 script to convert jpg or bmp image to rgb565 and optionally rotate 90, 180 or 270 degrees in clockwise direction Sep 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants