github cshum/imagor v0.3.5

latest releases: v1.9.5, v1.9.4, v1.9.3...
4 years ago

Imagor 0.3.2 now leverages shrink-on-load whenever possible #9 , and migrated all resize operations using vips_thumbnail_image and vips_thumbnail_buffer. This should result performance boost for fit-in, stretch and resize operations with given width and height parameters beforehand.

However, when crop or trim is used, shrink-on-load needs to be disabled to remain feature parity. An option is to proceed trim() inside the filters: pipeline if this is allowed for your use case, such that shrink-on-load can also be leveraged.

  • feat(vips): optimize thumbnail operations by combining open and resize where possible
  • feat(vips) restructure all resize operations with vips_thumbnail_image and vips_thumbnail_buffer
  • feat(vips) restructure fill color using vips_embed extend background and vips_flatten
  • feat(imagor): -imagor-cache-header-ttl -1 for no-cache
  • fix(govips): fix vips_embed extend background potential memory leak
  • fix(govips): use vips-loader metadata to determine image type

Don't miss a new imagor release

NewReleases is sending notifications on new releases.