Image transform sometimes changes the resutling image size. Make sure the size is correct.