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

Add trim command #696

Open
5 tasks
foresterre opened this issue Dec 20, 2020 · 0 comments
Open
5 tasks

Add trim command #696

foresterre opened this issue Dec 20, 2020 · 0 comments
Labels
A-image-engine Area: changes related to the image engine A-parser Area: changes related to the image operations parser (all strategies)

Comments

@foresterre
Copy link
Owner

foresterre commented Dec 20, 2020

  • Should be able to trim a colour range, a single rgba colour, or transparency from the edges of an image

For example, if we have an image:

sic-trim

We would like to trim the, in this case transparent, edges from the image s it becomes (approx.):

sic-trim-to

To clarify, the first image has approx. the cyan bounding box, while the second has approx. the yellow bounding box:

sic-trim-clarify

Tasks:

  • investigate appropriate inputs, output
  • investigate syntax
  • implement image engine trim command
  • implement cli ops parser
  • implement script parser

Help:

@foresterre foresterre added A-parser Area: changes related to the image operations parser (all strategies) A-image-engine Area: changes related to the image engine labels Dec 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-image-engine Area: changes related to the image engine A-parser Area: changes related to the image operations parser (all strategies)
Projects
None yet
Development

No branches or pull requests

1 participant