This commit is contained in:
justumen
2025-02-27 22:44:55 +01:00
parent 10263f2110
commit b25691ffb4
4 changed files with 80 additions and 20 deletions

View File

@@ -87,6 +87,7 @@ class ImageDetails:
details = f"\nType: {input_type}"
details += f"\nWidth: {width}"
details += f"\nHeight: {height}"
details += f"\nNumber of Pixels: {width * height}"
details += f"\nLoaded with transparency: {has_transparency}"
details += f"\nImage Mode: {pil_image.mode}"
details += f"\nOrientation: {orientation}\n"