h2non / bimg

Go package for fast high-level image processing powered by libvips C library
https://pkg.go.dev/github.com/h2non/bimg?tab=doc
MIT License
2.65k stars 337 forks source link

Factor calculate mistake #448

Open IevgenLuzan opened 1 year ago

IevgenLuzan commented 1 year ago

`image.Process(bimg.Options{

    Height:        630,
    Width:         720,
    Quality:       97,
    Compression:   0,
    StripMetadata: true,
    Lossless:      false,
    Type:          bimg.WEBP,
    Interpolator:  bimg.Nearest,
    NoAutoRotate:  false,
    Speed:         1,
})`

` golang 1.19 Linux Ubuntu/Debian 11 github.com/h2non/bimg v1.1.9 Zip contains original, expected and actual results

example.zip