Save image optimized otherwise save image without enhancement
Save image optimized otherwise save image without enhancement

Some large JPEG images (say 3000x3000) would trigger an IOError
exception when PIL engine is storing the image. The solution is to
increase ImageFile.MAXBLOCK. This modification allows to save the image
without enhancement when it is bigger than ImageFile.MAXBLOCK, so the
image is stored anyway, but it logs a message in order to hint one to
increase the value of ImageFile.MAXBLOCK for fine tuning.

davduran/thumbor,MaTriXy/thumbor,MaTriXy/thumbor,Jimdo/thumbor,jiangzhonghui/thumbor,lfalcao/thumbor,jdunaravich/thumbor,davduran/thumbor,suwaji/thumbor,camargoanderso/thumbor,lfalcao/thumbor,abaldwin1/thumbor,abaldwin1/thumbor,okor/thumbor,felipemorais/thumbor,scorphus/thumbor,food52/thumbor,2947721120/thumbor,marcelometal/thumbor,davduran/thumbor,food52/thumbor,fanhero/thumbor,dhardy92/thumbor,kkopachev/thumbor,MaTriXy/thumbor,thumbor/thumbor,kkopachev/thumbor,thumbor/thumbor,food52/thumbor,adeboisanger/thumbor,jdunaravich/thumbor,figarocms/thumbor,suwaji/thumbor,Bladrak/thumbor,Jimdo/thumbor,fanhero/thumbor,food52/thumbor,okor/thumbor,gselva/thumbor,figarocms/thumbor,jiangzhonghui/thumbor,suwaji/thumbor,raphaelfruneaux/thumbor,adeboisanger/thumbor,lfalcao/thumbor,raphaelfruneaux/thumbor,gselva/thumbor,Jimdo/thumbor,grevutiu-gabriel/thumbor,abaldwin1/thumbor,aaxx/thumbor,jiangzhonghui/thumbor,aaxx/thumbor,wking/thumbor,kkopachev/thumbor,adeboisanger/thumbor,BetterCollective/thumbor,wking/thumbor,BetterCollective/thumbor,grevutiu-gabriel/thumbor,camargoanderso/thumbor,suwaji/thumbor,scorphus/thumbor,wking/thumbor,MaTriXy/thumbor,jdunaravich/thumbor,fanhero/thumbor,grevutiu-gabriel/thumbor,raphaelfruneaux/thumbor,felipemorais/thumbor,2947721120/thumbor,lfalcao/thumbor,aaxx/thumbor,Jimdo/thumbor,voxmedia/thumbor,aaxx/thumbor,wking/thumbor,abaldwin1/thumbor,marcelometal/thumbor,figarocms/thumbor,2947721120/thumbor,davduran/thumbor,grevutiu-gabriel/thumbor,jiangzhonghui/thumbor,figarocms/thumbor,fanhero/thumbor,okor/thumbor,kkopachev/thumbor,thumbor/thumbor,gi11es/thumbor,dhardy92/thumbor,Bladrak/thumbor,camargoanderso/thumbor,gselva/thumbor,scorphus/thumbor,raphaelfruneaux/thumbor,felipemorais/thumbor,scorphus/thumbor,BetterCollective/thumbor,voxmedia/thumbor,marcelometal/thumbor,2947721120/thumbor,jdunaravich/thumbor,gi11es/thumbor,dhardy92/thumbor,felipemorais/thumbor,thumbor/thumbor,voxmedia/thumbor,adeboisanger/thumbor,camargoanderso/thumbor,gselva/thumbor,gi11es/thumbor