Cleanup data types

This commit is contained in:
2019-06-04 12:16:27 +09:00
parent e7f2550004
commit 3d526f9198
13 changed files with 23 additions and 210 deletions

@ -157,15 +157,6 @@ var animeImageOutputsHighDPI = []imageserver.Output{
},
}
// AnimeImage ...
type AnimeImage struct {
Extension string `json:"extension"`
Width int `json:"width"`
Height int `json:"height"`
AverageColor HSLColor `json:"averageColor"`
LastModified int64 `json:"lastModified"`
}
// SetImageBytes accepts a byte buffer that represents an image file and updates the anime image.
func (anime *Anime) SetImageBytes(data []byte) error {
// Decode