Releases: shifr/imgwizard
Releases · shifr/imgwizard
1.6
- New query parameter "original=true", to return original image without processing and saving to cache
- Package reorganization, now you should use new command to get or update imgwizard
go get -u github.com/shifr/imgwizard/cmd/imgwizard
- Function
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%)
1.5
1.4
1.3
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
1.2
- Origin storages:
- Local file system
- Remote url
- Functions:
- Resize
- Crop
- Global quality and per request
- Cache location:
- Local file system
- Amazon S3
- Microsoft Azure Storage
- Supported formats(others return without processing):
- jpeg
- png
- Return WebP images if browser supports it