conversions
conversions
#
Procedures that convert data from one type to another.
Data conversion procedures transform data from one type to another while preserving essential information. These procedures enable data processing workflows where captured data needs to be converted to different formats for storage, display, or analysis.
Conversion procedures handle format transformations, size adjustments, and quality optimizations automatically.
ConvertImageToThumbnail
#
Convert a full-size image to a smaller thumbnail version.
Processes an image to create a smaller, more compact version suitable for previews, galleries, or list views. Maintains aspect ratio while reducing file size.
Attributes:
| Name | Type | Description |
|---|---|---|
image |
Input[Image]
|
The full-size image to convert to a thumbnail. |
Source code in capturegraph-lib/capturegraph/procedures/nodes/process/conversions.py
ConvertLocationToThumbnail
#
Convert a location to a thumbnail by rendering an overhead map view.
Produces an overhead map snapshot centered on the location and downscales
it into a thumbnail suitable for previews, galleries, or list views. A
thumbnail is always a small image regardless of its source, so this returns
a Thumbnail just like [ConvertImageToThumbnail][].
Attributes:
| Name | Type | Description |
|---|---|---|
location |
Input[Location]
|
The location to render as a thumbnail. |
Source code in capturegraph-lib/capturegraph/procedures/nodes/process/conversions.py
ConvertVideoToThumbnail
#
Convert a video to a thumbnail by extracting a representative frame.
Grabs a frame from the video (the first frame) and downscales it into a
thumbnail suitable for previews, galleries, or list views. A thumbnail is
always a small image regardless of its source, so this returns a
Thumbnail just like [ConvertImageToThumbnail][].
Attributes:
| Name | Type | Description |
|---|---|---|
video |
Input[Video]
|
The video to extract a thumbnail frame from. |