Post Reply 

Find and Replace graphic/texture within image

Apr 26, 2014, 20:51 (This post was last modified: Apr 26, 2014 20:53 by Wolfgange.)
Post: #1
Find and Replace graphic/texture within image
Is there a plugin of some sort that would be able to find your selection within an image and replace it with another graphic? For instance, I have this picture of a 2D "Minecraft" (A voxel-based game). There are different blocks that have textures on them. I am trying to replace all the wood textures with a new wood texture. The same with grass and stone.

So I would change this:
[Image: Xenocontendi.png?cf6bcc]

To this (Or another texture opack);
[Image: jehkobasfantasy.png?cf6bcc]

Is it possible to automate this process or do I have to paste the new texture over every spot I see the old texture?

Thanks in advance Smile.
Find all posts by this user
Quote this message in a reply
Apr 26, 2014, 22:15
Post: #2
RE: Find and Replace graphic/texture within image
I don't know of any way to locate a given texture like this. However, it would be more efficient to make a selection on areas filled with the texture you want to replace, set the pattern to the replacement texture(*), and bucket-fill the selection with the pattern.

(*) no need to use explicit patterns, copy the new pattern to the clipboard (from some image), and use the "Clipboard" pattern (first in the list)

Now answering your questions on
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Any plugin for open multiple image in shinprog 1 330 Oct 31, 2017 11:38
Last Post: paynekj
  Scale image to specific size MattRothschild 1 222 Sep 15, 2017 11:13
Last Post: ythgilb
  Dividing and printing a large image RayArdia 1 156 Aug 9, 2017 07:22
Last Post: ythgilb
  Late binding / COM for opening an image into GIMP? i73 2 203 Aug 4, 2017 17:39
Last Post: i73
  PDB call to Image/Canvas size... ? Shadowes 3 433 Sep 1, 2014 22:31
Last Post: Shadowes

Forum Jump:

GIMP ForumPortalArchiveContactTermsRSS