From b185261edc37f57d8e53fe25b45246d4d020c5fd Mon Sep 17 00:00:00 2001 From: stuartgo Date: Sun, 14 Dec 2025 01:18:09 +0100 Subject: [PATCH] changed frombuffer call --- anansyTypes/structures/symbol.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/anansyTypes/structures/symbol.py b/anansyTypes/structures/symbol.py index abe2a27..1dc275c 100644 --- a/anansyTypes/structures/symbol.py +++ b/anansyTypes/structures/symbol.py @@ -18,7 +18,7 @@ class Symbol: if isinstance(data["image"], str): # Decode from base64 image_bytes = base64.b64decode(data["image"]) - image_array = np.frombuffer(image_bytes, dtype=np.int32) + image_array = np.frombuffer(image_bytes, dtype=np.uint8) else: # From list/array image_array = np.array(data["image"], dtype=np.int32)