How is it possible to fuzzy select overall in the image? By default Gimp only selects within the current region without going beyond boundaries. For instance I have a text for which to remove the background. For this is every O the background keeps unselected when not clicking within.
You can use the "Select by color" tool instead of the "fuzzy select".
You can also continue using the "Fuzzy select" and shift-click in the isolated areas to add them to the selection.
Related
Is this possible to color specific ark between two nodes based on the ark's <id> property? if so, how can this be done?
Thanks!
No, it is not possible. However you can color ALL relationship in Neo4j desktop/browser by 1) click on the relationship 2) choose the color below
See example:
One way to do this is to use the cypher output to create an svg file in which you can control a variety of parameters including colors. The Neo4j Browser can export a svg (manual process); otherwise you'll need to create the svg in code.
Some 3rd party tools enable this. I'm using GraphRX.
it can be done with Neo4j Bloom:
on the right panel, go to the "relationship tab", click on the relation you want to color
then go to the "rule based" tab, select the property that determines the color and set the rule that you want to apply
size and node color can be determined in the same way
I am writing a python-fu script for gimp that should have a line where it select all pixels of certain color. To do this, I added the line:
gimp.pdb.gimp_by_color_select(clipLayer,(white_level,white_level,white_level),0,CHANNEL_OP_REPLACE,TRUE,FALSE,0,TRUE)
where cliLayer is the layer I'm working on (top layer) and white_level is an input parameter.
When I give the value manually (e.g replacing the (white_level,white_level,white_level) with (136,136,136)), the selection is carried properly, why is that so?
Adding
white_level = int(white_level)
at the beginning of the function solve this.
From that picture I want to delete all instances of that specific color without having to go manually each pixel at a time.
Thanks
You can use Select / Select Similar to get a selection of all of the pixels with that colour, but bear in mind that Select Similar is affected by the Tolerance setting of the Magic Wand (W) tool.
So, first select the Magic Wand and set the tolerance to zero, then select one of the pixels you want to delete (with Marquee (M) and Edge set to Hard for example), then run Select / Select Similar. You can use the Paint Bucket (G) to replace the selection with whatever colour you want.
Of course, if you do want to catch pixels which aren't exactly the same colour, you can just set the Tolerance slightly higher.
I need to modify the focus-box's border color of TVirtualStringTree,
just like this pic:
You can't control the color of the dotted focus rectangle. That's determined automatically by inverting the color of whatever it's drawn on. The OS provides — and the tree control uses — an API for that. (You could edit the source code and replace calls to DrawFocusRect with your own function, if you want.)
If you're talking about the color of the whole node, then first check to make sure the toUseBlendedSelection paint option is set the way you want it. It defaults off, but since it makes the selection rectangle look cool when dragging a box around items, you might have turned it on without realizing what it does to ordinary selected nodes, too.
If that's not it, then adjust one of the values in the tree control's Colors property, probably either FocusedSelectionColor or UnfocusedSelectionColor. But please don't make such a change lightly; the user has chosen the selection color through the OS options, so you probably shouldn't change it. If you do use a different color, make sure the text is still readable against whatever new color you select.
You can set treeview's option toHideFocusRectangle to true and paint your focus rectangle by yourself in one of several paint events (basically it is enough to use OnBeforeCellPaint).
I saw this picture and now wondering if/how you can do this in Delphi. The highlighted/selected text shows two forms of formatting, i.e. highlight color and hash lines.
http://img9.imageshack.us/img9/4121/easilyselecttextofonela.jpg
I've done something very similar recently in a bible application, also done in Delphi.
The user can select a single verse and single words of the selected verses. (But this feature is not released yet, so don't bother looking for it)
I used the web browser control from Microsoft and added my own kind of selection handling.
I've done the formatting by enclosing the relevant parts with span elements and changing their CSS style. When the selection gets removed, I also remove the enclosing elements.
The hard part was backing the "visual" selections with a selection data structure and handling all the selection events (clicking, shift-clicking, shift-ctrl-clicking, ...)
Embedding IE seems to be an easier way to do this as DR says, but you can also do this manually by drawing it all on a canvas, an easy way would be to create two bitmaps (one without a selection and another selected (could be as complicated as you like - dashed, colored, ... )), and you need to know the positions/rects of all your characters which would be somewhat difficult for long texts.
You basically show the unselected bitmap, and overlap the selected parts by portions of the second image.
You would also need to handle the selection manually by OnMouseDown, OnMouseMove, OnMouseUp...