Skip to main content

Building Block View

↑ Go to Level 1

Level 2: Web Interface (Whitebox)​

Level 2: Web Interface

Purpose / Responsibility​

The Web Interface is based on the KVision web framework for Kotlin/JS, aiming to create a GUI running in the browser to easily embed and extract watermarks. It consists of a single-page design with two tabs: One for watermark embedding and one for watermark extraction. It is only able to embed text-watermarks into existing cover texts and offers configuration possibilities for different watermark types (e.g., compress the watermark, add a hash to verify the watermark, etc.). Under the hood, it uses the Innamark watermark library with the JavaScript (JS) build target as Gradle dependency and can be seen as a frontend for it.

Contained Blackboxes​

Building BlockDescription
AppThe main container component of the UI, creating the overall page with a tab panel, including the two tabs for embedding and extraction.
Embed TabThe embed tab offers a form for adding watermarks in cover text by using the watermarker library.
Extract TabThe extract tab offers a form for getting watermarks in a text by using the watermarker library.
Watermarker LibraryA Kotlin multiplatform library, offering watermark embedding and extraction functionalities, integrated as external Gradle dependency with the JS build target.