Saving selections in a channel - 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: Saving selections in a channel (/Thread-Saving-selections-in-a-channel) |
Saving selections in a channel - Espermaschine - 10-22-2016 When i type text, then go to 'Text to path', make a selection from that path and save it in a channel, that selection is superior (more precise) to using 'Alpha to selection' and saving that in a channel, right ? RE: Saving selections in a channel - Ofnuts - 10-22-2016 Warning, long answer... The gut answer is no, it shouldn't matter... you should get identical selections. How to test:
On my Linux, there are absolutely no differences between Alpha and Text, but there are noticeable (using the histogram) differences between the Path one and the other two. So, the alpha and the rendering of the text agree (which is expected since they are really the same thing). So for you the alpha could be what you call "more precise". However, on some platforms, if you have sub-pixel rendering enabled (almost always in current systems, in Windows it is called ClearType IIRC), the Cairo library used by Gimp will render the image using it, sometimes creating weird colors in the outline (this is very visible when you create white text over a black background). In which case, even if text and alpha agree, the real shape is the one from the path... But in that case, I create the text layer, get the path, delete the text layer, create a selection from the path, and bucket-fill it. This circumvents the outline colors, and then Text, Path, and Alpha all agree... RE: Saving selections in a channel - Espermaschine - 10-22-2016 For some reason, alpha to selection, turned into a path, always has some inaccuracies (which does not happen when i use text to path): [attachment=53] RE: Saving selections in a channel - Ofnuts - 10-22-2016 Ah, but you aren't comparing selections but paths... of course a path from a selection will be less accurate that the path that created the same selection. There is a second path-from-selection with a big set of options (shift-click the "path from selection" icon at the bottom of the path dialog) but it is vastly undocumented. RE: Saving selections in a channel - Espermaschine - 10-22-2016 I know about the advanced path options, but as you say, its undocumented, so i have no idea what to do with it (and there are a lot of options...!). So for now it seems, turning the text into a path and from there into a selection is more accurate. But its also always an extra step, which is a bit tedious. |