Skip to content

Trailing black pixels for RAW with zoom #1

Description

@majdisorder

When specifying zoom, the raw output produces trailing black pixels because of a faulty calculation in the output writer.

To fix: on Ln 43 of raw_output_writer.cpp change

write(white, zoom_ * 2 * size.width + 1);

to

write(white, zoom_ * (2 * size.width + 1));

Sorry, didn't feel like creating a PR for such a tiny thing :-)

Activity

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions