Files
blozi-etag/tools/scripts/image2hex.py
2022-06-23 23:43:14 +08:00

9 lines
207 B
Python

from PIL import Image
from tools.utils import image2hex, load_test_image
if __name__ == '__main__':
# print(image2hex(load_test_image('test-01.bmp')))
print(image2hex(load_test_image('mao.bmp')))