Photoshop layers with Linebreak

SamuelH

New member
Hi,
I am trying to create graphics in photoshop that breaks the lines when text is to long. I am using DataLink to feed the text (%Webkey 01%) on top of bottom layer. The text displays alright, but it does not break at textbox end.
 
I'm not aware of any way to create a multi-line text box in Photoshop that imports into TriCaster.

It is possible via LiveText (even that is extremely touchy process).
 
Last edited:
I figured out how to get paragraph text by manually editing the cgxml file.

First, import the PSD image into TriCaster. Then use the Export button (bottom left corner of title editor) and save out a cgxml file.

Now open the cgxml file in a text editor.

The data is XML formatted, and you will find lines that start with <ccg:CGText followed by a bunch of parameters. You will also see the text in the title on the line in question, so you know where to edit.

Scroll to the right on that line until find the parameter named IsParagraph="False" and change this to "True". You will also need to add a set of Width and Height parameters to define the size of the text box (I'm thinking these values are in pixels, but not 100% sure). Save the cgxml file.

Load the edit cgxml back into TriCaster and it will have text box that word wraps what is entered inside of it.

Here is an example of how my cgxml file looked after making these adjustments.
1751401369995.png

If I can figure out a way to do this directly from Photoshop I'll update you, but so far, I've been unsuccessful (but I'm also not a Photoshop expert).

This certainly isn't an officially sanction method, use at your own risk.
 
Last edited:
Playing with this a bit more, here is the easiest to get multi-line, word wrap, linebreak titles working.
  1. Create title in Photoshop, drag out a box of text to create a paragraph of text.
  2. Import PSD into TriCaster (you will see that there is a text box, but the word wrapping doesn't work once you edit).
  3. Export the title from the TriCaster (button at lower left corner of title editing panel)
  4. Open CGXML file into a text editor (VS Code or Notepad)
  5. Find the line of text in question (should be near the top of the file) and change the IsParagraph option from False to True.
  6. Save CGXML file
  7. Import the updated CGXML into TriCaster and word wrap is now working.

I have entered a feature request about this so hopefully in a future TriCaster release you won't have to edit the file.
 
Back
Top