@ptrblck pardon my ignorance, but because I padSquare first, which gives me a square image, the input to the next compose (Resize) is square - and therefore an int should be fine - is it not the case?