Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Documentation
Instances
Accept BMP Source # | |
Defined in Servant.JuicyPixels | |
MimeRender BMP DynamicImage Source # | |
Defined in Servant.JuicyPixels mimeRender :: Proxy BMP -> DynamicImage -> ByteString # | |
MimeUnrender BMP DynamicImage Source # | |
Defined in Servant.JuicyPixels mimeUnrender :: Proxy BMP -> ByteString -> Either String DynamicImage # mimeUnrenderWithType :: Proxy BMP -> MediaType -> ByteString -> Either String DynamicImage # | |
BmpEncodable pixel => MimeRender BMP (Image pixel, Metadatas) Source # | |
Defined in Servant.JuicyPixels mimeRender :: Proxy BMP -> (Image pixel, Metadatas) -> ByteString # | |
MimeUnrender BMP (DynamicImage, Metadatas) Source # | |
Defined in Servant.JuicyPixels mimeUnrender :: Proxy BMP -> ByteString -> Either String (DynamicImage, Metadatas) # mimeUnrenderWithType :: Proxy BMP -> MediaType -> ByteString -> Either String (DynamicImage, Metadatas) # |
Instances
Accept GIF Source # | |
Defined in Servant.JuicyPixels | |
MimeRender GIF DynamicImage Source # | |
Defined in Servant.JuicyPixels mimeRender :: Proxy GIF -> DynamicImage -> ByteString # | |
MimeUnrender GIF DynamicImage Source # | |
Defined in Servant.JuicyPixels mimeUnrender :: Proxy GIF -> ByteString -> Either String DynamicImage # mimeUnrenderWithType :: Proxy GIF -> MediaType -> ByteString -> Either String DynamicImage # | |
MimeUnrender GIF (DynamicImage, Metadatas) Source # | |
Defined in Servant.JuicyPixels mimeUnrender :: Proxy GIF -> ByteString -> Either String (DynamicImage, Metadatas) # mimeUnrenderWithType :: Proxy GIF -> MediaType -> ByteString -> Either String (DynamicImage, Metadatas) # |
data JPEG (quality :: Nat) Source #
Instances
Instances
Accept PNG Source # | |
Defined in Servant.JuicyPixels | |
MimeRender PNG DynamicImage Source # | |
Defined in Servant.JuicyPixels mimeRender :: Proxy PNG -> DynamicImage -> ByteString # | |
MimeUnrender PNG DynamicImage Source # | |
Defined in Servant.JuicyPixels mimeUnrender :: Proxy PNG -> ByteString -> Either String DynamicImage # mimeUnrenderWithType :: Proxy PNG -> MediaType -> ByteString -> Either String DynamicImage # | |
PngSavable a => MimeRender PNG (Image a) Source # | |
Defined in Servant.JuicyPixels mimeRender :: Proxy PNG -> Image a -> ByteString # | |
PngSavable a => MimeRender PNG (Image a, Metadatas) Source # | |
Defined in Servant.JuicyPixels mimeRender :: Proxy PNG -> (Image a, Metadatas) -> ByteString # | |
MimeUnrender PNG (DynamicImage, Metadatas) Source # | |
Defined in Servant.JuicyPixels mimeUnrender :: Proxy PNG -> ByteString -> Either String (DynamicImage, Metadatas) # mimeUnrenderWithType :: Proxy PNG -> MediaType -> ByteString -> Either String (DynamicImage, Metadatas) # |
Instances
Accept TIFF Source # | |
Defined in Servant.JuicyPixels | |
MimeRender TIFF DynamicImage Source # | |
Defined in Servant.JuicyPixels mimeRender :: Proxy TIFF -> DynamicImage -> ByteString # | |
MimeUnrender TIFF DynamicImage Source # | |
Defined in Servant.JuicyPixels mimeUnrender :: Proxy TIFF -> ByteString -> Either String DynamicImage # mimeUnrenderWithType :: Proxy TIFF -> MediaType -> ByteString -> Either String DynamicImage # | |
TiffSaveable a => MimeRender TIFF (Image a) Source # | |
Defined in Servant.JuicyPixels mimeRender :: Proxy TIFF -> Image a -> ByteString # | |
MimeUnrender TIFF (DynamicImage, Metadatas) Source # | |
Defined in Servant.JuicyPixels mimeUnrender :: Proxy TIFF -> ByteString -> Either String (DynamicImage, Metadatas) # mimeUnrenderWithType :: Proxy TIFF -> MediaType -> ByteString -> Either String (DynamicImage, Metadatas) # |
Instances
Accept RADIANCE Source # | |
Defined in Servant.JuicyPixels | |
MimeRender RADIANCE DynamicImage Source # | |
Defined in Servant.JuicyPixels mimeRender :: Proxy RADIANCE -> DynamicImage -> ByteString # | |
MimeUnrender RADIANCE DynamicImage Source # | |
Defined in Servant.JuicyPixels mimeUnrender :: Proxy RADIANCE -> ByteString -> Either String DynamicImage # mimeUnrenderWithType :: Proxy RADIANCE -> MediaType -> ByteString -> Either String DynamicImage # | |
a ~ PixelRGBF => MimeRender RADIANCE (Image a) Source # | |
Defined in Servant.JuicyPixels mimeRender :: Proxy RADIANCE -> Image a -> ByteString # | |
MimeUnrender RADIANCE (DynamicImage, Metadatas) Source # | |
Defined in Servant.JuicyPixels mimeUnrender :: Proxy RADIANCE -> ByteString -> Either String (DynamicImage, Metadatas) # mimeUnrenderWithType :: Proxy RADIANCE -> MediaType -> ByteString -> Either String (DynamicImage, Metadatas) # |
Instances
Accept TGA Source # | |
Defined in Servant.JuicyPixels | |
MimeRender TGA DynamicImage Source # | |
Defined in Servant.JuicyPixels mimeRender :: Proxy TGA -> DynamicImage -> ByteString # | |
MimeUnrender TGA DynamicImage Source # | |
Defined in Servant.JuicyPixels mimeUnrender :: Proxy TGA -> ByteString -> Either String DynamicImage # mimeUnrenderWithType :: Proxy TGA -> MediaType -> ByteString -> Either String DynamicImage # | |
TgaSaveable a => MimeRender TGA (Image a) Source # | |
Defined in Servant.JuicyPixels mimeRender :: Proxy TGA -> Image a -> ByteString # | |
MimeUnrender TGA (DynamicImage, Metadatas) Source # | |
Defined in Servant.JuicyPixels mimeUnrender :: Proxy TGA -> ByteString -> Either String (DynamicImage, Metadatas) # mimeUnrenderWithType :: Proxy TGA -> MediaType -> ByteString -> Either String (DynamicImage, Metadatas) # |