Skip to content

Releases: thewizardplusplus/white-generator

v2.0

Choose a tag to compare

@thewizardplusplus thewizardplusplus released this 19 Oct 21:38

Refactoring and option enhancements.

Change Log

Closed issues:

  • Refactoring:
    • Support for separate options in the classes from the types.py file #25
    • Cover the project code with unit tests #26
    • Use the type hints over the project code #27
  • New features:
    • Support for working with a default font #31
    • Support for negative text rectangle coordinates (with wrapping) #32
    • Support for resizing a background image #36
  • Option enhancements:
    • Support for a default output path #29
    • Support for disabling the protection against duplicate meme texts #30
    • Store notes in the home directory by constant path #33
  • Misc.:
    • Migrate to the pyproject.toml configuration #23
    • Update the dependencies #24
    • Add the Makefile with the basic commands #34

Fixed bugs:

  • Fix the bug with the generation expression #28
  • Font descent is not taken into account when obtaining a bounding box of text #39

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 (it's optional);
  • a support of a watermark (it's optional);
  • meme settings:
    • background:
      • color;
      • width;
      • height;
      • image:
        • it supports the same formats as Pillow library;
        • it'll be resized to the specified size (it's optional);
      • resizing filter;
    • text:
      • font:
        • it supports only TrueType fonts;
        • it's optional (if none, the Pillow library's default font is used);
      • size;
      • color;
      • rectangle:
        • left;
        • rigth (if the value is negative, the image width is added to it);
        • top;
        • bottom (if the value is negative, the image height is added to it);
      • horizontal alignment;
      • vertical alignment;
    • watermark:
      • font (it always uses the text font);
      • text;
      • size;
      • color.

Generated Images

v1.3

Choose a tag to compare

@thewizardplusplus thewizardplusplus released this 27 Jun 22:47

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

v1.2

Choose a tag to compare

@thewizardplusplus thewizardplusplus released this 09 Mar 10:22

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

v1.1

Choose a tag to compare

@thewizardplusplus thewizardplusplus released this 15 Feb 00:19

Added a support of graphic backgrounds and a fitting a text into a specified rectangle.

Change Log

Closed issues:

  • Fit a text into a specified rectangle #6
  • Add text limits options #5
  • Wrap a long text #4
  • Add a support of an image background #3
  • Add text align options #2
  • Add text position options #1

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

v1.0

Choose a tag to compare

@thewizardplusplus thewizardplusplus released this 14 Feb 20:49

Features

  • a generation of memes (in PNG format) with a plain background and a centric text;
  • 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;
    • text:
      • font (it supports only TrueType fonts);
      • size;
      • color;
    • 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