disintegration / imaging

Imaging is a simple image processing package for Go
MIT License
5.3k stars 443 forks source link

Image changes after resizing #93

Closed dayanfcosta closed 5 years ago

dayanfcosta commented 5 years ago

Hi, I'm facing a trouble when manipulating some images. Its color (or something like) is changing when I manipulate them. Actually I don't know if it's openning or resizing image.

My source code: imageSrc, err := imaging.Open(fullPath) imageSrc= imaging.Resize(imageSrc, width, 0, imaging.Lanczos) What can be happening?

original image: 9781

image after manipulating: 10305_p_9781

10305_m_9781

10305_g_9781

dayanfcosta commented 5 years ago

Closing this issue, I have noticed that lib has nothing wrong, it's with the golang image package