v0.8.23
Filter focal(AxB:CxD)
Adds a focal region for custom transformation, coordinated by left-top point AxB and right-bottom point CxD.
Also accepts float values between 0 and 1 that represents percentage of image dimensions.
http://localhost:8000/unsafe/200x50/smart/filters:fill(white)/https://raw.githubusercontent.com/cshum/imagor/master/testdata/gopher.png
http://localhost:8000/unsafe/200x50/smart/filters:fill(white):focal(589x401:1000x814)/https://raw.githubusercontent.com/cshum/imagor/master/testdata/gopher.png
http://localhost:8000/unsafe/200x50/smart/filters:fill(white):focal(0.35x0.25:0.6x0.3)/https://raw.githubusercontent.com/cshum/imagor/master/testdata/gopher.png
What's Changed
- feat(imagor): modified time check by @cshum in #58
- feat(imagorpath): signer abstraction by @cshum in #59
- feat(imagorpath): safe chars abstraction by @cshum in #60
- feat(vips): focal filter by @cshum in #61
Full Changelog: v0.8.22...v0.8.23