Initial commit

This commit is contained in:
2024-08-29 11:32:55 +02:00
commit b168c688cd
9 changed files with 226 additions and 0 deletions

12
codec/coder.go Normal file
View File

@@ -0,0 +1,12 @@
package codec
import (
"bytes"
"image"
"io"
)
type Coder interface {
Decode(io.Reader) (image.Image, error)
Encode(image.Image, int) (bytes.Buffer, error)
}