CompaToon
Trace: • Zip • Travailler avec Kitsu / ShotGrid • Variables % • BG Layout extraction

BG Layout extraction

In short: from a reference BG in which the frames of each shot have been drawn, automatically produces one cropped background per shot (BG Layout).

Software Photoshop
Category Export
Input One or more reference BG .psd
Output One file per frame found (psd, psd + png or png)
Prerequisites Photoshop configured; reference BG structured as below

What the task does

  • Handles several frames per shot.
  • Crops to the frame, with an adjustable safety margin.
  • Resizes to the optimal resolution.
  • Processes one shot or all shots.
  • Removes the unneeded frames from the files produced.
Only works correctly with horizontal frames.

Prepare the reference BG

  1. Create an FLD folder at the root (name configurable).
  2. In FLD, create one folder per shot, named after the shot: 012, 24, 123B, MM135_001…
  3. In each shot folder, create one layer per frame.
  4. Draw the frame on a transparent layer: nothing else on the layer, except inside the frame.
The shot folders must contain nothing else but the frame layers: any other element disturbs the analysis.
The frames can also be placed in a subfolder (for example CADRE) of each shot. In that case, enter FLD:CADRE in fieldLayerName (another example: SHOTS:CDR).

Frame example:

Parameters

Parameter Role Example
Scene Name Shot to extract, or ALL for all 012
Add Border (%) Margin added around the frame before cropping 5
fieldLayerName Folder containing the frames FLD, SHOOT, FLD:CADRE
fileNamePrefix Prefix added to the shot names EP01_
resizeImage Adapts the resolution to the frames
dxResolution Minimum width to guarantee: the smallest frame will have this width 1920
addBurnIn Adds a BURNIN text layer with the master and shot names
exportType Files produced psd, psd+png, png

Result

See also

  • PSD Conformation
  • Guide: prepare the backgrounds
Previous Next

Site Tools

  • Media Manager
  • Sitemap

Page Tools

  • Export to PDF
  • Fold/unfold all
  • Back to top

User Tools

  • Log In
en/compatoon/manuals/toonbox/v2/taches/extract_bg_layout.txt · Last modified: 2026/12/02 16:15 by twinstef
CompaToon

Table of Contents

Table of Contents

  • BG Layout extraction
    • What the task does
    • Prepare the reference BG
    • Parameters
    • Result
    • See also

Translations of this page:
  • fr
  • en

ToonBox

  • Documentation home

Getting started

  • Installation
  • Jobs and Tasks
  • The interface
  • First Job
  • Configure the software
  • Videos

I want to…

  • Create the scenes
  • Prepare the backgrounds
  • Export for compositing
  • Generate movies
  • Make a rough cut
  • Modify scenes
  • Tracker (Kitsu / ShotGrid)
  • Manage files

Reference

  • All tasks
  • % Variables
  • HyperCrop
  • Regular expressions
  • BDL format
  • Matching Table
  • Libraries
  • Action table
  • FFmpeg
  • Glossary

Help

  • Known issues
  • FAQ
  • What's new
  • Production cases

Other tools

  • ToonBox AE Plugin
  • ToonBrowser
  • ToonExpo