Hoogle Search

Within LTS Haskell 24.41 (ghc-9.10.3)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. PixelRGBA8 :: Pixel8 -> Pixel8 -> Pixel8 -> Pixel8 -> PixelRGBA8

    JuicyPixels Codec.Picture

    No documentation available.

  2. data PixelRGBF

    JuicyPixels Codec.Picture

    HDR pixel type storing floating point 32bit red, green and blue (RGB) information. Same value range and comments apply as for PixelF. Values are stored in the following order:

    • Red
    • Green
    • Blue

  3. PixelRGBF :: PixelF -> PixelF -> PixelF -> PixelRGBF

    JuicyPixels Codec.Picture

    No documentation available.

  4. data PixelYA16

    JuicyPixels Codec.Picture

    Pixel type storing 16bit Luminance (Y) and alpha (A) information. Values are stored in the following order:

    • Luminance
    • Alpha

  5. PixelYA16 :: Pixel16 -> Pixel16 -> PixelYA16

    JuicyPixels Codec.Picture

    No documentation available.

  6. data PixelYA8

    JuicyPixels Codec.Picture

    Pixel type storing 8bit Luminance (Y) and alpha (A) information. Values are stored in the following order:

    • Luminance
    • Alpha

  7. PixelYA8 :: Pixel8 -> Pixel8 -> PixelYA8

    JuicyPixels Codec.Picture

    No documentation available.

  8. data PixelYCbCr8

    JuicyPixels Codec.Picture

    Pixel type storing 8bit luminance, blue difference and red difference (YCbCr) information. Values are stored in the following order:

    • Y (luminance)
    • Cb
    • Cr

  9. PixelYCbCr8 :: Pixel8 -> Pixel8 -> Pixel8 -> PixelYCbCr8

    JuicyPixels Codec.Picture

    No documentation available.

  10. dynamicPixelMap :: (forall pixel . Pixel pixel => Image pixel -> Image pixel) -> DynamicImage -> DynamicImage

    JuicyPixels Codec.Picture

    Equivalent of the pixelMap function for the dynamic images. You can perform pixel colorspace independant operations with this function. For instance, if you want to extract a square crop of any image, without caring about colorspace, you can use the following snippet.

    dynSquare :: DynamicImage -> DynamicImage
    dynSquare = dynamicPixelMap squareImage
    
    squareImage :: Pixel a => Image a -> Image a
    squareImage img = generateImage (\x y -> pixelAt img x y) edge edge
    where edge = min (imageWidth img) (imageHeight img)
    

Page 102 of many | Previous | Next