Gimp-Forum.net
Erase several horizontal pixel lines - Printable Version

+- Gimp-Forum.net (https://www.gimp-forum.net)
+-- Forum: GIMP (https://www.gimp-forum.net/Forum-GIMP)
+--- Forum: General questions (https://www.gimp-forum.net/Forum-General-questions)
+--- Thread: Erase several horizontal pixel lines (/Thread-Erase-several-horizontal-pixel-lines)



Erase several horizontal pixel lines - Lisandro Amado - 03-17-2018

Hi! I am wondering ir there's some way to erase an array of complete lines of pixels from an image. I want to convert am image to a ser of thin horizontal lines over an alpha background. Might that be possible? I guess it's easy with some coding. Thanks for reading!


RE: Erase several horizontal pixel lines - Espermaschine - 03-17-2018

Filters -> Distort -> Erase every other row ?


RE: Erase several horizontal pixel lines - rich2005 - 03-17-2018

@Lisandro-Amado

Do you want, alternate lines erasing as above
or
The image split into strips and those 'opened -out' to create gaps between the strips.

Edit: Packing in for the night so possibilities

1. Regular spaced erased gaps.
Make a grid Filter -> Render -> Pattern -> Grid as a layer over the image. Colour select in Grid. Cut the selection in the image layer.

example: https://i.imgur.com/PJOW0bV.jpg

2. The image dissected and moved apart.
One of Ofnuts plugins ofn-shred-layer.py About 4 down here: https://sourceforge.net/projects/gimp-tools/files/scripts
Looks like: https://i.imgur.com/HJzzih4.jpg