mirror of
https://github.com/talgo-cloud/bimg.git
synced 2026-03-13 17:30:28 -07:00
Merge pull request #166 from danjou-a/patch-1
Fix Resize verification value
This commit is contained in:
commit
ce7bbda0f5
1 changed files with 1 additions and 1 deletions
|
|
@ -132,7 +132,7 @@ if err != nil {
|
||||||
}
|
}
|
||||||
|
|
||||||
size, err := bimg.NewImage(newImage).Size()
|
size, err := bimg.NewImage(newImage).Size()
|
||||||
if size.Width == 400 && size.Height == 300 {
|
if size.Width == 800 && size.Height == 600 {
|
||||||
fmt.Println("The image size is valid")
|
fmt.Println("The image size is valid")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue