This commit is contained in:
Kovid Goyal 2011-10-27 14:44:35 +05:30
parent c212da613d
commit c8b2795416

View File

@ -1,7 +1,6 @@
from calibre.web.feeds.news import BasicNewsRecipe from calibre.web.feeds.news import BasicNewsRecipe
import re import re
from calibre.ebooks.BeautifulSoup import BeautifulSoup from calibre.utils.magick import Image
from calibre.utils.magick import Image, PixelWand, create_canvas
''' Version 1.2, updated cover image to match the changed website. ''' Version 1.2, updated cover image to match the changed website.
@ -73,7 +72,6 @@ class AdvancedUserRecipe1306097511(BasicNewsRecipe):
img.open(iurl) img.open(iurl)
#width, height = img.size #width, height = img.size
#print '***img is: ', iurl, '\n****width is: ', width, 'height is: ', height #print '***img is: ', iurl, '\n****width is: ', width, 'height is: ', height
pw = PixelWand()
img.trim(0) img.trim(0)
img.save(iurl) img.save(iurl)
''' '''