-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Canvas Template example in docs (#17)
Added and example of creating a canvas from a canvas template Added an additional sample file Signed-off-by: apetrynet <flehnerheener@gmail.com>
- Loading branch information
Showing
3 changed files
with
84 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
50 changes: 50 additions & 0 deletions
50
tests/sample_data/Scenario-9__OriginalFDL_UsedToMakePlate.fdl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
{ | ||
"uuid": "6FBE1EBC-50A0-4201-90E0-76C98DFFD04C", | ||
"version": {"major": 0, "minor": 1}, | ||
"fdl_creator": "ASC FDL Committee", | ||
"default_framing_intent": "FDLSMP03", | ||
"framing_intents": [{ | ||
"label": "1.78-1 Framing", | ||
"id": "FDLSMP03", | ||
"aspect_ratio": {"width": 16, "height": 9}, | ||
"protection": 0.088 | ||
} | ||
], | ||
"contexts": [{ | ||
"label": "PanavisionDXL2", | ||
"context_creator": "ASC FDL Committee", | ||
"canvases": [{ | ||
"label": "Open Gate RAW", | ||
"id": "20220310", | ||
"source_canvas_id": "20220310", | ||
"dimensions": {"width": 5184, "height": 4320}, | ||
"effective_dimensions": {"width": 5184, "height": 4320}, | ||
"effective_anchor_point": {"x": 0, "y": 0}, | ||
"photosite_dimensions": {"width": 5184, "height": 4320}, | ||
"physical_dimensions": {"width": 25.92, "height": 21.60}, | ||
"anamorphic_squeeze": 1.30, | ||
"framing_decisions": [{ | ||
"label": "1.78-1 Framing", | ||
"id": "20220310-FDLSMP03", | ||
"framing_intent_id": "FDLSMP03", | ||
"dimensions": {"width": 4728, "height": 3456}, | ||
"anchor_point": {"x": 228, "y": 432}, | ||
"protection_dimensions": {"width": 5184, "height": 3790}, | ||
"protection_anchor_point": {"x": 0, "y": 265} | ||
} | ||
] | ||
}] | ||
}], | ||
"canvas_templates": [{ | ||
"label": "VFX Pull", | ||
"id": "VX220310", | ||
"target_dimensions": {"width": 4096, "height": 2304}, | ||
"target_anamorphic_squeeze": 1.00, | ||
"fit_source": "framing_decision.dimensions", | ||
"fit_method": "width", | ||
"alignment_method_vertical": "center", | ||
"alignment_method_horizontal": "center", | ||
"preserve_from_source_canvas": "canvas.dimensions", | ||
"round": {"even": "even", "mode": "up"} | ||
}] | ||
} |