Improved avatar background job

This commit is contained in:
2017-06-13 13:23:54 +02:00
parent 4145f86e84
commit bdb8d983d2
8 changed files with 139 additions and 26 deletions

10
jobs/avatars/Avatar.go Normal file
View File

@ -0,0 +1,10 @@
package main
import "image"
// Avatar represents a single image and the name of the format.
type Avatar struct {
Image image.Image
Data []byte
Format string
}