copy part of image and paste into another image Topic is solved

Please use this part to report bugs & errors, ask questions & "How to..."
Post Reply
User avatar
hellofilms
Posts: 153
Joined: 12 Nov 2012, 12:13
Location: Älvkarleby, Sweden
Contact:

copy part of image and paste into another image

Post by hellofilms »

Hi,

I want to select a part of an image and copy/cut that into another image in the exact position.
The copy from and paste into images have more artwork and that should not be removed.

What is the best way to do this?

/ Mattias
Windows 11 - TVpaint 11.7.1(dec 5 2022) pro - Wacom cintique 24 Pro
User avatar
schwarzgrau
Posts: 1238
Joined: 23 Jan 2012, 22:08
Location: Offenbach / Germany
Contact:

Re: copy part of image and paste into another image

Post by schwarzgrau »

The easiest way I know is making a selection, copy this selection to a custom brush, then mark the frames you would like to apply the selection and use "stamp in place".

There is some custom-panel from Svengali (?) which allows you to easily do this with two custom-panel-actions. I can't find the original post, but I incorporated this custom panel actions in my standard panel, so I exported this two actions for you.
As mentioned above you make a selection, then hit COPY TO BRUSH. After that you need to mark the frames (even if it's just one) and hit PASTE IN PLACE. Assigning shortcuts make this even faster.
Attachments
CopyPaste.tvpx.zip
(4.46 KiB) Downloaded 1021 times
Windows 11 22H2 / TVP 11.7.0 PRO WIBU / Cintiq 22HD
Windows 11 22H2 / TVP 11.7.0 PRO WIBU / Mobile Studio Pro 16" (2019)
Android 13 / TVP 11.7.0 / Galaxy Tab 7 FE
INSTAGRAM
User avatar
hellofilms
Posts: 153
Joined: 12 Nov 2012, 12:13
Location: Älvkarleby, Sweden
Contact:

Re: copy part of image and paste into another image

Post by hellofilms »

Thanks fot this!
/ Mattias
Windows 11 - TVpaint 11.7.1(dec 5 2022) pro - Wacom cintique 24 Pro
User avatar
hellofilms
Posts: 153
Joined: 12 Nov 2012, 12:13
Location: Älvkarleby, Sweden
Contact:

Re: copy part of image and paste into another image

Post by hellofilms »

I think the stamp button has a georgescript and I dont think standard TVpaint support george script but now I think I now how to create button that works for me

/ Mattias
Windows 11 - TVpaint 11.7.1(dec 5 2022) pro - Wacom cintique 24 Pro
User avatar
hellofilms
Posts: 153
Joined: 12 Nov 2012, 12:13
Location: Älvkarleby, Sweden
Contact:

Re: copy part of image and paste into another image

Post by hellofilms »

HI,

since I have standard version of TVpaint the georgescript dont seems to work so I try to set up an action .
I like to have a stamp in place and get back to previous tool or pentool.

But among the Set Keystrokes I cant find the stamp in place action to add.
It is not there?

/ Mattias
Windows 11 - TVpaint 11.7.1(dec 5 2022) pro - Wacom cintique 24 Pro
User avatar
schwarzgrau
Posts: 1238
Joined: 23 Jan 2012, 22:08
Location: Offenbach / Germany
Contact:

Re: copy part of image and paste into another image

Post by schwarzgrau »

I'm pretty sure you can use this script even with the standard version, did you try it?. About the missing stamp in place in the actions you probably need to do a feature request.
Windows 11 22H2 / TVP 11.7.0 PRO WIBU / Cintiq 22HD
Windows 11 22H2 / TVP 11.7.0 PRO WIBU / Mobile Studio Pro 16" (2019)
Android 13 / TVP 11.7.0 / Galaxy Tab 7 FE
INSTAGRAM
User avatar
hellofilms
Posts: 153
Joined: 12 Nov 2012, 12:13
Location: Älvkarleby, Sweden
Contact:

Re: copy part of image and paste into another image

Post by hellofilms »

I can´t get the script to work.

I will not stamp in place. I dont know why.

/ Mattias
Windows 11 - TVpaint 11.7.1(dec 5 2022) pro - Wacom cintique 24 Pro
User avatar
schwarzgrau
Posts: 1238
Joined: 23 Jan 2012, 22:08
Location: Offenbach / Germany
Contact:

Re: copy part of image and paste into another image

Post by schwarzgrau »

Do your brush look like the part of the image you want to copy?
Windows 11 22H2 / TVP 11.7.0 PRO WIBU / Cintiq 22HD
Windows 11 22H2 / TVP 11.7.0 PRO WIBU / Mobile Studio Pro 16" (2019)
Android 13 / TVP 11.7.0 / Galaxy Tab 7 FE
INSTAGRAM
User avatar
hellofilms
Posts: 153
Joined: 12 Nov 2012, 12:13
Location: Älvkarleby, Sweden
Contact:

Re: copy part of image and paste into another image

Post by hellofilms »

When I press the "paste into Place" button the brush is empty,

IIf I press the "stamp in place" button in the tool-settings the brush is the part I copied so there is something with the action that dont work.

/ Mattias
Windows 11 - TVpaint 11.7.1(dec 5 2022) pro - Wacom cintique 24 Pro
User avatar
schwarzgrau
Posts: 1238
Joined: 23 Jan 2012, 22:08
Location: Offenbach / Germany
Contact:

Re: copy part of image and paste into another image

Post by schwarzgrau »

The action from this custom panel requires to mark the frame/frames you want your drawing to be applied to, before hitting the button. Maybe you missed this step?
Windows 11 22H2 / TVP 11.7.0 PRO WIBU / Cintiq 22HD
Windows 11 22H2 / TVP 11.7.0 PRO WIBU / Mobile Studio Pro 16" (2019)
Android 13 / TVP 11.7.0 / Galaxy Tab 7 FE
INSTAGRAM
User avatar
hellofilms
Posts: 153
Joined: 12 Nov 2012, 12:13
Location: Älvkarleby, Sweden
Contact:

Re: copy part of image and paste into another image

Post by hellofilms »

Now I got it to work.
And I understand why it did not work before.

When using the stamp i place function in the tool you can just select a layer and to be sure you need to a the correct frame.

But with this action you need to select the instance ( turning a bit darker ).

Got it. Finally. thansk fot support.
Windows 11 - TVpaint 11.7.1(dec 5 2022) pro - Wacom cintique 24 Pro
User avatar
schwarzgrau
Posts: 1238
Joined: 23 Jan 2012, 22:08
Location: Offenbach / Germany
Contact:

Re: copy part of image and paste into another image

Post by schwarzgrau »

Glad it works now!
Windows 11 22H2 / TVP 11.7.0 PRO WIBU / Cintiq 22HD
Windows 11 22H2 / TVP 11.7.0 PRO WIBU / Mobile Studio Pro 16" (2019)
Android 13 / TVP 11.7.0 / Galaxy Tab 7 FE
INSTAGRAM
User avatar
hellofilms
Posts: 153
Joined: 12 Nov 2012, 12:13
Location: Älvkarleby, Sweden
Contact:

Re: copy part of image and paste into another image

Post by hellofilms »

Trying out this script in 11.7.1 pro.
It works but if I want to paste into a second image and press "Paste in Place" no paste are made but the image is added to the brush and when I try another time it works. Maybe something has to be changed in the code to keep it loaded in the clipboard?
Windows 11 - TVpaint 11.7.1(dec 5 2022) pro - Wacom cintique 24 Pro
Post Reply