Skip to content

v0.8.23

Compare
Choose a tag to compare
@cshum cshum released this 30 May 14:46
· 579 commits to master since this release

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

gopher gopher (1) gopher (2)

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