For the complete documentation index, see llms.txt. This page is also available as Markdown.

Use transparent layers in card layouts

Overlay images on cardholder photos by setting one image color as transparent.

You can overlay a foreground image on top of a cardholder's photo on a printed card. The Card Layout editor does not support true transparency, but you can nominate a single colour to be treated as transparent. Create an overlay image with the "see-through" area in one solid colour (for example black), add it as a second image object over the cardholder photo, and set that colour as the transparent colour.

Why this works

Having a foreground image overlay the cardholder's photo is possible in Command Centre. Transparency is not supported within the Card Layout editor itself, but you can choose a colour to be transparent.

First, prepare the overlay image in any image editor. Make the area you want to be see-through a single solid colour. In this example the black part of the image will be made transparent.

Overlay image with the black area to be made transparent

Procedure

  1. In the Card Layout editor of your card type, add the image of the cardholder.

Add the cardholder image object
  1. Create the image object, then link it to the cardholder field (the cardholder image or PDF).

Link the image to the cardholder field
  1. Create another image object to act as the overlay.

Create the overlay image object
  1. Load the overlay image you prepared.

Load the prepared overlay image
  1. Make the chosen colour transparent. Select Transparent Colour.

Select Transparent Colour
  1. Select the colour to make transparent. In this case, Black.

Select Black as the transparent colour
  1. The black section is now transparent, revealing the cardholder photo beneath.

Black section now transparent
  1. Test the positioning to get the arrangement right. To preview the result, use the Preview option from the Encode tab of a cardholder.

Preview from the Encode tab

Last updated

Was this helpful?