TABLE OF CONTENTS
Requirements
- Use a multichannel design with a colorway that contains color names.
- Use logo with TIFF or PSD extensions.
✅ Tips before and while building layouts:
![]() |
Step-by-step
Target 1: XML with real-size image, Level Basic
Create the Job element:
<Job></Job><Job></Job>Inside the Job element create the Sources element
<Sources></Sources>and inside the roots of your source images<Source Id/><Job><Sources><SourceId="0"URL="${SourceImage@0}"/><SourceId="1"URL="${SourceXCM@0}"/></Sources></Job>After Sources, inside the Job element create the Layout element:
<Layout></Layout><Job><Sources><SourceId="0"URL="${SourceImage@0}"/><SourceId="1"URL="${SourceXCM@0}"/></Sources><Layout></Layout></Job>Inside the Layout element create the Page element:
<Page Id></Page>. You can create multiple Page elements.<Job><Sources><SourceId="0"URL="${SourceImage@0}"/><SourceId="1"URL="${SourceXCM@0}"/></Sources><Layout><PageId="0"width="29.7 cm"height="42 cm"></Page></Layout></Job>Inside the Page element create the Objects element:
and inside the Objects element create Object elements:<Objects></Objects>. You can create multiple Object elements.<Object Id></Object><Job><Sources><SourceId="0"URL="${SourceImage@0}"/><SourceId="1"URL="${SourceXCM@0}"/></Sources><Layout><PageId="0"width="29.7 cm"height="42 cm"><Objects><ObjectId="0"SourceID="0"height="42 cm"left="0 cm"repeat="rapport"rotation="0"top="0 cm"width="29.7 cm"></Object></Objects></Page></Layout></Job>Inside the Object elements create Transformations, RapportInfo, SourceOffset x/y, and SourceSize h/v elements:
<Job><Sources><SourceId="0"URL="${SourceImage@0}"/><SourceId="1"URL="${SourceXCM@0}"/></Sources><Layout><PageId="0"width="29.7 cm"height="42 cm"><Objects><ObjectId="0"SourceID="0"height="42 cm"left="0 cm"repeat="rapport"rotation="0"top="0 cm"width="29.7 cm"><Transformations></Transformations><RapportInfodirection="${RapportInfoDirection@0}"fraction_high="${RapportInfoFraction_high@0}"fraction_low="${RapportInfoFraction_low@0}"/><SourceOffsetx="${SelectionRect_Origin_X@0}"y="${SelectionRect_Origin_Y@0}"/><SourceSizeh="29.7 cm"v="42 cm"/></Object></Objects></Page></Layout></Job>Inside the Transformations element create the Coloration element:
<Coloration/>,or other Transformations and Advanced Transformations.<Job><Sources><SourceId="0"URL="${SourceImage@0}"/><SourceId="1"URL="${SourceXCM@0}"/></Sources><Layout><PageId="0"width="29.7 cm"height="42 cm"><Objects><ObjectId="0"SourceID="0"height="42 cm"left="0 cm"repeat="rapport"rotation="0"top="0 cm"width="29.7 cm"><Transformations><ColorationcoloID="1"specialcolor="0"index="0"/></Transformations><RapportInfodirection="${RapportInfoDirection@0}"fraction_high="${RapportInfoFraction_high@0}"fraction_low="${RapportInfoFraction_low@0}"/><SourceOffsetx="${SelectionRect_Origin_X@0}"y="${SelectionRect_Origin_Y@0}"/><SourceSizeh="29.7 cm"v="42 cm"/></Object></Objects></Page></Layout></Job>Inside the Job element create the Output element
<Output></Output>and inside the roots to Output settings.<Job><Sources><SourceId="0"URL="${SourceImage@0}"/><SourceId="1"URL="${SourceXCM@0}"/></Sources><Layout><PageId="0"width="29.7 cm"height="42 cm"><Objects><ObjectId="0"SourceID="0"height="42 cm"left="0 cm"repeat="rapport"rotation="0"top="0 cm"width="29.7 cm"><Transformations><ColorationcoloID="1"specialcolor="0"index="0"/></Transformations><RapportInfodirection="${RapportInfoDirection@0}"fraction_high="${RapportInfoFraction_high@0}"fraction_low="${RapportInfoFraction_low@0}"/><SourceOffsetx="${SelectionRect_Origin_X@0}"y="${SelectionRect_Origin_Y@0}"/><SourceSizeh="29.7 cm"v="42 cm"/></Object></Objects></Page></Layout><Output><Space>LAB</Space><BitsPerComponent>8</BitsPerComponent><OutputEncodingOptions><CompressionType>lzw</CompressionType></OutputEncodingOptions></Output></Job>
Target 2: TJB with color patches and document info, position top-left in XML, Level Basic

