Show HN: Ordered dithering command-line tool

scascino41 pts0 comments

GitHub - scascino4/dither: Ordered dithering command-line tool · GitHub

/" data-turbo-transient="true" />

Skip to content

Search or jump to...

Search code, repositories, users, issues, pull requests...

-->

Search

Clear

Search syntax tips

Provide feedback

--><br>We read every piece of feedback, and take your input very seriously.

Include my email address so I can be contacted

Cancel

Submit feedback

Saved searches

Use saved searches to filter your results more quickly

-->

Name

Query

To see all available qualifiers, see our documentation.

Cancel

Create saved search

Sign in

/;ref_cta:Sign up;ref_loc:header logged out"}"<br>Sign up

Appearance settings

Resetting focus

You signed in with another tab or window. Reload to refresh your session.<br>You signed out in another tab or window. Reload to refresh your session.<br>You switched accounts on another tab or window. Reload to refresh your session.

Dismiss alert

{{ message }}

scascino4

dither

Public

Notifications<br>You must be signed in to change notification settings

Fork

Star

main

BranchesTags

Go to file

CodeOpen more actions menu

Folders and files<br>NameNameLast commit message<br>Last commit date<br>Latest commit

History<br>7 Commits<br>7 Commits

images

images

src

src

.gitignore

.gitignore

README.md

README.md

build.sh

build.sh

View all files

Repository files navigation

dither

dither is a small C command-line tool that converts an image to a 16-color VGA-style palette using<br>ordered dithering. The palette is defined in src/palette.h. To use different colors: edit that<br>file, rebuild, and rerun.

Build

Build with:

./build.sh

This creates the executable at:

build/dither

Usage

build/dither image-in image-out.{jpg,jpeg,png}

Example:

build/dither images/pieta.jpg images/pieta-dither.jpg

About

Ordered dithering command-line tool

Topics

dithering

Resources

Readme

Uh oh!

There was an error while loading. Please reload this page.

Activity

Stars

stars

Watchers

watching

Forks

forks

Report repository

Releases

No releases published

Packages

Uh oh!

There was an error while loading. Please reload this page.

Contributors

Uh oh!

There was an error while loading. Please reload this page.

Languages

98.5%

Shell<br>1.5%

You can’t perform that action at this time.

dither build reload dithering search ordered

Related Articles