Skip to main content

Module op

Module op 

Source
Expand description

IM-style operations supported by oxideav convert.

Each variant carries exactly the data the CLI needs to hand to crate::plan_to_job, nothing more.

Structs§

CameraSpec
-camera ELEVATION,AZIMUTH,DISTANCE — camera override for the 3D→raster renderer.
ConvertPlan
The parsed result of one oxideav convert invocation.
LightSpec
-light AZIMUTH,ELEVATION,INTENSITY — directional light override for the 3D→raster renderer.
Mesh3DOptions
Per-format encoder option flags forwarded to the 3D side-channel.
PrintfTemplate
A printf-style multi-output template. Detected by the args parser when the output filename contains %[0-9]*d. Used by Scene-shaped inputs (PDF) to fan out one file per page.

Enums§

AlphaOp
-alpha SUBCOMMAND. ImageMagick exposes a small grammar of alpha-channel edits — we cover the ones with deterministic semantics on RGBA buffers.
Dither
Dither strategy used when -colors N forces a paletted output.
GltfFormatChoice
-gltf-format value. Selects the glTF on-disk container.
Mesh3DRenderMode
-render MODE value. Selects which surface model the 3D→raster renderer uses when the user pairs a 3D input (.stl/.obj/ .gltf/.glb/.usdz) with a raster output (.png/.jpg/ .bmp/.webp).
Op
One convert operation.
PageAtom
One atomic spec inside a PageSelector.
PageSelector
ImageMagick-style [N] / [N-M] / [A,B,…] page-selection suffix on an input path. input.pdf[0] selects page 0; input.pdf[2-5] selects pages 2, 3, 4, 5 (inclusive on both ends, like IM); input.pdf[-1] selects the last page; input.pdf[0,2,4] selects a comma-separated list (atoms may themselves be ranges, so [0-2,5,-1] picks pages 0, 1, 2, 5, and the last page).
ProjectionMode
-projection MODE value. Selects perspective vs. orthographic projection for the 3D→raster renderer. Default is Perspective — the IM convention for vector rasterisation matches what most 3D viewers ship.
ResizeMode
-resize / -thumbnail geometry-modifier suffix.
StlFormatChoice
-stl-format value. Selects which STL-on-disk flavour the encoder emits. Default is Binary, matching the registry factory.