09ecbae1437ca9f394eb236ca7198d4842682720,imagekit/processors/resize.py,Fit,process,#Fit#,140
Before Change
new_dimensions[1]).process(img)
if self.mat_color:
new_img = Image.new("RGBA", (self.width, self.height), self.mat_color)
new_img.paste(img, ((self.width - img.size[0]) / 2, (self.height - img.size[1]) / 2))
img = new_img
return img
After Change
img = BasicResize(new_dimensions[0],
new_dimensions[1]).process(img)
if self.mat_color:
img = Mat(self.width, self.height, self.mat_color).process(img)
return img
class SmartCrop(crop.SmartCrop):
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances
Project Name: matthewwithanm/django-imagekit
Commit Name: 09ecbae1437ca9f394eb236ca7198d4842682720
Time: 2012-02-17
Author: jan@netrebel.de
File Name: imagekit/processors/resize.py
Class Name: Fit
Method Name: process
Project Name: matthewwithanm/django-imagekit
Commit Name: 4278a950019d85260d7a6727dd0752ffd55d6d17
Time: 2012-02-11
Author: matthew@exanimo.com
File Name: imagekit/processors/crop.py
Class Name: Crop
Method Name: process
Project Name: matthewwithanm/django-imagekit
Commit Name: ce7353b0bd711769bae521bbb51acca85cf77460
Time: 2012-02-11
Author: matthew@exanimo.com
File Name: imagekit/processors/resize.py
Class Name: Fill
Method Name: process