Skip to content

v1.2

Choose a tag to compare

@thewizardplusplus thewizardplusplus released this 09 Mar 10:22
· 85 commits to master since this release

An installation, a refactoring and a bugs fixing.

Change Log

Closed issues:

  • Separate the code to some subpackages #9
  • Add an installation via pip tool #7

Fixed bugs:

  • Include a logging initialization into a try-except block #11
  • Close a database connection #10
  • Correct an exit code on an error #8

Features

  • a generation of memes (in PNG format);
  • a support of plain and graphic backgrounds;
  • a specification of a text rectangle;
  • a support of horizontal and vertical text alignments;
  • a read of memes texts from a file (each text is separated from another by a double newline);
  • a support single-line and multiline memes texts;
  • a protection against duplicate memes texts;
  • a support of a watermark (it's optional);
  • meme settings:
    • background:
      • color;
      • width;
      • height;
      • image (it supports same formats as Pillow library);
    • text:
      • font (it supports only TrueType fonts);
      • size;
      • color;
      • left;
      • rigth;
      • top;
      • bottom;
      • horizontal alignment;
      • vertical alignment;
    • watermark:
      • font (it always uses the text font);
      • text;
      • size;
      • color.

Screenshots

Installation

Installation

Help message, part 1

Help message, part 1

Help message, part 2

Help message, part 2

Generation of images

Generation of images

Generated image

Generated image