I have often yellow selection appearing that I want to get rid of because I can't seem to work outside of that selection. So far it appeared when I pasted new later and had to anchor it. The selection still stayed there after anchoring. Another time it appeared was when I resized canvas. New canvas was alpha color and I could not paint it white because I could not work outside of that selection. This is a selection that I am talking about:
Why do I need this selection and how to deselect it?
What I did was I typed out "nuclear powered engine" and then selected the text and stroked it with red.
Now I'm wondering if it's possible to make this into a customized font--that is, a yellow font that is automatically stroked in red (1 pixel thick). Is this possible?
I am not familiar with script-fu and I really have the urgent need for a script that converts a PDF to a PNG without the anti-aliasing. (raw). I want to do this with the Gimp because of the perfect result but till this moment I am not able to write a script that does also set the anti-aliasing off.
I'm very new to all of this. The issue I'm having is trying to use brushes I have downloaded (in the .abr format), I have seemingly no issues copying the file to the brushed folder for gimp 2.8.22, and when I open Gimp it shows the brushes in the list.
However, when I try to actually use one of these new brushes they are always blurry and pixelated. When I look at the settings for the brush, every single one is always at "0" hardness. I am unable to change any setting other than size.
I have tried multiple different brushes, I have completely uninstalled Gimp and deleted all files and folders associated with it and then reinstalled it. No matter what I do it's the same issue over and over.
I have increased the pixels per inch. Nothing seems to work.
I know it has to be something I'm doing incorrectl. I must just be missing something.
Numpy is one of the things that makes Python an "in" language according to this StackOverflow blog. But it can also be used outside of data science. In practice it is a very efficient vector/matrix library and so is well suited to process image data.
Together with the ability to extract "pixel regions" with the Gimp python API, some pretty fast processing can be written quickly. See attached script for some exemples: median/average filter (the median filter is almost twice as fast as the one in GMIC), and an implementation of Color>Desaturate>Luminosity. If done properly, there are no loops in Python, all the pixel iteration is done by the numpy code on native data.
Of course, you have to add the numpy module to the python runtime used by Gimp. Very easily done in Linux... it could be more complicated to do on Windows/OSX, but not impossible.
Edit: updated the script 2017-12-05 (now uses 2D rectangular color planes instead of single vector ones)
Often I need to remove background from photo/raster or vector. I wanted to know what is the most efficient way to do that. Here's how I do it if it's photo:
1. Use Rectangle Select or Ellipse Select to select areas around object to remove first.
2. Use Eraser to remove small areas of background until all around object is clean.
Sometimes I would select Fuzzy tool to delete areas with same color but in photo/raster images it's hard to target.
In vector file, I would no need to remove background selection by selection because Fuzzy tool can select background which happens to be of same color and I can remove background. Depends on vector too of course because with manually converted photo to vector the background would still have variety of colors from conversion.
Here's my current image that was converted to vector. I am trying to find a faster way to remove background.
What would be your advice?
In the attached XCF (small!: 5x5pixels), there are 4 layers: 1, 2, 3 and the problem layer, "Numpy Ops" (which is identical to "1", with one red and one blue square). For me, this layer:
Shows in the Layers list, but behave as a transparent layer in the Image window.
Remains invisible if I copy/paste it over itself (Ctrl-C,Ctrl-V,Ctrl-H)
Produces a visible copy if I copy it as a new layer (Ctrl-C,Ctrl-V,Ctrl-Shift-N)
Can be painted over, but the painting only shows in the Layers list
Is it the same for you?
The layer is produced using the "pixel region" API for Python...