Gimp-Forum.net

Full Version: Multiple layers
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I have a 256 greyscale image with a contour map of an area, is there a way of splitting wach greyscale step into a separate image without having to create a new layer and sample the grey value manualy
Quote:...is there a way of splitting wach greyscale step into a separate image without having to create a new layer and sample the grey value manualy...

Nothing that I know of, that will recreate the solid layers. One of the gmic filters Layer -> Colors to layers does this from a single layer.

[Image: hW8JejR.jpg]

G'mic plugin is from http://www.gmic.eu
Thanks, I will give it a try
In case OP ever comes back, still searching but scripts to split into layers are thin on the ground.

http://chiselapp.com/user/saulgoode/repo...-decompose

As the name implies change the 256 grayscale to 256 colour indexed mode Image -> Mode Indexed

Run the script and it separates to 256 layers in a layer group.

Change the mode back to grayscale (or RGB if you want)

Maybe someone else will come up with suggestions.
(08-26-2018, 11:42 AM)Grumpy gnome Wrote: [ -> ]I have a 256 greyscale image with a contour map of an area, is there a way of splitting wach greyscale step into a separate image without having to create a new layer and sample the grey value manualy

Is this really what you want to do? The gray areas have smooth edges, which means their edge pixels have intermediate values. If you want to generate a layer by gray value, you will have many more than you think, many of these being dotted lines.

The screenshot you posted is a low-quality JPEG, so it's difficult to see what you are working with. For instance the lightest grey area has a darker rim, but I can't tell if its the original picture or a JPEG artifact.