pub fn transform_is_valid_for(t: u8, w: u32, h: u32) -> boolExpand description
Which transforms keep the tile shape (a reference must reproduce tw x th): all 8 on square patches, only the identity/hflip/vflip/rot180 subgroup on non-square partial tiles.