Paint Shop Pro :: Script / Copy And Merge Visible Layers Into A New Layer
Mar 11, 2013
If you've ever created an image having multiple assorted layers, and want to apply a modification to the final image while keeping those original layers intact, here's the script to do that:
Select allfrom PSPApp import *
def ScriptProperties():
return {
'Author': u'Ken Arway',
'Copyright': u'2013',
'Description': u'Copies all visible layers to a newly created ra'
u'ster layer.',
[code]....
Just use your favourite text editor to copy that code into a text file, and save the file as "CopyVisibleMergedToNewLayer.pspscript" in your user scripts directory. Doesn't matter if it's the "Restricted" or "Trusted" directory.
As the name implies, all the visible layers will be copied and merged, so it's easy to first "hide" the layers you don't want merged before running the script.
Yes, it's just a series of recorded actions; but the key is its use of the "Select All" and "Paste Into Selection" actions -- that ensures that the resulting merged layer maintains the same positioning as the individual layers. In other words, if your original layers have a transparent background and opaque areas that are off-center, simply using Edit...Paste As New Layer will center those opaque areas in the canvas, which is not what you want....
In Photoshop, there is a shortcut that does the following:
Ctrl + Alt + Shift + E — You’ll get a new layer at the top of the layer stack containing a merged representation of all visible layers (handy for sharpening adjustments, etc.).
I tried this in PSP X3 and it doesn't work. Does it even possible to do this in PSP? I know how to merge all the layers in PSP but all the merged layers then disappear. The Photoshop feature keeps all the visible layers and merges them into a combined merged visible layer.
Well I've got a problem when I work with layers, when I want to merge the layers, PSP closes everytime. If I register my work before merging the layers, it's ok.
Let me give you the details, as they are fairly specific to this issue -
First, here's my puter info: Lenovo ThinkPad Edge E520, Intel i5-2410M Core proc @2.3Ghz, 4Gig RAM, Win 7 pro 64 bit. PSP X5 - version 15.1.0.10.
Here's da scoop:
Open X5 Open jpg file (have tried various sizes, both physical and pixel, and makes no difference) Add Raster layer Create tiny color dot on new layer Merge layers Dies, freezes up, have to shut it down and lose what I just modified.
Now, mind you, I've been using PSP since way back in the Jasc days. For years I was one of their beta testers, because I USE THIS EVERY SINGLE DAY! Literally, I'm in it every day. I love X4, still trying to get into X5, but similar to when X4 came out, X5 is slowly PMO'ing me! I create hundreds of scripts, and lots dozens of plug-ins, and so far the majority seem to work fine in X5, however this whole issue of it crashing and freezing up my puter is really getting on my nerves.
After the crash, I can re-open X5 and it'll work fine on the first image. Then next image, SSSD!
Really is getting aggravating this constant crashing. Starting to think that Corel isn't creating this software but Microsoft is
Add a new menu item "Edit->Copy Flattened" which allows one to copy the selection from ALL the visible layers, instead of just the currently selected layer.
PSP X5 version 15.2.0.12 -- no further update available. -- Windows 7 Ultimate SP1
When I try to merge down (not flatten) the top layer in the attached file, PSP X5 stops working EVERY TIME. I have been using PSP X5 extensively for a while (6 or 8 months) and have never encountered this before. All layers are 100% opaque, so this is not the same as a similar reported error. Also happens in PSP X4. I can work around this by cutting and pasting, but shouldn't have to.
BugExample.zip Bug example: merge down top layer crashes PSP X5 (20.96 KiB) Downloaded 41 times
I'm using the animated gif extension that allows one to edit gifs that are in the .agif format and I was wondering if there was any way to quickly add in a certain layer into each "frame" of the gif. This is mostly for overlaying text onto a gif and it gets tedious duplicating, moving and merging all the layers one by one.
Now I'm using x4 and I noticed that when I cut/copy a portion of a pic and then paste it as a new image....then I want to copy and paste that portion back into the original photo using paste as new layer....the icon doesn't change automatically from the lasso/cut tool to the move tool.
It used to do that automatically in psp 7 so that right after I paste as new layer, i can move that portion around right away.
In x4, after you paste as new layer, you can't move that layer around because it hasn't changed automatically to the move tool. I have to manually click on the move tool everytime I want to move the layer around. It's very irritating!
Any settings I can change to make it automatically change to "move tool" right after pasting a pic as new layer?
I have a second image, the same exact size and resolution as the first two layer image. I would like to paste layer 2 from the first image, into the same exact position on image 2. Every time I paste. it centers the text, whether it is just a ctrl-v, or a paste layer. I've even tried promoting the layer 2 in the first image then pasting as new layer into image two, with no luck. Everything I've done pastes layer 2 from image one, into the center of image 2.
I just installed the X4 trial. I still have X3U installed but not open. I keep the layer palette open all the time.
I open an existing image and the current layers are displayed correctly. I open another image and it looks fine too. I then copy the 2nd image or a layer from the 2nd image and paste it as a new layer onto the first image. No matter which image is active, the layer palette continues to show the layers from the 2nd image until I close it. At that point there are no layers displayed in the layer palette at all; not even the background. If I do a paste as new image or even just create a new image, there is nothing in the layer palette then either. It doesn't change if I close and reopen the layer palette. The only way I have found to get the layers to display is to click on something outside of PSP X4 such as an open browser screen and then go back to PSP X4.
I am using Photoshop CS5.When I stamp/merge visible, it did not seem to produce what was last seen on my screen. It seems like it missed some adjustment layers, which I am not sure which one.
I have a GIF image that I need to add something to, but I don't want to add it to every single individual layer. Is there a way to add it over or behind the entire GIF so that it remains static while the GIF's frames cycle - like a watermark or something?
Or if not, is there maybe a script-fu that copies and merges a selected layer over every other individual layer automatically, without messing them up?
I know I'll probably have to just end up manually adding it to each layer, (so many layers...).
I need to make multiple duplications of the same layer. This will solve my problem, however after I get the results I want, if I merge the layers, it reverts to the look as if I only had one single layer again. This will also happen if I do not merge the layers but save it as a PDF to get it ready for print. This results in a very muddy/neutral results. I have tried to simply select the layers and copy as merge, select everything and copy merge into a new document, and flatten/merge the image. None of them worked and reverted the image to the original one layer look.
I don't see a "Copy Visible" function, does one exist that does it? Basically I have 10 layers, but I want to copy/paste the 'visible' area to stick in a test harness without having to manually flatten the image first.
I have tried everything that I know to do but cannot get the materials palette (and some others) to show in X3. I need to have the materials palette show so that, among other matters, I can change the color of text I add to the image. I did not have this issue with X2 and this issue is forcing me to go back to that older version.
any way to merge visible layers to a new layer, yet retain the layers that merged? Does that make sense. So if I want to merge layer 1, 2, 3 into a new layer 4. Can I create a layer 4 with all layers merged as one, yet still have 1, 2, and 3.
I'm looking for a menu item or shortcut to do this.
I did look through the FAQ but couldn't quite find what I was looking for, perhaps because I am not sure of the proper terminology.
I have attached a screen copy of the effect I want to achieve.
Basically I have a picture of a scene/building from the past and I want to merge the two into one picture with the same scenery is shown on the edges and the scene from the past, faded In towards the middle section of the image.
Can this be accomplished with Layers? or Maybe a Collage? or is it something else?
I vaguely remember a process (like the photo merge tool) that let you paint in red what you wanted to get rid of and paint in green what you wanted to keep. It didn't have to "merge" files. I tried it a couple of times with pretty mixed results (back in X3 I think.) Is there a similar tool in X4 or can you use photo merge for this? (I tried opening photo merge with one image, painting it in red and green,clicking process, but nothing happens on the image.) I will resort to the object remover or clone brush if my mind is playing tricks on me about this tool, but I wouldn't mind trying it in this tricky situation.
When I load a dwg file, i set all invisible layers to visible!The layer properties has been set to visible, but the entities on those invisible layers still can't see.After that I change the layout,just change the 'model' to 'layout1' Then change back to 'model' . All entities is visible!
private void AddNewLayer(Document doc) { if (doc.IsReadOnly) return; using (DocumentLock m_DocumentLock = doc.LockDocument()) { [code]....
Well I have tried all the video tutorials and instructions found on the net but NOTHING works as yet.As far as the printed results from net searches go I get so far along and then the instructions cannot be followed because the item it says is on the menu is just not there on MY menu.
What I want to do is to take a portrait from one photo (Freehand Selection tool to select JUST the face?) and blend/merge it on the background photo. I want to be able to change the size and opacity of the face so that I get the EXACT result I want.
Layers are shown in the drop down menu from the ribbon but when I open the layer manager no layers are visible. I can click in the empty space and the layer will highlight. See attached.
In PSP X5 I got the file names below each thumbnail but in PSP X6 I do not see the file name below the thumbnails. Is there a setting to get the file names or is it again a "new and extra ordinary function" which takes of the file names? I cannot work without the file names.
I'm trying to save a file that looks great in Photoshop and preserve it as a PNG. I'll create the image, simply "merge layers" and lose the transparency of it. How do I get my PNG to look like it does in photoshop.
The red background show through in photoshop originally...but then after "merge layers" or saving the PNG every way possible (or so I think)... the degree of transparency isn't preserved.Below looks great. (red bleeds through nicely, good transparency)
Now doesn't look so good. (all i did was merge layers and red doesn't bleed through properly anymore, same result when saving as png)
I'm looking for a plugin that will merge one layer with all of the individual layers below it. So this would be the equivalent of duplicating one layer multiple times and then moving each duplicate between all the layers below and then merging the duplicate layers down to each original individual layer.
It could be seen as putting an ace on top of the deck, duplicating that ace 51 times, and then putting a duplicate ace in between each of the cards below and then merging each duplicate ace card down to each of the other individual 51 cards below in the deck.
I've found allot of nice multi-layer plugins (Like "LayerGroups") on the GIMP plugin registry that have worked doing things that I need, but now I'm looking for this one on the GIMP plugin registry and I'm not having any luck.
When I remove background and attempt to copy image that left to another picture the imaged that is copied ends up being 4 times bigger then it was and overlaps new picture.
if you have ten or twenty sets of HDR pictures in some particular folder, that the dialog could remember what folder you've been in all day, instead of moving you back to My Pictures each and every time? I spend half my workflow effort on repeating the same folder navigation steps over and over.
And why do I have to browse from there at all, instead of being able to select pictures in the organizer, or drag-and-dropping them?
Even when I load one picture that doesn't fit with the others, and try to exclude it... the only thing that works is to re-browse. Otherwise the Align button remains unavailable. Likewise if you adjust the sliders a bit wrong and hit okay... to try other settings, it's back to the folder navigation again.
I reset preferences using the shift key and the instructions on the cited web site. neither worked I also restarted the computer. If I open paint shop X5 the paper edges can be seen behind the image but if you look at the enclosed screen print you can see paper edges are not visible in paint shop pro X6.