mirror of
https://github.com/talgo-cloud/bimg.git
synced 2026-03-14 18:05:55 -07:00
fix(type_test): use string formatting
This commit is contained in:
parent
6837999321
commit
1f5f95c3c8
2 changed files with 5 additions and 4 deletions
|
|
@ -90,6 +90,7 @@ func resizer(buf []byte, o Options) ([]byte, error) {
|
|||
}
|
||||
|
||||
// Transform image, if necessary
|
||||
fmt.Printf("should transform: %#v", shouldTransformImage(o, inWidth, inHeight))
|
||||
if shouldTransformImage(o, inWidth, inHeight) {
|
||||
image, err = transformImage(image, o, shrink, residual)
|
||||
if err != nil {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue