I added some comments to the ImageEntity class regarding the transform method.