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

%@ returns the incorrect trim bounding box. #861

Open
huxleyElateral opened this issue Apr 27, 2023 · 0 comments
Open

%@ returns the incorrect trim bounding box. #861

huxleyElateral opened this issue Apr 27, 2023 · 0 comments

Comments

@huxleyElateral
Copy link

huxleyElateral commented Apr 27, 2023

When using GM that uses a subclass of {imageMagick : true} or { imageMagick: '7+'} with an image containing white space the incorrect trim bounding box is returned i.e.
0x0+250+300.

When using GM that uses a subclass of {imageMagick : true} or { imageMagick: '7+'} with an image not containing white space the incorrect trim bounding box is returned i.e.
0x0+250+300. // still looks off

When using GM that does not use the subclass with an image containing white space the incorrect trim bounding box is still returned while the format looks better i.e.
250x300+0+0. // while now the format looks better, this is not the trim bounding box, running imageMagick locally with the formatter of '%@' will return the correct trim box of i.e. 150x150+30+60

adding small examle of the problem

gm-trim-box.zip

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