Skip to content

v1.3

Choose a tag to compare

@thewizardplusplus thewizardplusplus released this 27 Jun 22:47
· 64 commits to master since this release

Supplement the information about versions, make a log colorful and prepare the package for a publication.

Change Log

Closed issues:

  • Make a log colorful #15
  • Process of the KeyboardInterrupt exception #16
  • Use an uppercase in names of services files #18
  • Prepare the package for a publication #20
  • Correct the usage description #21
  • Versions:
    • Specify a package version in the __init__.py file #12
    • Specify a minimal Python version in the setup.py file #13
    • Specify dependencies versions in the setup.py file #14
    • Refactor the version message #17
    • Automatically set a version number in the setup.py file #19

Fixed bugs:

  • Use a context manager on a working with a database #22

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

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