Skip to content

Add trim command #696

Open
Open
@foresterre

Description

@foresterre
  • 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:

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-image-engineArea: changes related to the image engineA-parserArea: changes related to the image operations parser (all strategies)

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions