GIMP :: Bash Command Line To Open Two Images In Layers
Sep 23, 2013
I would like to use the Bash command line to open two images into GIMP, each image on a layer. The code below opens the two images into separate GIMP windows.
>> gimp image1.jpg image2.jpg
How can I open the two images into one GIMP window and two layers?
I have seen mention of a utility called xcf2png which can extract layers from a XCF file and write them to a PNG, but it seems there is no Windows version.
Any way of doing this under Windows/DOS? I just want to extract a layer by name and write it to a PNG file with the same name as the layer.
Or even better - searches a XCF file for layers that (say) start with an underscore and exports only those layers to separate named PNG files.
Basically what I need to do is capture a video shot, and place a play button on top of it. I thought the simplest way would be to just open each image as a separate layer but couldn't find a way to do that.
Eventually I made the screen shot the background image of an html page, and the play button the foreground image. Then I was able to position them just the way I wanted and capture a screen shot, then trim and edit in Gimp.
How I can select all layers using the command line?
I am going to write a piece of lisp which will reset all the lineweights for all layers to default and have started by doing it manually on the command line to see what I need to automate.
To start with I choose -layer then LW then type default and it is here I have a problem. It asks enter name list of layers for lineweight default which is where I need to choose all.
how I would convert an XCF to a PNG on the windows command line. With flattening of layers.
Heres what I tried before I gave up...
Various complicated GIMP python scripts but couldnt figure out what to do with them Imagick - tried various options but couldnt get to produce correct image xcf2png - couldnt find a windows binary nConvert - didnt seem to handle transparency and seems to include layers that are hidden
Using Photoshop CS6 (13.0.1) on a Mac Pro OSX v 10.6.8 it is no more possible to switch through open image windows with the OS related key combo "command <". There is also no Photoshop own configurable command available, that could solve this issue. CS5 or versions below always allowed that, and I very much miss this practical and fast switching between images, much faster then having to maneuver down through the "windows" menu.
Floating command line width gets shorter and shorter everytime you open up AutoCAD? Civil 3D is real bad, I used it to shoot the above video. In regular AutoCAD, it still shrinks, but it shrinks a lot less.
Any tips for keeping it floating but making the width stay constant?
I'm using Gimp 2.8.6.Try as I might, I'm still trying to figure out how to effectively 'merge' 3 shots of the same scene taken at 3 different exposures (using the exposure bracketing feature on my camera).The idea is to end up with the equivalent of an HDR image.
I assume that I open the first image and then open the other two as layers . .
I'm thinking about some new feature which I'd love to see in GIMP but can'tadd it myself. Maybe there's a way to achieve it.
To the point. I'd love to be able to create new image from clipboard from acommand line. There is such function so I guess it wouldn't be a problem toadd it. Having this one could make a shortcut (e.g. in Unity's launcher RMBmenu). It's useful when some app (e.g. screenshot taking) puts image inclipboard and you want to quickly edit it.
I don't draw line art but I borrow the free ones and color them, and I was wondering how I do layers because I have tried before and it just isn't working, and I need them because it makes it makes it easier to do. I have been managing without them.
I've had GIMP for quite awhile but I haven't been able to use it effectively for any projects simply because I cannot open, use, or view the layers dialog box.
I've tried Windows > Dockable Dialogs > Layers - this does not work. And I've tried using the shortcut, Ctrl + L, this does not work either. I've also tried uninstalling/reinstalling GIMP, but this hasn't solved the issue either.
Is there a way to open multiple images in 1 Photoshop PSD, with each image in it's own layer? I thought it may be the quickest way to stick images. The images will be named consecutively.
How to take 4 images of the same size and using layers, put the images next to and on top of each other, for a very nice array of all 4 images saved as one.
Now, though, I'm attempting to do the same thing, but use images of different sizes. Unlike before, when using the "Align" function, the layers are now stacking on top of each other, instead of next to each other.
The only variable I see that is different is that all the images are no longer the same size.
The option to edit in Photoshop CS4 from Lightroom 4 and return is just fine. However, the option to Open images as layers in Photoshop is grayed out as well as the option to open as Smart Object or Merge.
According to 'About Lightroom; this is what I'm running: <Lightroom 3.6, Camera Raw 6.6>
I used to 'merge to panorama', or 'open as layers' in Photoshop regularly, but today it no longer works. When I try, the message comes up: "This version of Lightroom may require the Photoshop Camera Raw plug-in version 6.6 for full compatibility. Please update the Camera Raw plug-in using the update tool available in the Photoshop help menu."
When I go to Photoshop Help Menu, 'no available updates at this time' is the message that comes up. I manually downloaded the Camera Raw 6.6, but to no avail.
When attempting to edit using PS, the program DOES open, but nothing happens... the files do not appear. They DO open individually when Edit in Photoshop CS4 is selected, but I prefer the 'open in layers' option, and often use the 'merge to panorama'...
I just opened up a project (.xcf) I hadn't worked on in a couple days only to find about half of the layers missing. I have no idea what's happened to them and I'd really like to get them back.
I have scoured the net for any Script-Fu or Batch to do this, and only find old code that is no longer good for gimp 2.6. For some absolutely insane reason (as far as I am concerned), gimp has failed time and time again (since their inception) to actually make it available to export multiple images at the same time. I literally have 300 layers, and for me to crop them all and save them as images would take an entire day.
Why hasn't this been made available? Is there any code or anything I can use to accomplish this task in Gimp 2.6? Photoshop allows it, and has since its inception! Why not Gimp? Is it that difficult to create? Are there really no plugins to do this?
I'm new to GIMP. I want to use it to create/test colour (or greyscale) separations for a woodcut, but I'm finding it hard.
For example I have attached a black and white image. kirsty.JPG (84.7K)
Number of downloads: 3
I open the image in GIMP, then from Image I choose mode - indexed, 4 colours. So far so good as this gives me the 4 greyscale levels I need to create a two block woodcut. Now I use the 'select by colour' tool to find the first colour, and I paste this into a new layer. That works fine. Then I select the next colour and try to paste that into a second new layer, but it doesn't work. It produces another layer called 'Floating Selection (pasted layer)' and won't paste the second or third layers.
How can I separate the 4 layers into individual images??
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?
Toady I've noticed that Gimp opens high quality jpg images in lower quality than their original ones.I made sure by opening the image using another software, and it gave me apparent good jpg quality that i expect.Please check attachments (see the red button).Noting that when i saved the opened image form Gimp using the maximum quality (100%), it saved in a lower quality that was on-screen visible when it was opened. it is a bug?
I've just installed Gimp 2.8.10 on my fresh Win 8.1 x64 installation and I cannot export or open any type of image 'cos there isn't a single option to choose a file type when exporting and also, Gimp doesn't recognise images on my hdd when I try to open them.
So far I've used Gimp on Win 7 x64 and didn't have any problems. The only driver I currently have installed on my system is the graphics driver.
I'm trying to work with TIFF images got from Image Pro Plus butGIMP 2.8 doesn't open them, I found that's a problem related to Image ProPlus because misses some tags. Also, I tried with ImageMagick using:
The first works fine, just with some warnings, PNG image was createdsuccesfully.
The second doesn't work and in any case if I do:
convert "prueba 1.tif" -identify
got:
convert: incorrect count for field "DateTime" (27, expecting 20); tagtrimmed. `prueba 1.tif'. convert: prueba 1.tif: unknown field with tag 40001 (0x9c41) encountered.`TIFFReadDirectory'. convert: prueba 1.tif: unknown field with tag 50288 (0xc470) encountered.`TIFFReadDirectory'. convert: prueba 1.tif: unknown field with tag 50291 (0xc473) encountered.`TIFFReadDirectory'.
My gimp opens all images in small thumbnail size (160 120). How can I get rid of this and get the files opened in their original size. I am running ubuntu 11.04 and gimp 2.6.11, and utilizing .NEF (nikon raw)
I have tried to remove $HOME/.gimp-2.6 - that didn't seem to work. I have installed and uninstalled ufraw - that didn't seem to work I have looked at gimp preferences, don't see there anything which would define reading in images into "thumbnail" size.
I am suspecting that after installing ufraw this problem appeared and I seem not be able to get rid of it. Removing $HOME/.ufrawrc didn't useful.