add 256 size

This commit is contained in:
2025-08-28 18:27:01 +02:00
parent 082b286f89
commit e6cb7d21d9
11 changed files with 3 additions and 0 deletions

BIN
256/image1.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

BIN
256/image10.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 39 KiB

BIN
256/image2.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

BIN
256/image3.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 38 KiB

BIN
256/image4.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 38 KiB

BIN
256/image5.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

BIN
256/image6.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 42 KiB

BIN
256/image7.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 44 KiB

BIN
256/image8.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 43 KiB

BIN
256/image9.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 41 KiB

View File

@@ -11,6 +11,9 @@ for infile in glob.glob(work_path + "/fullsize/*.png"):
im = cv2.imread(infile)
filename = file.split('/')[-1:][0]
res256 = cv2.resize(im, dsize=(256, 256), interpolation=cv2.INTER_CUBIC)
cv2.imwrite("256/" + filename + '.jpg', res256)
res512 = cv2.resize(im, dsize=(512, 512), interpolation=cv2.INTER_CUBIC)
cv2.imwrite("512/" + filename + '.jpg', res512)