Lut

Lut은 이미지 또는 비디오 요소의 속성이 될 수 있으며, 특정 요소에 영향을 미치거나, 전체 캔버스에 적용되는 요소 자체가 될 수 있습니다.

소품유형필수예시값 범위설명
titlestringtrueLabradorite-조회 테이블의 제목입니다.
typestringtrue3D-조회 테이블의 유형입니다.
sizenumbertrue33-조회 테이블의 크기입니다.
domainarraytrue--조회 테이블의 도메인입니다.
dataarraytrue--조회 테이블의 데이터 배열입니다. 크기³ × 3의 길이를 가진 평면 RGB 값 배열이어야 합니다.
strengthnumberfalse10 to 1LUT 효과의 강도입니다. 0 = 효과 없음, 1 = 전체 효과입니다.
imageElement.json
{
  "type": "",
  "width": 1920,
  "height": 1080,
  "fill": "#000000",
  "view": [
      {
          "id": "6b91fbc5-a69c-4783-8216-395b8feac9b2",
          "type": "Image",
          "start": 0,
          "duration": 5,
          "trackIndex": 1,
          "x": 0,
          "y": 0,
          "blendMode": "normal",
          "anchorX": 1310.5,
          "anchorY": 1965.5,
          "rotation": 0,
          "scaleX": 0.27473925209870265,
          "scaleY": 0.27473925209870265,
          "alpha": 1,
          "skewX": 0,
          "skewY": 0,
          "keyframes": [],
          "externalUrl": "https://images.pexels.com/photos/30473423/pexels-photo-30473423.jpeg",
          "ext": "jpeg",
          "lut": {
              "title": "Lava",
              "type": "3D",
              "size": 33,
              "domain": [
                  [
                      0,
                      0,
                      0
                  ],
                  [
                      1,
                      1,
                      1
                  ]
              ],
              "data": [/* LUT data array omitted for brevity - should contain size³ × 3 RGB values */],
              "strength": 1
          }
      }
  ],
  "audio": [],
  "effect": [
      {
          "id": "88ac9e96-2c66-40e8-b932-7fd590fd5a13",
          "start": 0,
          "duration": 5,
          "trackIndex": 0,
          "lut": {
              "title": "Labradorite",
              "type": "3D",
              "size": 33,
              "domain": [
                  [
                      0,
                      0,
                      0
                  ],
                  [
                      1,
                      1,
                      1
                  ]
              ],
              "data": [/* LUT data array omitted for brevity */],
              "strength": 1
          },
          "type": "Lut"
      }
  ],
  "transition": [],
  "version": 0,
  "duration": 5
}