![]() This seemed to work in a flash after fruitlessly spending a lot of time wrestling with Gimp/plugins and /plugins. And blue values to be 63/70ths of the current values. ![]() Green values to be 159/198th of the current values. This area allows you to choose the color range you’d like to change. xian555: Hi Cameron, Thx for this suggestion. Near the top of the dialogue is a section titled Source Range (red arrow in the image above). You can use the Color Picker tool to pick the correct color youre trying to replace, if its not exactly black. The Rotate Colors dialogue contains a few colors wheels and several sliders. So that means I wanted new pixels' R value to be 231/141ths of the current red value. To access this tool, go to Colors>Map>Rotate Colors. The rest of the colors wanted to be changed equivalently. Specifically, because I knew a "master color" of the original image (green, in your case and mine) and I knew the "master color" in the desired result image (blue, in your case, orange in mine), I gave ImageMagick' -recolor/-color-matrix option a transformation matrix with values that reflected the differences in each of the RGB channels.įor example, in my case, the fully green color was R:141 G:198 B:63 and I wanted it changed to R:231 G:159 B:70. ![]() The different operator is either -recolor or -color-matrix, depending on ImageMagick version. what's the correct way to get the white (or any color) background pixels to be made transparent - and preserving anti-aliasing in the process? It's easy in GIMP, but I haven't found how to do it in any version of Pixelmator.The first successful method I found to do the same sort of thing was to use ImageMagick, but with a different operator than the earlier-suggested -separate/-swap. what is the correct way to change the "white" (or any color) so it's transparent, and it preserves the full anti-aliasing in the same way as GIMP? If I use masks, I can get _some_ anti-aliasing, but it's not the same anti-aliasing as the original, with the difference between the original and the "mask to transparency" shown below: The gray pixels on top are a problem, because they can be visible if put on a black background, like so: The image below has "gray" pixels on the top of the text, and the bottom loses all anti-aliasing: As far as I've been able to use it, masks have the same problem too. With Pixelmator, I seem to have to choose between less effective options, where I either end up using the select color tool, which will select too much (or not enough) of the black text - either leaving "grey" pixels from anti-aliasing, or removing the anti-aliasing altogether. Here are the steps: Step 1: Open your transparent image in GIMP using. (If you put a black background behind the layer, it stays all black, because there are no "white" pixels there - there are only the black and alpha/black pixels: With the Fill tool’s help, we will be changing the color of an icon or text in GIMP. With GIMP, it just works.Įxample: I start with the following (zoomed in) anti-aliased image:Īnd a couple of clicks in GIMP, and I get an image with the White changed to transparent - and the anti-aliasing remains correct. You'll have to zoom in quite a bit to see any of what I am trying to show.Īlso keep in mind, the color may be any solid color - blue, heliotrope, whatever. ![]() In the Color dialog, select the color you want to use. If you want to change the color of the entire image, you can skip this step. Select the area you want to change the color of. Gimp has a "Color to Alpha" option, which is useful to easily remove a colored background from an image, while also preserving anti-aliasing. To change the color of an image in GIMP: 1. I'm liking Pixelmator, but there's one feature from GIMP that I'm missing - and I'm not quite sure how to do the same thing in Pixelmator.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |