Hoogle Search

Within LTS Haskell 24.25 (ghc-9.10.3)

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

  1. PixelYA8 :: Pixel8 -> Pixel8 -> PixelYA8

    JuicyPixels Codec.Picture.Types

    No documentation available.

  2. data PixelYCbCr8

    JuicyPixels Codec.Picture.Types

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

    • Y (luminance)
    • Cb
    • Cr

  3. PixelYCbCr8 :: Pixel8 -> Pixel8 -> Pixel8 -> PixelYCbCr8

    JuicyPixels Codec.Picture.Types

    No documentation available.

  4. data PixelYCbCrK8

    JuicyPixels Codec.Picture.Types

    Pixel type storing value for the YCCK color space:

    • Y (Luminance)
    • Cb
    • Cr
    • Black

  5. PixelYCbCrK8 :: Pixel8 -> Pixel8 -> Pixel8 -> Pixel8 -> PixelYCbCrK8

    JuicyPixels Codec.Picture.Types

    No documentation available.

  6. class (Pixel a, Pixel b) => TransparentPixel a b | a -> b

    JuicyPixels Codec.Picture.Types

    Class modeling transparent pixel, should provide a method to combine transparent pixels

  7. convertPixel :: ColorSpaceConvertible a b => a -> b

    JuicyPixels Codec.Picture.Types

    Pass a pixel from a colorspace (say RGB) to the second one (say YCbCr)

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

    JuicyPixels Codec.Picture.Types

    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)
    

  9. imageIPixels :: (Pixel pxa, Pixel pxb) => Traversal (Image pxa) (Image pxb) (Int, Int, pxa) pxb

    JuicyPixels Codec.Picture.Types

    Traversal providing the pixel position with it's value. The traversal in raster order, from lef to right, then top to bottom. The traversal match pixelMapXY in spirit. Since 3.2.4

  10. imagePixels :: (Pixel pxa, Pixel pxb) => Traversal (Image pxa) (Image pxb) pxa pxb

    JuicyPixels Codec.Picture.Types

    Traversal in "raster" order, from left to right the top to bottom. This traversal is matching pixelMap in spirit. Since 3.2.4

Page 108 of many | Previous | Next