Skip to main content
PESDK/Android/Customization

Watermark

The PhotoEditor SDK for Android offers developers a robust API to add a watermark to images.

Watermark

In order to add a watermark, start with a default SettingsList as described in the configuration section. Then configure the WatermarkSettings as shown in the example below:

settingsList.configure<WatermarkSettings> {
it.image = ImageSource.create(R.drawable.ic_watermark)
it.size = 0.2f
it.inset = 0.05f
it.alignment = WatermarkSettings.Alignment.BOTTOM_LEFT
}

The size, inset, and the alignment of the watermark is relative to the image loaded in the Editor or its crop area if applicable.