GIMP :: Duplicating A Layer (Python Plug-in)
Jun 30, 2012
I want to create a plug-in that will improve detail in under- and over-exposed areas of photos, but I can't get as far as duplicating a layer. I'm new to GIMP plug-ins. My plug-in below is intended to create a copy of the image's layer and add the layer to the image.
The plug-in will register in Windows 7 (GIMP 2.8) but won't register in Ubuntu 12.04 (GIMP 2.6.12). In Windows, the plug-in gives an error. I don't get an error if I comment out line 8: Code:
View 2 Replies
ADVERTISEMENT
Jun 29, 2012
I'm trying to write a python plug-in, but it refuses to register. I went and downloaded another python plug-in, which did successfully register.
View 1 Replies
View Related
Oct 11, 2011
I have followed the instructions here [URL]......... installed GTK+, fiddled and cajoled and still I cannot get python scripts to run from within Gimp. The scripts show up in the menu within Gimp, but when clicked on, do nothing.
I am using Windows 7 32 bit, Gimp 2.6. I installed Python 2.6, pygtk all-in-one installer 2.2.
View 3 Replies
View Related
Jul 15, 2012
In order to make a copy of a layer. I know I make a copy of the layer, but then I'm having issues taking the layer, and reversing it horizontally so that I can create a new layer using the previous copied layer. I don't know what I'm doing wrong, and I've been experimenting with it. I'm now able to create really nice and curvy looking hills, but still just not able to copy it, and reverse it.
View 2 Replies
View Related
Sep 2, 2013
Python plugins are not installing. They don't show up. Script-Fu works fine though.
View 9 Replies
View Related
Sep 13, 2012
I'm having some problems with a python command. I'm working on an image that is 640x640. I'm trying to do a horizontal flip of a layer with this command:
pdb.gimp_item_transform_flip(layer, 320, 0, 320, 1)
the flip succeeds, but it generates a distortion on the flipped layer. When I try to flip that layer through gimp's interface, it is smooth.
I understood that the input values for the flip function were the layer, x and y of one point of the axis from wich the image will be flipped, and x and y of the end point of that axis. Here is the failure in the flip that I mentioned: URL....
this shouldn't happen or the flip will be useless for what I am trying to do. (the eye with problems is the first one, from left to right).
View 2 Replies
View Related
Dec 31, 2012
I have a gif animation that has 190 layers. It's a too much. I want to remove one out of three layers via the python-fu console. Here's what I did :
image = gimp.image_list()[0]
image.layers = [layer for (index,layer) in enumerate(image.layers) if index % 3]
Traceback (most recent call last): File "", line 1, in
AttributeError: attribute 'layers' of 'gimp.Image' objects is not writable
What is the correct way of removing layers ?
View 1 Replies
View Related
Feb 10, 2009
Every time you duplicate a folder or a layer, it adds the word "Copy" at the end. Is there a way to get rid of this?
I've been looking for a solution to this for the past 2 years. I spend 8 hours a day in Photoshop creating Comps. I'm crazy about having my layers clean, therefore I use a lot of folders, etc.
I probably waste an hour a day removing the $%)?#* Copy word at the end of layers/folders. This is driving me CRAZY while losing a lot of precious time.
View 4 Replies
View Related
Jun 22, 2011
how can I manage existing images, layers, ecc. with Python-Fu? Its methods don't accept IDs (unlike Script-Fu) and it returns me an error if I try to do it. More simply, how I can reference to an existing "IMAGE", "DRAWABLE", ecc. object?
View 1 Replies
View Related
Aug 5, 2013
I'm doing an script in python and i need use the map-object plug-in. I tried to use but always i have an error with the arguments and i can´t find out whats wrong.
I used reference examples of scm but didn't work, so one in python will be enough.
View 4 Replies
View Related
Aug 8, 2013
Is there any way to say to PS so it will duplicate X layer to "document -1"? When I record and duplicate it saves it at strictly to Y document not to "document" -1 or +1 or +x.
View 7 Replies
View Related
Aug 7, 2013
Unless PS has been updated to make this a feature, i may have found a bug. Now (in CS6 vs. previous versions) when you duplicate a shape layer, if you had previously selected specific points of the shape (for example with the direct selection tool) only those points will be duplicated in the new layer. This is true no matter what tool you are currently using.
What I did was make a rounded-corner rectangle shape -> then direct selected all points on one side to stretch the rectangle without distorting the rounded corners -> then switched to the move tool so no points were selected anymore and only the layer was selected-> duplicate layer (with the intention of duplicating the whole shape). what i got was just the rounded corners on a new layer.
It seems the only way to duplicate the shape layer in its entirety is to go back with the direct select tool -> select ALL points of the whole shape -> change to move tool -> dupe layer.
If that's the intended new functionality, it's a bummer because if you intend to only duplicate certain points, you can already do that while using the direct select tool. Using the move tool, it shows no direct selections and therefore you should be able to duplicate the whole layer.
Maybe I have some weird default option checked that I'm not familiar with? This is not how any previous versions of PS worked and will add friction to my workflow if this is new.
View 5 Replies
View Related
Nov 6, 2013
It's duplicating the layer style along with the layer which is fine but now when I change the style on one layer it changes all of those other layers as well. Is there a way to turn this off? I even tried removing the style and adding it new and it still changes the original!
View 1 Replies
View Related
Dec 22, 2012
Using Elements 11 I am trying to duplicate a layer on a psd file, however none of the options are available (they are all greyed out). Why is this?
View 2 Replies
View Related
Mar 1, 2013
I have a sample 3d eCover and I want to fit an image over the front part. However, I'm having a hard time transformating my image to perfectly the front layer. Is there any option to apply the same transformation of my front cover layer to my image?
Additional info:
1. The front cover layer of the 3D eCover is not yet merged with the other layers. So, I can still edit it.
2. I'm using Adobe Photoshop CS6.
View 3 Replies
View Related
Mar 3, 2012
I am wondering how to use the plug in browser as if I am correct a plug in that is properly installed should show here and the tree view show where to access it.
Under file -->create -->buttons we have round buttons and simple beveled buttons but in the plug in browser tree view they come under file -->create .
Some of the plugins that do show up (3D outline) are temporary procedures. many others I cant even find (speed text). Is the problem the plug in browser or me if me where am I wrong ?
View 3 Replies
View Related
Sep 19, 2013
I just downloaded Gimp 2.8 and was wondering if there was anything else I needed to download before I got started with the learning curve, and it looks like a long one.
Many times when you download a program like this, you notice there are a lot of additional add-ons, like plug-ins, etc., and when you start to read about them everything kind of runs together and becomes much more complicated than it should be. I'm afraid I might step into the trap of wanting everything right now instead of just working with what I need.
View 7 Replies
View Related
Aug 13, 2011
Is there a Genuine Fractals type of plug-in for GIMP.
I'm looking for something that interpolates an image to a larger size better than just normal interpolation within the application.
View 6 Replies
View Related
Aug 18, 2011
So I am making digital color prints at 24x30. the photography work is about color fields and gradients, so I need super high res files. I have set the size to 24000x30000 pix at 1000 dpi..now my problem, when i go to save the gimp file as a jpeg i get this error message "JPEG image plug-in could not save image"
View 3 Replies
View Related
Jun 21, 2012
I wrote a small script in python to write dxf files out. I want to add this to a button on the ribbon. I got that sorted out and can get my button to appear where I want it. I am having trouble calling the script from the button though.
The API tells me that the button has an OnExecute() event that I should listen for to call my script. I have been searching on how to do that from python but I haven't had any luck.
View 2 Replies
View Related
Apr 21, 2013
i have made same rigging as wagon car rigging from DT.i have added suspension also.
for scripting part other scripting's is working all right.but scripting for tyres take time.
for auto_rev and revolve option it takes time.wheel spin rotates without any problem.
View 2 Replies
View Related
Aug 1, 2012
I'm fumbling around with a Python script. Is it possible to make an input dialog with a "Browse" button so the user can find a folder (to be loaded into a variable in the script)?
View 5 Replies
View Related
May 1, 2011
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...).
View 2 Replies
View Related
Feb 4, 2013
How do I make the edges of the top layer blend in with the bottom layer so you cannot tell that there is a line??? I want to make it look like a heart but I don't know how to smoothen the edges to make it look like it is part of the bottom layer so when I merge the layers there is no goofy lines looking like someone cropped another fire picture out...
fire3.xcf (Size: 489.68 KB / Downloads: 38)
View 6 Replies
View Related
Apr 16, 2013
I have two similar images where the subject has moved between the images. I have them in the same file as two separate layers and am using the subtract layer mode to identify where they differ, (roughly!).
I want to be able to use the subtract layer as a completely new layer so that I can make edits to it. The only way I have found to do this at the moment is to 'copy visible', but this still brings other elements that I don't want from where the layers overlap.
View 3 Replies
View Related
Jan 20, 2014
For the projects I'm working on, I use the same template beneath the different layer groups of each different project. When I move a "color" layer into the group, however, it doesn't show up like it's supposed to. It behaves as if the 'color' layer is a blank layer, and has no effect. Is there any way to get this to work or?...
ALSO: I can't open images by URL.
View 3 Replies
View Related
Jun 7, 2013
Why can't I align a single layer that is inside a layer group? The align tool would always select the top most layer group as the 'boundary' for alignment, thus automatically selecting the whole layers inside of it and align them as a group.
Is this a bug or just GIMP's weakness? It definitely reduces the layer group's usefulness.
View 5 Replies
View Related
Dec 14, 2012
Long time gimp user, but for basic tasks only. Now I would like to get my hands dirty a little more. I'm trying to setup a workflow that involves CAD, Inkscape and GIMP. Basically I did some architectural drawing in CAD, used Inkscape to clean up and convert DXG into SVG, so that I can use paths into GIMP. I did a script that for every path creates a new transparent layer with a layer mask using the path, so I can add fills and textures quickly. Now to the problem: say I want to add a texture from another image, i paste the image into the appropriate layer, then I want to transform the texture a bit (scale, rotate and perspective). the result is that the layer mask is transformed, too. I tried to disable the mask during transform, but didn't work.
Is there a way to workaround this? maybe some layer mode instead of layer mask?
View 8 Replies
View Related
May 14, 2012
I just downloaded GIMP 2.8 (on Windows 7) and was using the layer groups to organize a project I'm doing. I noticed that whenever I put the layers into the layer group, nothing I do to them actually affects the image (for example if I change the opacity of the layer, it doesn't actually change). If I drag them out of the layer group they function perfectly; sometimes if I edit them and then drag them into the group they also work fine.
As I was writing this post I tested dragging a layer set to "dodge" into the group and it didn't work. It kept the dodge setting, but it looked as if it was on normal; however, I drug another layer set on dodge into the group and it worked fine.
Is this feature just broken on Windows, or does it not work like I thought (where you can drag them in and edit them individually, or edit them all by editing the layer group itself)?
View 4 Replies
View Related
Nov 17, 2012
I have the latest gimp.
View 1 Replies
View Related
Nov 24, 2013
How would you take a layer mask, and make it its own layer? If you try copying and pasting a layer mask, you can only dock it to another layer.
View 1 Replies
View Related