Browse Source

Add tip on fixing low-spread palettes

pull/3/head
makeworld 5 years ago
parent
commit
bdde6dde92
  1. 2
      MANPAGE.md
  2. 7
      didder.1
  3. 2
      didder.1.md

2
MANPAGE.md

@ -234,6 +234,8 @@ Dithered images must only be encoded in a lossless image format. This is why the
To increase the dithering artifacts for aesthetic effect, you can downscale the image before dithering and upscale after. Like if the image is 1000 pixels tall, your command can look like **didder --height 500 --upscale 2 [...]**. Depending on the input image size and what final size you want, you can of course just upscale as well. To increase the dithering artifacts for aesthetic effect, you can downscale the image before dithering and upscale after. Like if the image is 1000 pixels tall, your command can look like **didder --height 500 --upscale 2 [...]**. Depending on the input image size and what final size you want, you can of course just upscale as well.
If your palette (original or recolor) is low-spread, meaning it doesn't span much of the available shades of a single hue or the entire RGB space, you can use flags like **\--brightness**, **\--contrast**, and **\--saturation** to improve the way dithered images turn out. For example, if your palette is dark, you can turn up the brightness.
# EXAMPLES # EXAMPLES
**didder --palette 'black white' -i input.jpg -o test.png bayer 16x16** **didder --palette 'black white' -i input.jpg -o test.png bayer 16x16**

7
didder.1

@ -480,6 +480,13 @@ Like if the image is 1000 pixels tall, your command can look like
\f[B]didder \[en]height 500 \[en]upscale 2 [\&...]\f[R]. \f[B]didder \[en]height 500 \[en]upscale 2 [\&...]\f[R].
Depending on the input image size and what final size you want, you can Depending on the input image size and what final size you want, you can
of course just upscale as well. of course just upscale as well.
.PP
If your palette (original or recolor) is low-spread, meaning it
doesn\[cq]t span much of the available shades of a single hue or the
entire RGB space, you can use flags like \f[B]--brightness\f[R],
\f[B]--contrast\f[R], and \f[B]--saturation\f[R] to improve the way
dithered images turn out.
For example, if your palette is dark, you can turn up the brightness.
.SH EXAMPLES .SH EXAMPLES
.TP .TP
\f[B]didder \[en]palette `black white' -i input.jpg -o test.png bayer 16x16\f[R] \f[B]didder \[en]palette `black white' -i input.jpg -o test.png bayer 16x16\f[R]

2
didder.1.md

@ -207,6 +207,8 @@ Dithered images must only be encoded in a lossless image format. This is why the
To increase the dithering artifacts for aesthetic effect, you can downscale the image before dithering and upscale after. Like if the image is 1000 pixels tall, your command can look like **didder --height 500 --upscale 2 [...]**. Depending on the input image size and what final size you want, you can of course just upscale as well. To increase the dithering artifacts for aesthetic effect, you can downscale the image before dithering and upscale after. Like if the image is 1000 pixels tall, your command can look like **didder --height 500 --upscale 2 [...]**. Depending on the input image size and what final size you want, you can of course just upscale as well.
If your palette (original or recolor) is low-spread, meaning it doesn't span much of the available shades of a single hue or the entire RGB space, you can use flags like **\--brightness**, **\--contrast**, and **\--saturation** to improve the way dithered images turn out. For example, if your palette is dark, you can turn up the brightness.
# EXAMPLES # EXAMPLES
**didder --palette 'black white' -i input.jpg -o test.png bayer 16x16** **didder --palette 'black white' -i input.jpg -o test.png bayer 16x16**

Loading…
Cancel
Save