Skip to content

auto crop transparent images #225

Open
@stevekrouse

Description

@stevekrouse

auto cropping transparent images by removing image data of all zero rows and columns https://gist.github.com/remy/784508 (probs need to cache image data until someone changes angle or size and would have to get more precise about placing cropped image data on collision canvas instead of just rendering to x and y, or I could figure out how to replace drawImage with an equivalent drawImageData and not worry about it )

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions