This commit is contained in:
luboslenco
2025-03-10 20:38:53 +01:00
parent 46db380c61
commit 9bb68734e9
128 changed files with 3181 additions and 3181 deletions
+1 -1
View File
@@ -8,7 +8,7 @@ function import_tiff(path) {
let ifds = UTIF.decode(b);
UTIF.decodeImage(b, ifds[0]);
let rgba = UTIF.toRGBA8(ifds[0]);
let image = iron_g4_create_texture_from_bytes(rgba.buffer, ifds[0].width, ifds[0].height);
let image = gpu_create_texture_from_bytes(rgba.buffer, ifds[0].width, ifds[0].height);
return image;
}