The Wayback Machine - https://web.archive.org/web/20201026230658/https://github.com/Intervention/image/issues/993
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

trim(): specify which colors to trim #993

Open
rentalhost opened this issue Dec 9, 2019 · 0 comments
Open

trim(): specify which colors to trim #993

rentalhost opened this issue Dec 9, 2019 · 0 comments

Comments

@rentalhost
Copy link

@rentalhost rentalhost commented Dec 9, 2019

Currently the first parameter $base is a string that could be: top-left (default), bottom-right or transparent as the doc: trim().

There some way to trim by color? In my case, I need trim transparent and/or white color, only. Eg.: trim([ 'transparent', 'white', '#FF0000']) to trim transparent, white and red. The problem is that first parameter is string.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
1 participant
You can’t perform that action at this time.