Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Artifact mode improvements #4

Open
dshadoff opened this issue Nov 26, 2020 · 0 comments
Open

Artifact mode improvements #4

dshadoff opened this issue Nov 26, 2020 · 0 comments

Comments

@dshadoff
Copy link
Member

Currently, artifact mode is set on the second half of a 2-pixel couplet (at 256 horizontal pix), and repeated in the following entry.
This means that:
a) the first active pixel of the line will need to be set to black.
b) the last pixel of the line only retains its color for a half-width (1 pix instead of 2).

A better approach would involve having a 2-pixel (or 1 artifacted pixel) look-behind and look-ahead buffers, and calculate based on that:
if prev pixel/next pixel is white and current is artifacted, make it a lighter color.
if prev pixel/next pixel together with current pixel results in a '00' combination crossing a pix boundary, make the articfacted pixel(s) half-width.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant