Fix Resize verification value

The resize is 800x600 and the checking was 400x300 after resizing.
This commit is contained in:
Quentin DANJOU 2017-07-06 16:35:52 +02:00 committed by GitHub
parent 878125c410
commit fe1c23ea1e

View file

@ -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")
}