Jump to content

Recommended Posts

If I have a raster bitmap image, how would I go about selecting all pixels with (or within a tolerance of) a particular colour? My aim, on this occasion, was to make those pixels transparent.

I tried to do a flood fill with flood fill colour set to transparent but the resulting behaviour (black and grey random shapes) wasn't helpful.

Is there a neat way to do this?

TY!

Share this post


Link to post
Share on other sites

Under the top "Selection" menu there are some other color selection options available (color range red/green/blue, tonal selections, mark selected color) beside the magic wand selection.


☛ Affinity Designer 1.8.4 ◆ Affinity Photo 1.8.4 ◆ OSX El Capitan

Share this post


Link to post
Share on other sites

Hi ExFireworksUser,
Welcome to Affinity Forums :)
You can use the process you described in the latest Affinity Photo Customer Beta (1.7.0.-110) and everything should work as you'd expect (on Mac at least - not sure the changes were already implemented on Windows). Are you using a Mac or Windows computer?

Share this post


Link to post
Share on other sites
37 minutes ago, ExFireworksUser said:

PS. I found the select -> sampled colour. Did that then hit delete. And it removed entire 'objects' as opposed to removing the selection. :(

Make sure, in the Layer panel, that the layer shows as a Pixel layer rather than (Image), which is an embedded non-raster layer. Typically you get those when you do a File > Place or use the Place Image tool. You can't operate on them as pixels without rasterizing them, for example by right-clicking on them in the Layers panel and choosing Rasterize.


-- Walt

Windows 10 Home, version 2004 (19041.388),
   Desktop: 16GB memory, Intel Core i7-6700K @ 4.00GHz, GeForce GTX 970
   Laptop:  8GB memory, Intel Core i7-3625QM @ 2.30GHz, Intel HD Graphics 4000 or NVIDIA GeForce GT 630M
Affinity Photo 1.8.5.703 and 1.9.0.891 Beta   / Affinity Designer 1.8.5.703 and 1.9.0.891 Beta  / Affinity Publisher 1.8.5.703 and 1.9.0.887 Beta.

Share this post


Link to post
Share on other sites

Ah Ok Designer, then make sure it's a (pixel) layer. You may want to duplicate and hide the initial background layer, in order to keep a copy of that. Change into the Pixel persona. Once you have the sample color selection you can remove (delete) the selection, which removes the pixels and gives transparent background areas for those. Or instead use on the color selection some appropriate adjustment (like "Layer > New Adjustment > Channel Mixer"), there with the Channel mixer you can influence just the Alpha channel and thus the transparency of the color selection.


☛ Affinity Designer 1.8.4 ◆ Affinity Photo 1.8.4 ◆ OSX El Capitan

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...

Important Information

Please note the Annual Company Closure section in the Terms of Use. These are the Terms of Use you will be asked to agree to if you join the forum. | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.