Question
Increase Comp Resolution in Extendscript while keeping everything centered
When I use the following to increase the resolution of a composition in extendscript:
mycomp.width = width
mycomp.height = height
The compositions resolution changes, but the positions of all items in the comp remain identical. This is the not the same as changing the composition resolution through the dialog box manually, which adjusts the positions accordingly (so the items remain centered).
Here's a video showing my problem. What does my script need to look like so that I don't get the black bars (I want the same effect as changing the resolution manually)?