Как заменить цвет другим цветом с помощью paint.net

4933
john Gu

Я работаю над веб-шаблоном и хочу заменить красный цвет по умолчанию на зеленый. Например, у меня есть эта картина: -

enter image description here

Где я хочу заменить красный на зеленый цвет. Поэтому я сделал следующие шаги: -

  1. Я открыл изображение с помощью Paint.net, я установил основной цвет на зеленый.
  2. Затем, используя «Paint Bucket», я нажимаю на красную область, в результате красный цвет меняется на зеленый, но это повлияло на черный текст, который стал менее резким, как показано ниже: -

enter image description here

Так что мой вопрос, есть ли внутри paint.net способ указать заменить все красные пиксели зелеными вместо использования «Paint Bucket», чтобы черный текст не пострадал?

1

1 ответ на вопрос

2
Joey Miller

Find the "Tolerance" bar top of the screen and drag it down to 0%. When set to 0%, your paint bucket will only fill in pixels that contain that exact red color. This likely will not change the red in the edges, though. Keep filling in individual pixels or play around with the tolerance meter until you get your desired result. If you do play around with the tolerance meter to fix the edges, you should try drawing a temporary black square (or some color that isn't green/red that you can recolor to green/red later) around the black radio-wave icon so it isn't affected when you fill the edges in at a tolerance other than 0. Be sure to keep your "Flood mode" at contiguous (the light bulb icon).

Note: the "Flood mode" icon (which is probably already set to "contiguous", the light bulb icon) can control whether or not to fill in all of the exact red in the image or just the exact red that touches the area you're filling in. You will probably only need the contiguous option for this task.