Wedding cards with photo-matched accents, in your stationery shop
Wedding stationery shops and photo print services can offer each couple the main colors of their own photo, right in the color picker. Your code can also pick one of those colors and set the names and the frame in it before the couple opens the card.
Trusted by 100+
industry leaders



Integrating IMG.LY’s editor meant we didn’t have to build or maintain a complex editing layer ourselves. That kept our team focused on our core AI ad engine and saved us countless development hours — while still giving our customers the ability to polish and customize creatives at scale.
Hikari Senju
CEO, Omneky

With IMG.LY we built a central creative portal that now powers over 140 dealer campaigns across multiple automotive brands. Before this, asset creation was slow and inconsistent.
Martin Röhr
Product Owner, Digitas

By embedding IMG.LY’s editor we were able to hit key RFP requirements and deliver a template-based creative experience that now serves 1,000+ customers. It helped us win more deals and exceed enterprise expectations without needing to hire dedicated design teams.
Rob Driscoll
Director of PM, Optimizely

Since integrating IMG.LY’s editor, we now deliver 30,000+ ad creatives per month, dramatically shorten time-to-launch, and help our clients cut design spend by up to $10,000 per month.
Logan Welbaum
Founder, Plai

Our customers create over a million personalized postcards each year choosing from over hundreds of templates with IMG.LY’s SDK. It’s the only solution that allows us to build our own specialized, on-brand UI that integrates seamlessly with our platform.
Jeanine Zaalberg
Product Manager, SwissPost

From a developer’s perspective, the most powerful feature of the photo editor is the integration process. It was completely flawless, quick, and easy to integrate.
Stefano Fornari
CTO, Funambol

We compared IMG.LY SDK with other solutions and found that it would be the best fit for us since it provides all the features that are crucial for our use case.
Carem Pereira
SCRUM Manager, HP

A crop changes the colors on offer
Image Colors reads the photo as it sits in the frame, so the list follows a crop. When the couple crops in on the roses, the gray drops out and a stronger orange and a peach come in, which keeps the choices close to what the printed card will show.

From the couple’s photo to the card’s accent color
Your developers add Image Colors to the web editor as a plugin, so couples pick from their photo’s colors themselves. Your platform also gets those colors in code and can set an accent before the card opens, by a rule of your own. The rule behind these four cards takes the first color that is colorful and dark enough to read on white paper, which the white bouquet doesn’t have.
import { ImageColorsAssetSource } from "@cesdk/cesdk-js/plugins";
await cesdk.addPlugin(new ImageColorsAssetSource()); const [photo] = engine.block.findByName("Photo");
const colors = await engine.block.getDominantColors(photo, { count: 5, ignoreWhite: true }); const luminance = ({ r, g, b }) => 0.2126 * r ** 2.2 + 0.7152 * g ** 2.2 + 0.0722 * b ** 2.2;
const contrastOnWhite = (c) => 1.05 / (luminance(c) + 0.05);
const chroma = ({ r, g, b }) => Math.max(r, g, b) - Math.min(r, g, b);
const accent = colors.find((c) => contrastOnWhite(c) >= 3 && chroma(c) >= 0.15); if (accent) {
const color = { r: accent.r, g: accent.g, b: accent.b, a: 1 };
const [names] = engine.block.findByName("Names");
engine.block.setTextColor(names, color);
for (const name of ["Divider", "Diamond"]) {
const [shape] = engine.block.findByName(name);
engine.block.setColor(engine.block.getFill(shape), "fill/color/value", color);
}
const [frame] = engine.block.findByName("Frame");
engine.block.setStrokeColor(frame, color);
} 
Color your wedding cards from the couple’s photo
Tell us which wedding cards you print and where the couples’ photos come from, and we’ll get back to you with a custom quote for your use case.
Wedding card FAQs
The wedding invitation editor SDK page goes through the invitation and the rest of the set, gold foil included.
Wedding stationery shops and photo print services embed one so couples can make thank-you cards and other wedding cards on their site, then order the prints in the same place. CE.SDK can also read the colors of each couple's photo and offer them in the color picker.
Up to five per photo, read from the photo as it sits on the card and listed by how much of it each one covers. A crop, a filter or a new photo gives a new set.
The most common color in a photo is often a dark shadow or a background gray. The rule takes the first color that passes both checks, which for the orange roses is the terracotta, second in the list.
A photo of white flowers, or a black-and-white one, has no shade that passes both checks, so the card keeps the template's rose accent, as the white bouquet shows. Couples can still pick any color in the picker by hand.
The engine returns them with the same call on iOS, Android and in Node.js, so your app can apply them or show them as swatches in its own controls. The Image Colors group in the color picker is a plugin for the web editor.








