allow to reduce nb pixels to transform