Safe Haskell | None |
---|
Convert between FFmpeg frames and JuicyPixels images.
Documentation
toJuicyT :: AVFrame -> MaybeT IO DynamicImageSource
Convert an AVFrame
to a DynamicImage
with the result in the
MaybeT
transformer.
toJuicyT = MaybeT . toJuicy
toJuicy :: AVFrame -> IO (Maybe DynamicImage)Source
Convert an AVFrame
to a DynamicImage
.