Project¶
| CLASS | DESCRIPTION |
|---|---|
AIX |
The |
BMP |
The |
EMF |
The |
EPS |
The |
Format |
Base Format class that contains all shared props and allows for isinstance checking for a |
GIF |
The |
JPEG |
The |
PDF |
The |
PNG |
The PNGFormat object represents a collection of Portable Network Graphics (PNG) |
SVG |
The |
TGA |
The |
AIX
dataclass
¶
AIX(
clipToElements: bool = False,
filePath: Path | str = '',
height: float = 960,
width: float = 960,
resolution: int = 96,
convertMarkers: bool = False,
embedColorProfile: bool = True,
embedFonts: bool = True,
imageCompression: ImageCompression = 'ADAPTIVE',
imageCompressionQuality: int = 80,
imageQuality: ImageQuality = 'BEST',
removeLayoutBackground: bool = True,
)
Bases: Format[AIXFormat, AIXOpts]
The AIXFormat object represents a collection of Adobe Illustrator Exchange (AIX)
file properties that can be configured and used with the export method on the
Layout, MapFrame, and MapView objects to create an output AIX file.
BMP
dataclass
¶
BMP(
clipToElements: bool = False,
filePath: Path | str = '',
height: float = 960,
width: float = 960,
resolution: int = 96,
colorMode: ColorMode = '24-BIT_TRUE_COLOR',
georeferenceMapFrame: MapFrame | MapFrame | None = None,
threshold: int = 128,
worldFile: bool = False,
)
Bases: Format[BMPFormat, BMPOpts]
The BMPFormat object represents a collection of Microsoft Windows bitmap (BMP)
file properties that can be configured and used with the export method on the
Layout, MapFrame, and MapView objects to create an output BMP file.
EMF
dataclass
¶
EMF(
clipToElements: bool = False,
filePath: Path | str = '',
height: float = 960,
width: float = 960,
resolution: int = 96,
convertMarkers: bool = False,
imageQuality: ImageQuality = 'BEST',
outputAsImage: bool = False,
)
Bases: Format[EMFFormat, EMFOpts]
The EMFFormat object represents a collection of Enhanced Metafile format (EMF)
file properties that can be configured and used with the export method on the
Layout, MapFrame, and MapView objects to create an output EMF file.
EPS
dataclass
¶
EPS(
clipToElements: bool = False,
filePath: Path | str = '',
height: float = 960,
width: float = 960,
resolution: int = 96,
convertMarkers: bool = False,
embedFonts: bool = True,
imageCompression: ImageCompression = 'DEFLATE',
imageQuality: ImageQuality = 'BEST',
outputAsImage: bool = False,
)
Bases: Format[EPSFormat, EPSOpts]
The EPSFormat object represents a collection of Encapsulated PostScript (EPS)
file properties that can be configured and used with the export method on the
Layout, MapFrame, and MapView objects to create an output EPS file.
Format
dataclass
¶
Format(
clipToElements: bool = False,
filePath: Path | str = '',
height: float = 960,
width: float = 960,
resolution: int = 96,
)
Base Format class that contains all shared props and allows for isinstance checking for a Format object
| METHOD | DESCRIPTION |
|---|---|
update |
Update the Format with the provided options. |
update
abstractmethod
¶
Update the Format with the provided options.
| PARAMETER | DESCRIPTION |
|---|---|
|
An optional positional only dictionary (arg[0]) containing the update options
TYPE:
|
|
Keyword overrides that will be applied to any supplied mapping arg
TYPE:
|
Source code in src/arcpie/project/formats.py
54 55 56 57 58 59 60 61 | |
GIF
dataclass
¶
GIF(
clipToElements: bool = False,
filePath: Path | str = '',
height: float = 960,
width: float = 960,
resolution: int = 96,
colorMode: ColorMode = '8-BIT_ADAPTIVE_PALETTE',
georeferenceMapFrame: MapFrame | MapFrame | None = None,
threshold: int = 128,
worldFile: bool = False,
)
Bases: Format[GIFFormat, GIFOpts]
The GIFFormat object represents a collection of Graphic Interchange Format (GIF)
file properties that can be configured and used with the export method on the
Layout, MapFrame, and MapView objects to create an output GIF file.
JPEG
dataclass
¶
JPEG(
clipToElements: bool = False,
filePath: Path | str = '',
height: float = 960,
width: float = 960,
resolution: int = 96,
colorMode: ColorMode = '24-BIT_TRUE_COLOR',
georeferenceMapFrame: MapFrame | MapFrame | None = None,
imageCompressionQuality: int = 80,
worldFile: bool = False,
)
Bases: Format[JPEGFormat, JPEGOpts]
The JPEGFormat object represents a collection of Joint Photographic Experts Group (JPEG)
file properties that can be configured and used with the export method on the
Layout, MapFrame, MapView, MapSeries and BookmarkMapSeries objects to create an output JPG file.
PDF
dataclass
¶
PDF(
clipToElements: bool = False,
filePath: Path | str = '',
height: float = 960,
width: float = 960,
resolution: int = 96,
author: str = '',
compressVectorGraphics: bool = True,
convertMarkers: bool = False,
embedColorProfile: bool = True,
embedFonts: bool = True,
georefInfo: bool = True,
imageCompression: ImageCompression = 'ADAPTIVE',
imageCompressionQuality: int = 80,
imageQuality: ImageQuality = 'BEST',
includeAccessibilityTags: bool = True,
includeNonVisibleMapLayers: bool = False,
keywords: str = '',
languageCode: str = '',
layersAndAttributes: LayerAttributes = 'LAYERS_ONLY',
outputAsImage: bool = False,
rasterAsSingleTile: bool = False,
removeLayoutBackground: bool = False,
simulateOverprint: bool = False,
subject: str = '',
title: str = '',
)
Bases: Format[PDFFormat, PDFOpts]
The PDFFormat object represents a collection of Portable Document Format (PDF)
file properties that can be configured and used with the export method on the
Layout, MapFrame, MapView, MapSeries, BookmarkMapSeries and Report
objects to create an output PDF file.
PNG
dataclass
¶
PNG(
clipToElements: bool = False,
filePath: Path | str = '',
height: float = 960,
width: float = 960,
resolution: int = 96,
colorMode: ColorMode = '32-BIT_WITH_ALPHA',
georeferenceMapFrame: MapFrame | MapFrame | None = None,
threshold: int = 128,
transparentBackground: bool = False,
worldFile: bool = False,
)
Bases: Format[PNGFormat, PNGOpts]
The PNGFormat object represents a collection of Portable Network Graphics (PNG) file properties that can be configured and used with the export method on the Layout, MapFrame, MapView, MapSeries and BookmarkMapSeries objects to create an output PNG file.
SVG
dataclass
¶
SVG(
clipToElements: bool = False,
filePath: Path | str = '',
height: float = 960,
width: float = 960,
resolution: int = 96,
compressToSVGZ: bool = False,
convertMarkers: bool = False,
embedFonts: bool = True,
imageQuality: ImageQuality = 'BEST',
includeNonVisibleMapLayers: bool = False,
outputAsImage: bool = False,
rasterAsSingleTile: bool = False,
)
Bases: Format[SVGFormat, SVGOpts]
The SVGFormat object represents a collection of Scalable Vector Graphics (SVG)
file properties that can be configured and used with the export method on the
Layout, MapFrame, and MapView objects to create an output SVG or SVGZ file.
TGA
dataclass
¶
TGA(
clipToElements: bool = False,
filePath: Path | str = '',
height: float = 960,
width: float = 960,
resolution: int = 96,
colorMode: ColorMode = '32-BIT_WITH_ALPHA',
transparentBackground: bool = False,
)
Bases: Format[TGAFormat, TGAOpts]
The TGAFormat object represents a collection of Truevision Graphics Adaptor (TGA)
file properties that can be configured and used with the export method on the
Layout, MapFrame, and MapView objects to create an output TGA file.
TIFF
dataclass
¶
TIFF(
clipToElements: bool = False,
filePath: Path | str = '',
height: float = 960,
width: float = 960,
resolution: int = 96,
colorMode: ColorMode = '32-BIT_WITH_ALPHA',
embedColorProfile: bool = True,
georeferenceMapFrame: MapFrame | MapFrame | None = None,
geoTIFFTags: bool = False,
imageCompression: ImageCompression = 'LZW',
imageCompressionQuality: int = 100,
threshold: int = 128,
transparentBackground: bool = False,
worldFile: bool = False,
)
Bases: Format[TIFFFormat, TIFFOpts]
The TIFFFormat object represents a collection of Tagged Image File Format (TIFF)
file properties that can be configured and used with the export method on the
Layout, MapFrame, MapView, MapSeries and BookmarkMapSeries
objects to create an output TIF file.