Simple server for On-the-Fly image processing in Go
go get -u github.com/shifr/imgwizard/cmd/imgwizard
Transform
now in a new file and uses https://github.com/foobaz/lossypng library to compress png images (quality of output_image you can set in query parameter ?q=90
(DEFAULT: 80%)Changes:
New features:
- Amazon S3 as origin. Just set up credentials in ENV and use s3
in url (instead of loc
or rem
or az
)
New features:
- Microsoft Azure as origin. Just set up credentials in ENV and use az
in url (instead of loc
or rem
)
- Ability to set cache destination path with X-Cache-Destination
HTTP header (instead of generating it)
- Removed image type check from url
- The -v
flag to check imgwizard version
Changes:
- URL regex now supports image sources without .<type>
- Cache path now includes remote storage domain.
Example: /tmp/cache/
myremotestorage.com/path/to/file_200x200.jpg