HPDF-1.4: Generation of PDF documentsSource codeContentsIndex
Graphics.PDF.Image
Portabilityportable
Stabilityexperimental
Maintainermisc@NOSPAMalpheccar.org
Contents
Images
Types
Functions
Description
PDF Images
Synopsis
data PDFJpeg
data JpegFile
createPDFJpeg :: JpegFile -> PDF (PDFReference PDFJpeg)
readJpegFile :: FilePath -> IO (Either String JpegFile)
jpegBounds :: JpegFile -> (PDFFloat, PDFFloat)
Images
Types
data PDFJpeg Source
A Jpeg PDF object
show/hide Instances
data JpegFile Source
A Jpeg file
Functions
createPDFJpeg :: JpegFile -> PDF (PDFReference PDFJpeg)Source
Use an abstract description of a Jpeg to return a PDFReference that can be used to manipulate the Jpeg in the context of the PDF document
readJpegFile :: FilePath -> IO (Either String JpegFile)Source
Read a JPEG file and return an abstract description of its content or an error The read is not lazy. The whole image will be loaded into memory
jpegBounds :: JpegFile -> (PDFFloat, PDFFloat)Source
Get the JPEG bounds
Produced by Haddock version 2.3.0