One method is to use the original image/layer as its own layer mask. You'd create a duplicate of the layer, desaturate and invert it, pasting the greyscale result into the original layers layermask.
Update: Here are some step by step instructions:
Start with your flattened image:
Add a Saturation/Hue adjustment layer and turn down the Saturation until the ...
You can use blending to add transparency:
Right click the layer you want to add transparency to, pick the "Blending Options..." (If unable to pick 'Blending options' ensure that the layer is unlocked)
Locate the scale under the "This layer:" that is under the "Blend if" box
Press and hold the alt key while dragging on the white knob, the further you drag it ...
Using fast bucket fill instead of contour selection
Note: This tutorial is also available in PDF.
Add an alpha channel
Some image types lack a transparency channel; JPG for example. If this is the case, add an alpha transparency channel.
This is done by selecting Layer → Tranparency → Add Alpha Channel.
Bucket fill with colour [optional]
The next step ...
You can't save transparency to a .jpg. The file format simply doesn't support it. Anything that is transparent will become white when saved to a .jpeg.
Try .png or .gif, those file formats do accept transparency.
First you'll want to desaturate the image (CMD+SHIFT+U), this removes any color and makes it easier to achieve pure white.
With your file open, choose Image->Adjustments->Levels. You'll get this:
Now bring the two outer triangles in like this (you'll need to play around with this until you get something you like):
You should end up with this!
Indeed you should perform right selection.
Select->Color Range and click on the spot colored with color you want to select - you will see the change on the preview screen.
Also, you can choose the color from sampled colors drop down menu
Fuzziness should be set to 0.
If you press SHIFT while selecting (you can also click Shift and drag of the image) ...
I came up with a nice method for cleaning up pictures like this, and it works even when the background or lighting is uneven (that is, far worse cases than the example in this question) and it retains the colour.
My instructions are based on the Gimp, but it would be very similar in other programs like Photoshop.
EDIT: Gimp has a filter called "Difference ...
Double click your background layer in the layer pallet (to make it into a standard layer)
Choose Selection -> Color Range
Click in the white area of the image
Bring the fuzziness up around 90
Hit DELETE and there you go!
Advanced hair extraction tutorial
First off, plugins and simpler methods are available. This is if you want to get higher quality results. It is largely the same as ACEkin's answer except going into details and with visuals.
I'll be using this photo from Photo by
Ariana Prestes on Unsplash.com:
Note: I'm going to be doing the body in a separate layer so I'...
You can do this with GIFsicle, using the following options:
gifsicle -U --disposal=previous --transparent="#ffffff" -O2 anim.gif > anim_trans.gif
where anim.gif and anim_trans.gif are the source and destination file names, and #ffffff is the hex code of the color you want to make transparent (here, pure white).
(The important options here are -U / --...
And just to be complete, here is the GIMP answer.
Colors > Color to Alpha ...
if "Color to Alpha ..." is greyed out you need to set the Image mode to something else than indexed, e.g.:
Image > Mode > RGB
Sketch 3 does have some bitmap editing options, but they are very limited.
Here's more about Bitmap editing in Sketch.
To start editing an image, select it on the canvas and double-click. You will see the inspector update with a few special tools.
You might wanna try your luck with Magic wand and then the Vectorize option below it. Although you'd ...
If you have access to Photoshop, try the Magic Wand tool to select the background around the writing, and fiddle with the Tolerance to get it as close to the writing as possible, then delete or fill with white.
Another method is to use Image > Adjustments >
Selective Colour - With Selective Colour you can tweak the thresholds of each colour, so in ...
There are different ways to do this, but the way I would do it in GIMP is roughly:
Color erase tool to remove the bulk of the sepia color.
Manual erasing of dark spots which are darker than light "image" areas, as these can't be done using levels.
Levels to tidy up.
Final color adjustments based on the image properties
In your case, the blue areas might ...
Adobe changed the Delete/Backspace key functionality in Photoshop CS6 when you press the Delete/Backspace key on a locked Background layer.
Since pressing the Delete/Backspace key on a locked background layer merely filled the selection with the background color, Adobe changed the functionality to provide more options when hitting the key. By bringing up ...
Since this is a relatively simple shape, I would just outline it with the pen tool and convert to a selection. Do note the little details around the corners and side buttons though. I would say that would take me a couple minutes at most.
Ramp the contrast up with curves.
Select your image and press Ctrl-M. This will bring up the curves dialog.
Move the top point left and the bottom point right until your image becomes black and white. (that rhymes!)
One of the most accurate, yet reasonably easy one is by using one of the (modified) RGB channels of the image as a mask:
Load your image (I'll be using one I found here) into PS, click on channels tab in color panel or if you don't see it, window > channels
Select the channel with most contrast - we ar going to use it as a mask, so focus on the edges (...
On the Layer window change the mode of the fire layer from "Normal" to either Screen or Lighten and see if thats what you want. That's the easiest way to remove black.
Beyond that you can also go into the Blending Options and adjust the slider at the bottom where it says, "This Layer" and move the black tab on the left side in a bit but the results aren't ...
Yes, it's possible. Let me outline how it's done, using this image from Wikimedia Commons (by ed_g2s, licensed as CC-By-SA 3.0) as an example:
Open the black and white background versions as layers of the same image (using Open as Layers... or just open both and copy-and-paste one into the other). Move the white layer above the black layer if it's not ...
Let me outline another approach I find useful especially in the context of a signature for letters or PDF documents.
We can quite easily create a vector graphic from a scanned original signature. This can be done with a variety of applications. Here is how I made it using Inkscape.
Import the bitmap into an empty document (select "embed").
Select the "Path ...
Here are the steps I took:
Duplicate the base layer and select the copy.
Apply an edge detect filter (Filters -> Edge-Detect -> Edge...)
using these settings:
My goal here is to get clear contrast between my object and my background. I found Sobel worked the best and simply fiddled until I got this result.
Threshold the colors (Colors -> Threshold...) ...
Try the Direct Selection tool (keyboard shortcut A, or the white mouse pointer in the toolbox) and see if you can click it.
If you can't select and erase it, chances are the white "background" isn't a background at all; rather, it's the color of the artboard. It's set as white in Illustrator for obvious reasons, but it's ultimately an arbitrary thing. If ...
Seems pretty straightforward with Photoshop CS6. I used the dropper tool to select the general background and did cleanup with the quick selection tool.
If the selection of the background ends up breaking due to the "grid pattern", you can work around it, like I did, by duplicating the later and applying a blur filter to smooth it out, then applying ...
1 - Make a quick selection with quick selection tool (w)
2 - Edit your selection select> refine edge
3 - Choose On layers View mode
4 - Define Edge detection to a correct radius (depends on resolution of your image), check Smart radius
5 - Adjust edge with different variables.
6 - Use Refine radius tool (E) on hair or fur
6 - Sometimes, you will ...
In the GIMP, getting rid of the background would be as easy as opening the file, selecting Colors → Color to Alpha... and choosing black (#000000) as the color to make transparent. Here's the result, saved as a transparent PNG:
In Photoshop that's a little bit trickier, but apparently there's a free plugin that can do it.
(That said, in this case ...
There are lots of methods to achieve what you want in Photoshop.
You can use a non-destructive method such as a layered Gradient Map.
Simply create a new adjustment layer from Layer > New Adjustment
Layer > Gradient Map...
Choose the Black to White Gradient and adjust the gradient stops
Make sure that the adjustment layer is on top of the ...
This is very easy in Gimp. Just use the bucket tool to fill the background white, and export. Or if you want to go one stage further, then after that, use the select with the same colour tool, press delete (Making sure that your image has an alpha channel) add a new white layer, merge down and export as a jpg, png or whatever.