mirror of
https://github.com/talgo-cloud/bimg.git
synced 2026-03-08 23:18:19 -07:00
Fix Resize verification value
The resize is 800x600 and the checking was 400x300 after resizing.
This commit is contained in:
parent
878125c410
commit
fe1c23ea1e
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