7 Replies Latest reply on Jan 26, 2018 12:33 AM by rayek.elfin

    Changing every pixel


      I have a one layer photoshop file. It is from a line drawing I scanned in and retouched. The background is transparent. Is there a way to change all pixels that aren't transparent to one color? Like every pixel that is active in the layer? Black, gray, white whatever, all to just one solid color?

        • 1. Re: Changing every pixel
          c.pfaffenbichler Level 9

          Please post a screenshot with all pertinent Panels visible.


          Options are

          Layer > Layer Style > Color Overlay


          Layer > New Fill Layer > Solid Color (then clipping masked to the Layer and possibly with an appropriate Blend Mode)




          1 person found this helpful
          • 2. Re: Changing every pixel
            Ronald Keller Level 4

            Yet another way: Edit > Fill > Choose color but with Preserve Tranparency checked.

            • 3. Re: Changing every pixel
              kwdanaher1107 Level 1

              Screen Shot 2018-01-25 at 9.09.24 PM.png


              This is what I'm working on. It looks like it'd be 100k black but it has a lot of minor greys going on in there

              • 4. Re: Changing every pixel
                kwdanaher1107 Level 1

                Screen Shot 2018-01-25 at 9.13.17 PM.png


                I tried that and it seems there are still grays on the outside of the lines. Is that impossible to avoid?

                • 5. Re: Changing every pixel
                  c.pfaffenbichler Level 9
                  I tried that

                  You tried what?

                  Your screenshot does not seem to show a Layer Style or a clipping masked Solid Color Layer.


                  If edge pixels are semi-transparent and you want to change that you could

                  • Layer > Layer Mask > From Transparency

                  • apply a Threshold (Image > Adjustments > Threshold) to the Layer Mask

                  • 6. Re: Changing every pixel
                    rayek.elfin Level 4

                    Just out of curiosity: is this going to be printed as black-and-white artwork? If it will, then you may not have sufficient image resolution (educated guess based on your screenshot).

                    For black-and-white artwork, create a canvas at a minimum of 800ppi (1200ppi preferred) at the required physical size it will be printed at.


                    For example, A4: 297mmx210mm@1200ppi 9922px by 14032px.


                    Trouble is, Photoshop doesn't allow us to mix layers with different physical resolutions. Nor can we have a true black-and-white only high resolution layer, because that is not allowed (1bit images do not support layers anyway). A work-around is to work at 800-1200ppi resolution, and use black and white only on the ink layer, while we work with full colour on the fill layers. Later the ink and colour layers are separated (ink @ 800-1200ppi 1bit, colour layer at 300ppi full colour) and brought into InDesign for final compositing.


                    If your machine can't handle that high resolution smoothly, another option is to bring in a 300ppi version of your ink layer in Photoshop, and work at native 300ppi for your colours. Then later export the 300ppi colour layer, and use the 800-1200ppi ink image when bringing them together in InDesign.


                    This may sound a bit confusing, but it results in the best quality for comics, and illustrations with bitmap inked artwork with colours (or without colour).


                    If all of this isn't applicable to your situation, or it sounds too much like a bother, then disregard my post :-)

                    • 7. Re: Changing every pixel
                      rayek.elfin Level 4

                      One more alternative solution to convert your line art to pure black and white:


                      1) image-->Mode-->Grayscale.

                      2) Image-->Mode-->Bitmap. Choose 50% threshold.

                      3) image-->Mode-->Grayscale.

                      4) image-->Mode-->RGB.


                      Bit long-winded, but gets the job done. Make sure to apply this to your line art file only.