GIMP :: Flip Through Python Console
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
ADVERTISEMENT
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
Sep 2, 2013
Python plugins are not installing. They don't show up. Script-Fu works fine though.
View 9 Replies
View Related
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
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
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
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
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
Dec 17, 2012
Please take a look at the attached dynamic block.
I have two flips in there, one verticle, one horizontal. For some reason, whenever I tell it to flip, and then select everything in the block, it doesn't flip the other flip's arrow.
Then, when I created the second arrow, and went back to include the first flip in the second flip's Action Selection Set, it doesn't pick it up. Doesn't matter if I do "modify selection set" or "new selection set"... doesn't matter if I select everything within (blue box) or everything that touches (green box).
Yet, when I highlight the icon box, it shows everything is selected.
Can flips not flip other flips?
Additionally, I want the rotation parameter to flip on the horizontal flip (so it stays outside the block), but I can't get that into the selection either.
What am I missing with these selection parameters?
View 5 Replies
View Related
Mar 11, 2013
I have no problem flipping an image (before one removes the background). It's "after" I remove the background, that I am unable to flip an image. You'd think you could flip an image in whatever state the image is in...is there a way to do it, or not?
View 2 Replies
View Related
Mar 21, 2013
Printing OLE objects via AcCoreConsole? When printing from AutoCAD itself, I'm able to print OLE objects, but when using AcCoreConsole to print, OLE objects do not show up on the print.
View 4 Replies
View Related
Dec 7, 2012
I have made a plug-In for AutoCAD 2013 which reads the x-Ref from a DWG File.
However, I wants to read this xRef Details (with parent child tree information), from an Console or Windows Based Application. i.e. without loading DWG in AutoCAD, Is it possible to directly read the xRef details?
View 1 Replies
View Related
Jul 26, 2012
this message generates every 10 seconds in the Console. It's practically taken over the entire log.
7/26/12 5:34:21.950 PM com.apple.launchd: (com.autodesk.adlm) Throttling respawn: Will start in 10 seconds
I found the unix command to kill the license manager, but it comes back after a restart of the system. Is there a reason Smoke Pre-Trial is causing this and can it be fixed?
View 3 Replies
View Related
Aug 14, 2013
So I was getting these messages in the console;
com.apple.launchd[1]: (com.autodesk.adlm) Throttling respawn: Will start in 10 seconds
com.apple.launchd[1]: (com.autodesk.dl_mpd) Throttling respawn: Will start in 10 seconds
Thinking they may be the cause of very slow startups, I followed these instructions. URL...And now the Multi-purpose daemon won't start/unknown.
View 8 Replies
View Related
Aug 27, 2012
I have a question about new feature "Core Console".
Is there any ActiveX Interface for "Core Console" like "AutoCAD"?
ex.)
// this code can get AutoCAD COM Reference.
object obj = Interaction.CreateObject("AutoCAD.Application.19");
// Is there any code for "Core Console" like this?
// object obj = Interaction.CreateObject("AcCoreConsole.Application.19");
Reference: [URL] ........
View 3 Replies
View Related
Nov 21, 2012
I'm trying to automate plotting DWG to make PDF.
My File :
My DWG has one model and one paperspace with view of the model.
Each view can have many viewport and has a cartridge.
My Goal :
I want a PDF File. One view per page.
My method :I have an intermediate step, which create many Postscript File(One per View)
The second step use GhostScript to concate PS Files in a PDF.
The steps:
1st step : Read DWG File to create script file, in order to automate plotting with AccoreConsole.exe. My method give me the point for plotting in a window with both corner.
2d step : Use the Script File and Software like (TRUEVIEW or ACCORECONSOLE(Autocad 2013) to create PS Files.
Last step : Run GhostScript to make my PDF File as I wish.
Problem :
Old method It works with DWGTrueView, but I would like a silent mode for executing.
Solution ==> use AccoreConsole.exe include in Autocad 2013
New method Using Accoreconsole with a ProcessStartInfo, I realized that accoreconsole.exe can raised error that DWGTrueView didn't raised.
It works with some files, but sometimes, it's crashed, and I don't understand why.For exemple, a file that succeed with DWGTrueView
View 4 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
May 14, 2012
I am working on customizing our content center, or at least learning about how to do it and am getting completley lost. Maybe it is just the termonology. In the Wiki help instructions I am instructed to open the "data management server console" and a path is given in the last line.
When I follow this path the only options I find under Autodesk data management are: links to open the vault or to open the auto loader.Am I missing something, or is the main opening screen to the vault what is considered the server console? I am also looking for where to open the "Content Center Editor"
Since the content center parts are EXCELL baised I should be able to do most of the editing once I figure out how to get into them but I am having a hard time getting there. The one thing I am not sure I am going to be able to figure out is that I like to place a work datum midway between the start and end datums. It is an easy job to place an offset datum from the start datum and then go into the propertys and set the offset + B_L/2. However I am not sure how to create this datum in the family prior to creating the instance.
View 3 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
Aug 2, 2012
I'm working with our new copy of AutoCAD 2013 and using the Visual LISP IDE to create code. I also have an AC2009 machine right next to me for other tasks. On the 2013 machine when I click the "Load Active Edit Window" button it switches to the console screen but there are no messages printed like:
$
; 37 forms loaded from #<editor "C:/LISP/My-Lisp.lsp">
_$
This of course is making it extremely difficult to debug. I have checked the environment settings and they are exactly the same on each machine. The AC2009 machine prints the messages but the AC2013 machine is just giving me a blank console screen.
View 1 Replies
View Related
Oct 7, 2012
I feel like I am going crazy, but for the life of me I cant figure it out. I am on a mac using version 16.0.0 and the "f" key works when I am not using the tool, for its other function, but as soon as I start to draw it wont work. I tried deleting the prefrences and everything.
View 2 Replies
View Related
Mar 11, 2004
I am using Photoshop Elements. I have an image with text. When I flip it horizontally (to make a mirror image) the text changes as if now I am looking at it's back side. It looks very strange.
View 2 Replies
View Related
May 20, 2007
I've got an animated gif that I want to flip so one faces left and one right, can I do this in PS and retain animation.
View 9 Replies
View Related
Jul 31, 2004
I was workin on my new Avatar, and was on a layer in which I wanted to rotate the image by 180 degrees. For the life of me I searched through PS:CS's menu and couldn't find a rotate command!
There was ROTATE CANVAS, but that rotated the entire image. I had to end up increasing the window of the document and pressing CTRL + T for a free transform. Is there a:
Flip Image Vertically
Flip Image Horizontally
command?
View 3 Replies
View Related
Jan 27, 2009
I've selected the right strip/portion of the running pants.
I now want to select the adjacent strip on the left.
I want to keep the left part of the selection, which would be the right edge of the strip on the left. I have no idea how to just save the left part of a selection --
View 3 Replies
View Related
Apr 30, 2006
I have an image of a man with his arms out, facing the left. I want to duplicate this image and "flip" it over, so that I have two images of the same gentleman facing eachother. My question really is how to invert or flip the image over so that his arms are facing the right? Any help or advice would be greatly appreciated, as I'm sure this is relatively basic [though still beyond my abilities.]
View 3 Replies
View Related
Jul 26, 2013
I own a printing business, and just recently purchased Creative Cloud, and started using Illustrator for my custom designs. I need to figure out how to flip or mirror the image, so it's being viewed backwards. This is done for transfer paper printing, so that the letters print right side up, instead of backwards and unreadable. There must be a mirroring function right?
View 2 Replies
View Related
Jan 10, 2012
Most videos from smartphones and a lot from point and shoot cameras are taken in vertical format.There doesn't seem to be a way to flip these videos so that they show up the right way.Video flipping is extremely important for video management. I don't want to preview and edit my videos sideways.Is this feature hidden somewhere or is it just not there?
I am currently using Lightroom 3 for photos and Usher for videos and I was hoping Lightroom 4 could be the single app to manage both.
View 1 Replies
View Related
Aug 28, 2013
How to flip the text in my circle using Photo Shop CS6 (cloud version).
I made McDermott as one layer, then photography as another layer. I want Photography to be right side up within the circle, it's upside down as it is now.
Here is a logo I am trying to create for my photography. Once I get the Photography font turned right side up, I will insert a large M in the circle - but 1st things 1st.
View 17 Replies
View Related
Jun 8, 2012
With my top Layer selected; In the Edit menu, I hit Transpform > Flip Horizontal... but nothing happens! What could this be?
(Info: I have 2 layers with people facing to the right. I am trying to flip one of them around so that the charaters are facing into each other)
View 2 Replies
View Related