X-Git-Url: https://git.mdrn.pl/librarian.git/blobdiff_plain/f318053fb3349c5364cfb866b2a3d33c2423e12a..0b32c81b837233ea59fdd1b5f19edc935f7b626d:/librarian/cover.py?ds=sidebyside diff --git a/librarian/cover.py b/librarian/cover.py index dfd451b..ff01841 100644 --- a/librarian/cover.py +++ b/librarian/cover.py @@ -435,3 +435,12 @@ class GandalfCover(Cover): logo_bottom = 25 logo_width = 250 format = 'PNG' + +class FutureOfCopyrightCover(Cover): + width = 420 + height = 595 + background_img = 'cover.png' + format = 'PNG' + + def save(self, dest): + dest.write(open(self.background_img).read())