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

Source Image Cropping #3

Open
matthewnau opened this issue Mar 1, 2022 · 0 comments
Open

Source Image Cropping #3

matthewnau opened this issue Mar 1, 2022 · 0 comments
Assignees
Labels
new feature New feature to be implemented pre-processing Issues relating to the steps before rendering

Comments

@matthewnau
Copy link
Owner

matthewnau commented Mar 1, 2022

Feature Outline:

Define an optional argument that allows users to crop their source image by a specified amount of pixels. This crop would work from the outside-in and apply to all 4 sides of the image.

This option should be non-destructive and only factor in as an additional step in the rendering process, therefore leaving the original image untouched. Should the user find the output unsatisfactory, they can then run the operation again with a different value without having to reacquire the source image.

Argument Syntax Example:

-crop 15 (value is set in pixels)

Additional Notes:

  • Consider allowing the user to crop only specific sides (left, right, top, bottom)
  • Consider allowing the user to crop each side a different amount (e.g. -crop-left 10 -crop-right 15 -crop-top 5)
  • Consider how inheritance of cropping factors in. If a user specified a default -crop 15 and a -crop-left 10 would all sides be cropped by 15px except for the left which would then be cropped by 10px?
@matthewnau matthewnau added the new feature New feature to be implemented label Mar 1, 2022
@matthewnau matthewnau self-assigned this Mar 1, 2022
@matthewnau matthewnau added the pre-processing Issues relating to the steps before rendering label Mar 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new feature New feature to be implemented pre-processing Issues relating to the steps before rendering
Projects
None yet
Development

No branches or pull requests

1 participant