Crop Project with George

A forum dedicated to George scripting questions
Post Reply
User avatar
Mads Juul
Posts: 3992
Joined: 02 May 2007, 19:18
Location: Viborg,Denmark
Contact:

Crop Project with George

Post by Mads Juul »

Is there a George Function to Crop a project?
I guess I can use "tv_ResizePage" But because I cant set the resize pint I wouth have to move the content of each leyer.
So I there a george function like "tv_crop startx starty width height mode" ? Mads
Or maybe it should be possible to set the parameters with

tv_setActiveShape crop startx 100 starty 200 width 768 height 576

and then

tv_reapply

-mads
Mads Juul
Storyboard Artist
blog: http://mjstoryboard.blogspot.dk/
Mail: mjstoryboard@gmail .com

Windows 10, 64 bit i7-4790 CPU 4.00 Hz,32 GB RAM, With TVP Animation 11 Pro (11.0.2-64bits)
2 Monitors 1920X1080 pixels + 1 Wacom Cintiq 21UX 2
Svengali
Posts: 1557
Joined: 28 Dec 2006, 10:08

Re: Crop Project with George

Post by Svengali »

If you accept that all layers from the original will be collapsed onto a single layer in the new project, you could use the keyframer inside a new project dimensioned to the cropped size, positioning the original as the source.

Other than that the only way I could see keeping the original layers would be to create a complicated script generating intermediate files...

Sven
TVP Pro 11.0.10-64bit Win10 - 64GB ram -2TB HHD - 256GB SSD - Wacom Cintiq 16, driver 6.3.41-1
Android Tablet: rel. 11, Samsung Galaxy Note10.1 - 32GB with microSD 32GB
Android Tablet: rel. 11.5, Samsung Galaxy Tab S7plus - 128GB with microSD 64GB
User avatar
Mads Juul
Posts: 3992
Joined: 02 May 2007, 19:18
Location: Viborg,Denmark
Contact:

Re: Crop Project with George

Post by Mads Juul »

Other than that the only way I could see keeping the original layers would be to create a complicated script generating intermediate files...

Sven
I want to keep the layers, but I only have to save 1 frame. so I think I will go with something where I cut with the tv_brushcut on each layer . Save as png with alpha in a temp folder. Create a new project with same dimensions as the cutbrush load the png into it .mor something. Thank you for the feedback Sven. :D
Mads Juul
Storyboard Artist
blog: http://mjstoryboard.blogspot.dk/
Mail: mjstoryboard@gmail .com

Windows 10, 64 bit i7-4790 CPU 4.00 Hz,32 GB RAM, With TVP Animation 11 Pro (11.0.2-64bits)
2 Monitors 1920X1080 pixels + 1 Wacom Cintiq 21UX 2
Svengali
Posts: 1557
Joined: 28 Dec 2006, 10:08

Re: Crop Project with George

Post by Svengali »

Or maybe tv_ImagePush for each layer (top to bottom) in a loop - then create a new project, same layer count, just one frame long, and tv_ImagePop for each layer in a loop (bottom to top). :D

Sven
TVP Pro 11.0.10-64bit Win10 - 64GB ram -2TB HHD - 256GB SSD - Wacom Cintiq 16, driver 6.3.41-1
Android Tablet: rel. 11, Samsung Galaxy Note10.1 - 32GB with microSD 32GB
Android Tablet: rel. 11.5, Samsung Galaxy Tab S7plus - 128GB with microSD 64GB
Post Reply