mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2024-12-23 10:42:12 +00:00
91c8d5d20d
* use disintegration/imaging instead of nfnt/resize * update tests * use disintegration lib for thumbing (if necessary)
8 lines
366 B
Go
8 lines
366 B
Go
/*
|
|
Package imaging provides basic image processing functions (resize, rotate, crop, brightness/contrast adjustments, etc.).
|
|
|
|
All the image processing functions provided by the package accept any image type that implements image.Image interface
|
|
as an input, and return a new image of *image.NRGBA type (32bit RGBA colors, non-premultiplied alpha).
|
|
*/
|
|
package imaging
|