Open sadegh-shahbazi opened 5 years ago
I agree. It would be helpfull if there were more usage examples in the documentation. I will look into it.
As for the error message, the "golang.org/x/image/bmp" package is not found in your package search path. To fix that, run the go get
command to download the imaging
package and its dependencies:
go get github.com/disintegration/imaging
Alternatively you can go get
the "golang.org/x/image/bmp" directly:
go get golang.org/x/image/bmp
Okay, so here are a few ideas to put in a future "/examples" folder:
One more example to add (because I don't find the right way) is to make a drop shadow based on alpha. The idea is to get the alpha, dilate it, blur, apply it under the original image. If someone has got the right method...
It's hard to use this package I just find this tutorial https://socketloop.com/tutorials/golang-resize-image
can you put more examples???plz
and what is this error: