HPDF-1.2: Generation of PDF documentsContentsIndex
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
A Jpeg PDF object
show/hide Instances
PDFXObject PDFJpeg
PdfObject PDFJpeg
PdfResourceObject (PDFReference PDFJpeg)
data JpegFile
A Jpeg file
Functions
createPDFJpeg :: JpegFile -> PDF (PDFReference PDFJpeg)
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)
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)
Get the JPEG bounds
Produced by Haddock version 0.8