I have got a Layer in Gimp with an image that I manually scaled down, many times I want to just replace that image with a different image file but with exactly the same coordinates and size. Basically I want to change the source/url of that image while maintaining the size and position.
2 Answers
There's nothing in GIMP that will do it automatically.
Crop the new image to the same aspect ratio, and then scale it to the same size as the one you are replacing. Select All, and Copy.
Back in the other image, select the image layer you wish to replace, and Select All. Edit > Paste in Place. Layer > To New Layer.
-
@daljit97 It might be possible to either find an existing script, or have someone write a script to automate this, but generally GIMP is a raster image editor first and foremost - not page layout software. It's probably better to do this kind of thing in page layout software such as InDesign/Scribus where it's pretty easy to change a link to an external image file Commented Aug 9, 2018 at 19:18
In my case I was trying to replace a cropped image with a different image. File -> "Open As Layer(s)" worked for substituting the image.