mirror of
https://github.com/talgo-cloud/bimg.git
synced 2026-03-11 08:20:34 -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()
|
||||
if size.Width == 400 && size.Height == 300 {
|
||||
if size.Width == 800 && size.Height == 600 {
|
||||
fmt.Println("The image size is valid")
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue