Dick Holtman

Creating transparent images with Lightroom

Friday 29 December 2017, 22:55 by | 17,157 views | 2 comments

This article was translated from Dutch with the help of AI. Read the original.

'Is it possible to automatically replace a (background) colour with transparency in Lightroom?' A photographer asked me this question. Anyone who knows Lightroom reasonably well knows that the answer is no. No, this is not possible.

Background
colour table
Violin 300Violin transparent 300

However, questions like this often lead to the development of a new Lightroom plug-in. In this case, it led to the Transparency exporter.

Transparent backgrounds are used everywhere images are published online. Think of product and portrait photography. There will undoubtedly be many more applications. Feel free to share them in the comments below.

This plug-in allows you to automatically replace the background with transparency for all selected images in a single export step, whether there are 2, 100 or xxx of them.

Added value


The advantages of this plug-in over other solutions are:
  • fully automatic, no manual work
  • process all selected photos with a single Lightroom export operation
  • no other software required, you stay in Lightroom
  • integrated into your Lightroom workflow


Demo video




Short description


Replacing a colour with transparency is done under the bonnet using an included version of ImageMagick.

Below is a short description of the plug-in's most important options. Go to the product page for the full description.

Colour to replace
During export, you can specify which colour you want to replace with transparency.

Entire image or flood fill
With this option, you choose whether to replace the specified colour throughout the entire photo or apply flood fill.

Flood fill (Wikipedia) means that the replacement starts, for example, in the top-left corner and continues until another colour is found. Think of the analogy of dykes. Flood fill continues until it finds a 'dyke', a different colour.
https://upload.wikimedia.org/wikipedia/commons/7/7e/Recursive_Flood_Fill_4_%28aka%29.gifOriginal 150SampleFloodFill 150.PNGSampleFullImge 150.PNG
Flood fill
Source Wikipedia
OriginalReplaced with
flood fill
Replaced in
entire image

Fuzz
With 'fuzz', you can specify how much the colour being replaced may vary.

Conditions


Every photographer and/or designer understands that automatically replacing a (background) colour with transparency is not easy. The conditions below apply to every programme used for this purpose, including this plug-in.

Even background colour
The more even the background colour is, the better it can be replaced. A commonly used technique is chroma keying, with the familiar green or blue background. But any even background colour is fine.

Also experiment with the fuzz factor to get the best result.

Different background colour
Following on from the previous point, the background colour should preferably not appear elsewhere in the image. A person wearing a white shirt against a white background is a challenge.
That is why a fairly bright green background is used for chroma keying.

Similar images
Because dozens or hundreds of images can be processed in a single export operation, it is important that the images have the same background colour.

The Windows version can automatically determine the background colour by specifying a "reference pixel", for example 50 x 50 pixels from the top-left corner.

Trial version


Download the plug-in for free and experiment with it. With the trial version, you can export 5 photos each time.

Feedback


Share your experiences of making backgrounds transparent. Is your industry also making extensive use of transparent backgrounds? Let us know. Do you have any other tips and tricks? Share them in the comment field below or fill in the feedback form on our website.

Background information


You can find more information at:

Share: WhatsApp Facebook
Dick Holtman

About the author

Dick Holtman is getrouwd met een enthousiaste fotografe en een ervaren Lightroom post-processing specialist. Hij werkt al ruim 30 jaar in de IT. Uit deze interesses is het bedrijf LightroomStatistics.com ontstaan. Dick maakte al 11 Lightroom plug-ins die te vinden zijn op de Photographers-Toolbox.com. Ook geeft hij IT en workflow adviezen aan fotografen.

Show every article in Software

2 comments

  1. Lightroomstatistics
    Profile Lightroomstatistics wrote on Saturday 30 December 2017 at 10:18  | reply

    One small addition: it is now also possible to have the color to be replaced determined automatically by specifying a reference pixel. This works with both the Windows and Mac versions. For more information, see the product page.

    Translated from Dutch.
  2. Evert
    Evert wrote on Tuesday 2 January 2018 at 15:08  | reply

    I use either Photoshop or InPixio Photo Clip 7 professional, this also works very well for creating transparency.

    Translated from Dutch.

Have your say

Please note: Articles older than a week can only be commented on by signed-in visitors.
Would you still like to comment? sign in or create a free account.

Become a better photographer every week

A practical photography tip in your inbox every week.
38,764 photography enthusiasts already receive the tips! More about the weekly mail. Or keep up to date via Facebook. Sign-up secured with Google reCaptcha.

Elja Trum

Elja Trum

Photofacts; everything to do with photography!

Would you like to take better photos and keep up with what is happening in photography? Photofacts publishes articles that teach you something about photography — from a product announcement to a practical shooting tip or a look at a website. Photofacts covers photography every day and is a hobby project of Elja Trum's that got out of hand. The articles are written by a team of volunteer authors. If you would enjoy writing one or more articles for Photofacts, do get in touch.More about Photofacts

Photofacts is made possible in part by


We use cookies to make Photofacts work properly. Read our cookie policy. got it