Удалить minimal_test.py
This commit is contained in:
@@ -1,13 +0,0 @@
|
|||||||
print("Скрипт запустился")
|
|
||||||
from core.dct import encode_dct, decode_dct
|
|
||||||
print("Импорт прошел")
|
|
||||||
from PIL import Image
|
|
||||||
print("Создаем изображение")
|
|
||||||
img = Image.new('L', (400, 400), 128)
|
|
||||||
img.save("test_min.png")
|
|
||||||
print("Изображение создано")
|
|
||||||
result = encode_dct("test_min.png", "Hi", "out_min.png")
|
|
||||||
print(f"Результат кодирования: {result}")
|
|
||||||
decoded = decode_dct("out_min.png")
|
|
||||||
print(f"Декодировано: '{decoded}'")
|
|
||||||
print("Готово")
|
|
||||||
Reference in New Issue
Block a user