mirror of
https://github.com/talgo-cloud/bimg.git
synced 2026-03-13 09:20:29 -07:00
refactor(resizer): remove fmt statement
This commit is contained in:
parent
1f5f95c3c8
commit
0885d7e93e
1 changed files with 0 additions and 1 deletions
|
|
@ -90,7 +90,6 @@ func resizer(buf []byte, o Options) ([]byte, error) {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Transform image, if necessary
|
// Transform image, if necessary
|
||||||
fmt.Printf("should transform: %#v", shouldTransformImage(o, inWidth, inHeight))
|
|
||||||
if shouldTransformImage(o, inWidth, inHeight) {
|
if shouldTransformImage(o, inWidth, inHeight) {
|
||||||
image, err = transformImage(image, o, shrink, residual)
|
image, err = transformImage(image, o, shrink, residual)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue