This commit is contained in:
wiredfool 2025-04-21 10:37:32 +01:00
parent 6bf791a3e7
commit ce204f47f4

View File

@ -737,7 +737,7 @@ ImagingNewArrow(
return im;
}
}
// Stored as [[r,g,b,a],....]
// Stored as [[r,g,b,a],...]
if (strcmp(schema->format, "+w:4") == 0 // 4 up array
&& im->pixelsize == 4 // storage as 32 bpc
&& schema->n_children > 0 // make sure schema is well formed.
@ -753,7 +753,7 @@ ImagingNewArrow(
return im;
}
}
// Stored as [r,g,b,a,r,g,b,a....]
// Stored as [r,g,b,a,r,g,b,a,...]
if (strcmp(schema->format, "C") == 0 // uint8
&& im->pixelsize == 4 // storage as 32 bpc
&& schema->n_children == 0 // make sure schema is well formed.