Skip to content

Instantly share code, notes, and snippets.

tell application "Capture One 20"
set imageNames to ""
repeat with variantItem in (get selected variants)
-- Set the white balance to 2400K, -12 tint
set adj to (get adjustments of variantItem)
set temperature of adj to 2400
set tint of adj to -12
-- Set linear curve
tell application "Capture One 20"
set imageNames to ""
repeat with variantItem in (get selected variants)
set adj to (get adjustments of variantItem)
-- Set linear curve
set film curve of adj to "Linear Response"
-- Autoadjust levels
@bezineb5
bezineb5 / convert_voc2createml.py
Last active July 15, 2022 14:32
Pascal VOC annotation to Apple createML annotations conversion tool
import argparse
import json
import logging
import pathlib
from xml.etree import ElementTree
log = logging.getLogger(__name__)
def _parse_arguments() -> argparse.Namespace:
@bezineb5
bezineb5 / Invert.costyle
Created March 8, 2021 11:09
Invert curve in Capture One
<?xml version="1.0"?>
<SL Engine="1300">
<E K="GradationCurve" V="0,1;1,0" />
<E K="GradationCurveBlue" V="0,0;1,1" />
<E K="GradationCurveGreen" V="0,0;1,1" />
<E K="GradationCurveRed" V="0,0;1,1" />
<E K="GradationCurveY" V="0,0;1,1" />
<E K="Name" V="Invert" />
<E K="StyleSource" V="Styles" />
<E K="UUID" V="6817B40F-270C-4E0F-B7B5-E63FFB2D0192" />