Skip to content

crop images #19

Description

@andrewrk

I think it should be possible to crop images without data loss. It could work by adjusting the anchor position to take into account the offset caused by cropping. So if we cropped 10 pixels off the left side of the image, move the anchor position 10 pixels to the left.

Note this would require saving the input anchor position, for 2 reasons:

  1. So that we could detect modifications to the asset manifest correctly.
  2. So that we could generate the original image from the texture
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions