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

Option to not autocrop/ recentre for asymmetric overlays #437

Open
mbfgit opened this issue Sep 24, 2023 · 0 comments
Open

Option to not autocrop/ recentre for asymmetric overlays #437

mbfgit opened this issue Sep 24, 2023 · 0 comments

Comments

@mbfgit
Copy link

mbfgit commented Sep 24, 2023

Is your feature request related to a problem? Please describe.
I use custom overlays which are mostly hex, but have additional non-transparent pixels on one side of the hex (front facing). These are centred correctly based on the hex centre in the overlay+mask, but when saving an image from tokentool, the token is re-centred based on the extents of non-transparent pixels in the overlay, so the resulting token image is not centred w.r.t. the layout in the overlay.

Describe the solution you'd like
It would be nice to have an option to not auto-crop/re-centre overlay/mask if you know your overlay is asymmetric, but centred within the extent of the overlay psd. Either on overlay import or within overlay options would both be fine.

Describe alternatives you've considered
At the moment I'm post-processing each image to shift the content up vertically about 3% within the frame.

Additional context
Example of overlay and token produced without any portrait or background image (the token is 12px shifted down vertically vs where it should be):
aquaoverlay
overlay_mask

aquatoken

@mbfgit mbfgit changed the title Option to not autocrop/ recentre Option to not autocrop/ recentre for asymmetric tokens Sep 24, 2023
@mbfgit mbfgit changed the title Option to not autocrop/ recentre for asymmetric tokens Option to not autocrop/ recentre for asymmetric overlays Sep 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant