Skip to content

Method ScaleNX. #16

@zvezdochiot

Description

@zvezdochiot

Hi @bbbbbr .

See stbiscalenx: Stb Image Scale Near X.

This method is very similar to ScaleX. This method does not add new colors, only uses those that already exist. Replacing equal with near makes color selection more flexible, allowing pixel scaling techniques to be applied even to full-color images. I use this to scale scanned material containing a lot of glyphs and contours.

origin x2 x3
orig x2 x3

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions