Mobile app version of vmapp.org
Login or Join
Annie732

: How can I remove the unwanted background from a scanned handwritten signature? I need to upload my signature in a PDF document, but I do not know how to edit the background of this image.

@Annie732

Posted in: #BackgroundRemoval #HowTo #PhotoEditing #Scanning #Text

I need to upload my signature in a PDF document, but I do not know how to edit the background of this image.

I wish to remove the bluish-tint background, and make it pure white.

Can anyone help me with this, please?

10.05% popularity Vote Up Vote Down


Login to follow query

More posts by @Annie732

5 Comments

Sorted by latest first Latest Oldest Best

 

@Pierce403

This is the best way I know to get rid of a background while preserving the integrity of something that has been sketched or drawn and you will get much, much better results than using the magic wand

1.. Select all of your image and copy it in a new channel (the channel created should be named "alpha" automatically)

2. In the channel, Ctrl+click or cmd+click on the thumbnail to create a selection
3. Go back in your layers and create a mask while the selection is still on,then invert it using ctrl+i or cmd+i



Delete the previously made alpha channels
You can clean up the mask or use refine mask if needed
Use a solid color layer with it, if you easily want to change the color.

10% popularity Vote Up Vote Down


 

@Kaufman565

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.

10% popularity Vote Up Vote Down


 

@Vandalay110

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 - Trace Bitmap..." tool.
Trace the bitmap with the following options:


Colors: 4 to 8 (more gives finer details)
Select: Smooth, Remove Background
Adjust the Options to your needs (defaults will give reasonable results)

Choose the "Path -Simplify" tool for a smaller file size.
Save the resulting .svg vector graphics:


Paste of the 56kB .svg here: pastebin.com/6ncTamRB

We can then further refine the resulting colours, or apply variable transparency levels to the objects created if we need better results.

A vectorized signature has the advantage that it can be smoothly resized to any size, can be differently coloured with no effort, and it can be embedded in a variety of documents as a rather slim vector graphics.

10% popularity Vote Up Vote Down


 

@Annie732

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
accordingly.
Make sure that the adjustment layer is on top of the signature.


Take note that the signature isn't cut out from its background. If you want a transparent background, simply flatten all layers and use the Magic Wand. The selection will be more accurate with lesser tolerance adjustments since the image now has a higher contrast.

10% popularity Vote Up Vote Down


 

@Kevin459

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 your case I'd probably reduce magenta a little.

or

Replace Colour - With Replace Colour, you can select the blue you want to lose and replace with white, though you may have try a few times as it might target some of the blues in the signature as well.

The easiest and fastest method for a non-designer with access to Photoshop would be like this:


Open the file in Photoshop. (CS5 in screenshots)
Select the Magic Wand tool on the tool bar, on the left of my screen but may different for you.


Make sure you haven't got the Contiguous checkbox at the top selected.

Click on the background, see how much of the background is selected, adjust Tolerance, in this case I found 20 to be satisfactory for a quick demo.

Press Delete

Add a solid color layer, select white when the color picker pops up.

Move the solid color layer to be behind the signature layer

Et Voila, save in the format you need it



With a little more effort, you could make a much better finish.

There are many other methods to achieve this, as it's a very simple task with the right tools.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme