We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi buddy , My Code is :
src2,_:=imaging.Open("./screen.png") //screen.png is px is 160*60 imaging.Resize(src2,320,120,imaging.Lanczos)
err = imaging.Save(src2,"./example02.png")
it can`t work , example02.png also is 160*60
how can i resize the bigger image ?
The text was updated successfully, but these errors were encountered:
Hi, The Resize function returns the new (resized) image. Try changing the second line this way:
Resize
src2 = imaging.Resize(src2, 320, 120, imaging.Lanczos)
Sorry, something went wrong.
It`s okay , thanks buddy !
Hi @disintegration , I have used imaging for sometimes, and faced an issue when resizing images.
It's corrupted, resulting image in grey blocks as following attachment. Can you please tell me what is the root cause? Thanks a lot.
No branches or pull requests
Hi buddy ,
My Code is :
src2,_:=imaging.Open("./screen.png") //screen.png is px is 160*60
imaging.Resize(src2,320,120,imaging.Lanczos)
err = imaging.Save(src2,"./example02.png")
it can`t work , example02.png also is 160*60
how can i resize the bigger image ?
The text was updated successfully, but these errors were encountered: