%PDF- %PDF-
Direktori : /lib/calibre/calibre/utils/magick/ |
Current File : //lib/calibre/calibre/utils/magick/__init__.py |
#!/usr/bin/env python3 __license__ = 'GPL v3' __copyright__ = '2010, Kovid Goyal <kovid@kovidgoyal.net>' __docformat__ = 'restructuredtext en' from calibre.utils.magick.legacy import Image, PixelWand if False: PixelWand def create_canvas(width, height, bgcolor='#ffffff'): canvas = Image() canvas.create_canvas(int(width), int(height), str(bgcolor)) return canvas