Skip to content

Commit

Permalink
Correct the docstring to state that dither is enabled by default
Browse files Browse the repository at this point in the history
  • Loading branch information
shanecranor authored and miikanissi committed Oct 5, 2024
1 parent 2d875ca commit c9a8c00
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion zebrafy/zebrafy_image.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ class ZebrafyImage:
- ``"Z64"``: LZ77 / Zlib compressed base64 binary - best compression
:param invert: Invert the black and white in resulting image, defaults to ``False``
:param dither: Dither the pixels instead of hard limit on black and white, \
defaults to ``False``
defaults to ``True``
:param threshold: Black pixel threshold for undithered image (``0-255``), defaults \
to ``128``
:param width: Width of the image in the resulting ZPL. If ``0``, use default image \
Expand Down
2 changes: 1 addition & 1 deletion zebrafy/zebrafy_pdf.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ class ZebrafyPDF:
- ``"Z64"``: LZ77 / Zlib compressed base64 binary - best compression
:param invert: Invert the black and white in resulting image, defaults to ``False``
:param dither: Dither the pixels instead of hard limit on black and white, \
defaults to ``False``
defaults to ``True``
:param threshold: Black pixel threshold for undithered PDF (``0-255``), defaults \
to ``128``
:param dpi: Pixels per PDF canvas unit. This defines the resolution scaling of the \
Expand Down

0 comments on commit c9a8c00

Please sign in to comment.