- Follow the steps above from 1 to 7 as described above.
The Sources should contain files, besides the image and color source, the Logo, and Font:
<Sources><SourceId="0"URL="${SourceImage}"/><SourceId="1"URL="${SourceXCM}"/><SourceId="2"URL="SohoGothicPro-Regular.otf"/><SourceId="3"URL="Logo.tif"/></Sources>In the Object's element after the Object elements, add
<Repetition>and<Conditional>elements, as shown in the script below (full TJB script sample here)....<!-- Color patches --><!-- Repetition and position of patches --><Repetitioncount="${sourceid@1.Colorations.Coloration@0.ColorationItem.count}"maxSize="${__auto_parentHeight__}"direction="V"height="2.2 cm"item="aColorationItem"left="0 points"list="sourceid@1.Colorations.Coloration@0.ColorationItem"top="3 cm"width="2.2 cm"><!-- Condition to hide/show background color patch --><Conditionalcondition="${${aColorationItem}.channelNo}"equals="-2"negate="Y"><!-- Condition to hide disabled channels --><Conditionalcondition="${${aColorationItem}.method}"equals="Disable"negate="Y"><ObjectId="0"left="0.2 cm"top="0.1 cm"><Transformations><TextfontID="2"fontsize="9"maxwidth="85.4 points"value="${${aColorationItem}.channelIndex}"/></Transformations></Object><!-- Patch gradient, size and border --><ObjectId="1"left="0.7 cm"top="0.2 cm"><Transformations><GradientSpace="${${aColorationItem}.filtergradient.space}"UseProfile="Y"Alias="${sourceid@1.Colorations.Coloration@0.ProfileInfo.Alias}"BorderColor="${${aColorationItem}.filterRGB#808080.value}"height="34 points"percentages="100"percentbase="100"width="34 points">${${aColorationItem}.filtergradient.value}</Gradient></Transformations></Object><!-- Color name --><ObjectId="2"left="0.7 cm"top="1.5 cm"><Transformations><Textalignment="left"fontID="2"fontsize="9"maxwidth="3 cm"value="${${aColorationItem}.IData.name}"/></Transformations></Object></Conditional><!-- Condition to hide channel order when is disabled --><Conditionalcondition="${${aColorationItem}.method}"equals="Disable"negate="N"><ObjectId="0"left="0.2 cm"top="0.1 cm"><Transformations><TextfontID="2"fontsize="9"maxwidth="85.4 points"value="${${aColorationItem}.channelIndex}"/></Transformations></Object></Conditional></Conditional></Repetition>...Back in the XML file, add the new source for the TJB.
<Sources><SourceId="0"URL="${SourceImage@0}"/><SourceId="1"URL="${SourceXCM@0}"/><SourceId="2"URL="$SourceLayoutsFolderFOLDERNAME/LogoNameColorsCT_RS.tjb"autoResolution="disable"SetID="0"/></Sources>⚠️ Bear in mind when working with file sources in neoColorBox it requires adding the full folder path with the source file name: "$SourceLayoutsFolderFOLDERNAME/LogoNameColorsCT_RS.tjb".

