SIGN IN SIGN UP

Fixed huge allocation cropping shared media photos.

CropMediaFrame() cut the frame out at the source resolution before
scaling, deep copying the whole cut region - a few hundred megabytes for
a 12000x9000 photo in a square cell. Expanding to the box applies the
same scale factor, so the visible pixels are unchanged.
J
John Preston committed
1d76c8f9799a6bb5510d24ef836a062794504490
Parent: 4bdb250