fixed doctoring return type for transform
Dimensions were reversed before.

i had switched the height and field in the tuple used by django and PIL for dimensions.