PESDK/Android/Customization
Watermark
The PhotoEditor SDK for Android offers developers a robust API to add a watermark to images.
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.2fit.inset = 0.05fit.alignment = WatermarkSettings.Alignment.BOTTOM_LEFT}
The
size
,inset
, and thealignment
of the watermark is relative to the image loaded in the Editor or its crop area if applicable.
Previous
Extensions
Next
Events