mirror of
https://github.com/talgo-cloud/bimg.git
synced 2026-03-08 23:18:19 -07:00
refactor(vips)
This commit is contained in:
parent
5d13fba8be
commit
a29fa25dfc
4 changed files with 22 additions and 9 deletions
|
|
@ -72,6 +72,8 @@ func Resize(buf []byte, o Options) ([]byte, error) {
|
|||
residual = float64(shrink) / factor
|
||||
}
|
||||
|
||||
debug("Test %s, %s, %s", shrink, residual, factor)
|
||||
|
||||
// Zoom image if necessary
|
||||
image, err = zoomImage(image, o.Zoom)
|
||||
if err != nil {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue