Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Layer via Copy/Cut bug (???)
#1
Win7x64 GIMP 2.8.18

-dark background
-some text with Epson font
-"Discard Text Information"
result:
[Image: c28dc6c9e1.jpg]
-select with Rectangle Selection all letters besides S
-Layer via Cut
-drag new layer somewhere
result:
[Image: 0d71fac4ad.jpg]

Did I do something wrong or it's just a bug?
Reply
#2
Problems with a script are usually best addressed by asking the author. But if your have no alpha channel in your layer(*) (in other words if the layer cannot be transparent) the result above (cut part replaced with some default background color) is not unexpected.

(*) The layer name is in boldface in the Layers list if these is no alpha channel.
Reply
#3
Not too sure that anything is wrong. Your first screenshot still shows a text layer, but it does not matter if text properties are lost or not.

Removed the text properties and selected all but the 'S' http://imgur.com/pgDFiDa

Invoked layer-via-cut splits into 2 layers http://imgur.com/pueAJH5

Moved the layer gives your second screenshot - what is wrong with that? http://imgur.com/MhHMgjE

Can you expand on the problem / required result
Reply
#4
(12-20-2016, 08:52 PM)rich2005 Wrote: Can you expand on the problem / required result

I just can't get why there is no "borders" left on the original layer (with S left) on your screenshots.
may be this "borders" are hardly noticable on my previous screenshot, here is one more:
[Image: ae4a69e71a.jpg]

(12-20-2016, 08:30 PM)Ofnuts Wrote: if your have no alpha channel
there are alphas on both original and cut layers.


thank you for your replys.
Reply
#5
Looks like a problem with the antialiasing pixels on the letter borders. These pixels are a blend of the text color and the background color. As such they may not be selected by a color select (:colorselectSmile or a fuzzy select (:fuzzyselectSmile unless you use a very large threshold, but then other problems arise. But may be you can just do a rectangle selection that includes the text you want to move.

However, on the whole you should have your text alone on a transparent layer, with an underlying black background. As long as you keep text and background on distinct layers plenty of problems disappear. You just make sure you don't alter the partial opacity of the border pixels in the text, but this is much easier to do when these are not blended with something else.
Reply
#6
@soundsbeard
You are correct, I can see the problem now. Layer-via-cut leaves those pixels behind. Tried all sorts to no avail.

The only thing I can suggest is back to standard Gimp tools.

Text layer -> Layer to image size
Make your selection
Guides from selection
gets you to here : http://imgur.com/v7s0HdF

Edit -> cut
Edit -> paste as new layer
Enable snap to guides and move back to correct location. http://imgur.com/rvCRmAJ

There might be easier ways but brain has seized tonight.
Reply
#7
yeah thanks, I have already tried alternative ways.
I was just wondering if I screwed with some text tool setting or some options perhaps.
but now I see I'm not alone with this.

thank you guys.
Reply


Forum Jump: