Replies: 2 comments 1 reply
-
Not sure if I would want to bundle this package with this library but you could register custom encoders if you need to handle HEIF files: package example
import (
"github.com/modernice/media-entity/goes/esgallery"
)
func example() {
var enc esgallery.Encoder
enc.Register("image/heif", func(w io.Writer, img image.Image) error {
// ... encode image, write result into w ...
})
p := esgallery.NewProcessor(&enc, ...)
} |
Beta Was this translation helpful? Give feedback.
1 reply
-
Here is an idea then.. integrate wasm so that UDF can be used but not weigh down the code. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Seems to support it
https://github.com/adrium/goheif Would be a decent example
Beta Was this translation helpful? Give feedback.
All reactions