Ubuntu :: Gimp Batch Mode - Predetermined Layer On Another Image - Export As Png And Discard Changes
Jan 3, 2011
I want a simple short gimp batch script that will take one image, paste it into a predetermined layer on another image, export as png and discard changes. Unfortunately, I can't find any tutorials on using gimp batch. Anyone know any such tutorials (Or better yet, what my script needs to be)
So far this is what I have. I need a way to loop through the layers to check the name of them, I also need a way to ditch the previously opened files from memory (Otherwise gimp still has both images in memory) (I'm going to mark this solved so I can make a cleaner post once I get it together)
I need to close images I work with when I'm done with them. As an example scenario, I can open several images and work on them, but every time I open them they create new instances in gimp, meaning the gimp could in the end be using several gigs of ram for images I can't even see are there.Also, I can't start gimp for batch only (Using 2.7 dev version)Code:$ gimp -i -b "(script-fu-thing 1)"This is a development version of GIMP. Debug messages may appear here.(gimp:11407): Gimp-Core-CRITICAL **: gimp_viewable_get_stock_id: assertion `GIMP_IS_VIEWABLE (viewable)' failedgimp: fatal error: Segmentation fault
I often want to move several layers in the GIMP at the same time. I can't however select more than one at the same time. Is it somehow possible to move several layers simultaneously in the GIMP?
I don't know if it's possible but GIMP is able to receive command line arguments, so why not? Basically, I want to create a batch (action, macro or what it may be called) and then set up a cron job which will run every hour. So, it would be something like "If an image is in X folder, then resize, watermark & move it to Y folder".
It is a simple 2D RPG game. I have this great idea to use static backgrounds and foregrounds. To do this I plan to create another layer that will serve as the collision mask, and cover area where the player cannot move to. I have been trying to find a good format to do this, I want something simple because I plan to write my own library to read the format, it seems that most vector graphics formats are simple enough for that, so its not a huge issue, and not all the information is necessary, for my application, since it will not be visible, no color information is needed. However, there are not that many formats available, and they all seem to be XML based (I don't care for XML), but in the end, I settled on SVG. I wanted something I could create in GIMP, if these masks are too hard to create, I may never finish this project (laziness)... However, I discovered that my version of GIMP will not save as/export to SVG format! It will open SVG, but not export to SVG. Very frustrating. So I went through all the trouble of compiling GIMP 2.7, but that still doesn't support SVG. I made sure to install all libsvg-dev headers before building GIMP 2.7. What can I do to get GIMP to support exporting to SVG format OR is there another SIMPLE vector graphics format that GIMP supports that I could be using?
I scanned hundreds of pages in gray scale and would like to batch process them to B&W. You can do this using the gimp GUI. what it does is get rid of all the gray shading from reflections off the paper when scanned. So you get crisp white backgrounds with black text and diagrams. I would like to simply do this to the entire group directory at one time as it would be quite a lot of effort to open them and do them one by one.
I have a LaTeX document in one folder, and the images that this documents includes via
Code: includegraphics{filename}
are in subfolders of this directory. Sometimes I compile this LaTeX file using PDFLaTeX, and others using plain LaTeX. Thus, I would like to have my images in PDF and EPS format, along with its original source, normally an SVG file created with Inkscape. I know I can use Inkscape to convert these files to these formats, but when there are 50 images, it becomes cumbersome/boring/APITA.
I have a small Makefile that reads gnuplot scripts and generates EPS files
Code: # Makefile to convert into Encapsulated Postscript # the plots made with GNU Plot. (.plt files) .PHONY=eps,clean PLOTS=$(shell ls *.plt 2> /dev/null)
I am logging the output of: top -b -n1 -c so I can keep track of which processes are using how much memory and CPU each minute. When top shows the full command line (-c), the command line text gets truncated at the edge of the screen. This is perfect when running and displaying in a terminal. However, I am sending STDOUT to a file for parsing later and want the full command name logged. Is there a way I can tell top to use a specific screen width? (I know it maxes at 512, that would be fine)
Is there a better way to achieve a similar goal: get periodic stats about which processes are running and how many resources they are consuming?
i have recently been spending some time with gimp, i find it a very good replacement for photoshop and i find it easer to use. the only thing that bothers me so much about gimp is that everything is in separate windows.is there a way to make a sing windowed mode. if there is please tell me because this has really been bothering me...
im trying to send pages of 4096 bytes from kernel layer of server to kernel layer of client over a network. previously i tried the foll. code , for data less than a 100 bytes it worked fine , but for something larger than that the computer hangs......(even the dmesg's wont say why) i also wanted to know how we could use the 'sendpage' function to solve this problem.
Ladies and gentlemen, I announce my 1st Qt4 application - Baires. Baires is a program that helps you easily resize bunch of pictures from one directory and place it to the same or another, with just one click (after initial setup, of course). With help of @microchip8, who built spec, RPMs and placed them to his repositories, I have now made an "official" download page at my site.
In GIMP, can I rotate an image by only a few degrees? It's a scanned image of a crooked xerox copy, and I want to straighten it. I see options only for rotating by 90 or 180 degrees.
I am attempting to set up an automatic transfer via sftp using public key authentication. I have created a public/private key pair to connect to the remote server without using a password. I have also been able to use this key pair to login from the command line: sftp -vvv -oPort=<server-side port> user@server.Debug info from interactive command:
Code: debug3: authmethod_is_enabled publickey debug1: Next authentication method: publickey
I have few thousands of icons from my OS/2 PC and I would like to convert them to format acceptable by LINUX GUI (*.png, *.xpm).I attempted to open an OS/2 *.ico files with few LINUx graphical apps (GIMP,Fspot, gThumb,Gwenview,Kolourpaint,Okular) but none can understand the format. It's somewhat problematic for me to convert under OS/2 now so I'm looking for a LINUX app.Are there any LINUX apps that can convert OS/2 *.ico files to a LINUX format in BATCH MODE? If it requires manually "open then save-as", I can't repeat it few thousands of times.
I have four smaller jpg files, that I would like to merge into one file. Each image is similar in size, and they are color images. The only way I could get close is by creating multi-layered composites, which got really big. The only other way I could think of doing it is with OO, creating a presentation slide, and then rendering that slide.
I'm not a Script-fu expert but I did manage to get a Script-fu script to at least not throw up any errors. However, it also doesn't work. I've written a bash script to use gphoto2 and imagemagick to snap a picture, download, rotate and crop it ready for print. I'd like to automate the final step and have The GIMP or some other program print it.
My script-fu script is: (define (printshot filename) (let* ((image (car(gimp-file-load RUN-NONINTERACTIVE filename filename))) (gimp-print-gtk RUN-NONINTERACTIVE image) (gimp-image-delete image))) )
and my bash script to call it is: gimp -i -b '(printshot $1)' -b '(gimp-quit)' I know it's executing the script-fu script because I have received error messages when I do something invalid in it. However, I don't get any output. I get the same thing when I run it from the Script-fu console. It seems to execute but doesn't print anything.
I'm trying to make buttons for a webpage - each button has a "graphic" part - say an oval with a drop shadow, and text on top of that, such as "About Us", "Contact Us" etc. I'd like the text to line up horizontally against one another, so that if the buttons are placed next to one another in a straight line across the page, the texts line up with one another. How do I do this in GIMP?Common sense suggests that the "Align" tool should be what I should be using, but how do I use it?
I want to make an 8-bit looking image that has very large pixels. My solution was to make a 50x50 image, zoom in, draw it with the 1x1 pixel pencil tool, and then scale it to whatever size i want.Everything went well except, when i try to scale it the anti-aliasing kicks in and blurs everything. Is there a way that i can disable anti-aliasing?
The default image viewer in 10.10 (eog) has met its match, a ~500MB image of the moon. I just thought it was kind of funny, while browsing the software center for an image viewer that could handle it, I noticed the description of the one installed by default and thought it was kind of funny, so I snapped this screenshot and thought I'd share it with you guys. By the way I have 4 GB of RAM and can view the image just fine in GIMP, just thought this was kind of funny. Screenshot
I have a doubt about the Gnome default Image Viewer.It's because I edit my RAW images on RawTherapee, and then export them to jpg.When I open the exported pictures on the image viewer, it looks like has lots of noise.But when I open the same picture on Gimp or Iceweasel, the noises doen't appear.
So, the question is: which image viewer is wrong? Is Gimp and Iceweasel "fixing" the picture automatically, or Gnome Image Viewer is reading it wrongly and showing it with noise?URL...
I am looking for image batch processing (mainly resizing) apps. As I have problems with Nautilus Image Resize in the other thread, are there any other software that is fairly easy to use to batch resize images? Preferably from a one-click install that works. I tried Phatch, but that didn't work for me.
I have a few small still images of around 300 bytes each that I created under Windows many years ago, I'd like to:
1) change the colour of some pixels on each and 2) make them the exact same size but I do not want to learn Gimp to do this since I have no other use for it.
Could someone show me the sequences of commands in Gimp GUI that will do the job?
I have a large image that I want to print over 4 pages, each page showing 1/4 of the overall image, that I will past together. I'm doing this from GIMP on an up-to-date fc12 system. Searching around I find that there is a "scale" field in the print dialog and the lp command that cups supports and according to the documentation if I set scale to "200%" it should do what I want.However, when I set scale to 200% I get only one page with the upper left 1/4 of the page and then nothing. How do I get it to print the remaining 3 pages?