Guys, I have a project that contains a very old code, referring to govips v1, and I need to refactor it, but I'm having a lot of difficulty, would anyone know how to help me?
Hey, thanks for the question. The API has been pretty completely revamped and doesn't support method chaining anymore. I recommend you just check the current documentation.
Guys, I have a project that contains a very old code, referring to govips v1, and I need to refactor it, but I'm having a lot of difficulty, would anyone know how to help me?
`func ResizeImage(imageBuffer bytes.Buffer, width, height int) (bytes.Buffer, error) { imageRef, _ := vips.LoadImage(imageBuffer)
}`