Skip to content

v0.9.10

Compare
Choose a tag to compare
@cshum cshum released this 01 Aug 16:04
· 377 commits to master since this release

Revamp Config Initialization

When using Imagor as a Go package, it is now much easier to reuse and enable/disable components being loaded. For instance the main function now looks like this:

package main

import (
	"github.com/cshum/imagor/config"
	"github.com/cshum/imagor/config/awsconfig"
	"github.com/cshum/imagor/config/gcloudconfig"
	"github.com/cshum/imagor/config/vipsconfig"
	"os"
)

func main() {
	var server = config.CreateServer(
		os.Args[1:],
		vipsconfig.WithVips, // enable libvips Processor config
		awsconfig.WithAWS, // enable AWS Loader, Storage, Result Storage config
		gcloudconfig.WithGCloud // enable GCS Loader, Storage, Result Storage config
	)
	if server != nil {
		server.Run()
	}
}

Better PNG Performance

Added libspng to Docker build. When possible, libvips 8.13 will use the library for PNG write as well as PNG read. This can produce a useful increase in PNG speed.

What's Changed

  • build(vips): meson build for libvips by @cshum in #87
  • build(deps): bump cloud.google.com/go/storage from 1.23.0 to 1.24.0 by @dependabot in #86
  • refactor: revamp config architecture by @cshum in #88
  • build(docker): add jp2 by @cshum
  • build(docker): add libspng by @cshum in #89
  • build(docker): improve docker build and push workflow by @cshum in #92

Full Changelog: v0.9.8...v0.9.10