Project
Watermark
Hard
372 completions
~ 24 hours
4.5Learn one way to apply a watermark to an image. Come to know how to load, save, handle and edit your images. In this project, employ various image and file-specific classes that can be useful in many cases, not only for applying watermarks.
Provided by
JetBrains Academy
About
Watermarking prevents unauthorized use of creative works without the creators' permission. In this project, we will study how Kotlin can help us apply a watermark to an image.
Graduate project
This project covers the core topics of the Kotlin Core course, making it sufficiently challenging to be a proud addition to your portfolio.
At least one graduate project is required to complete the course.
What you'll learn
Once you choose a project, we'll provide you with a study plan that includes all the necessary topics from your course to get it built. Here’s what awaits you:
Images have various properties, like dimensions, various color schemes, and so on. In this stage, learn how to load images into our programs and retrieve their properties.
Two images can be blended to produce a new image. This is also true when it comes to adding a watermark to an image. Let's start with combining two images of the same dimensions.
Not every pixel of a watermark image needs to be blended. Let's use the alpha channel to enhance the results.
If a watermark image does not have the alpha channel, we can get the same results by defining a transparency color range.
In this stage, let's lift all restrictions regarding dimensions. Moreover, learn how to apply one watermark at any place of an image or several ones as a grid.
Reviews
JG
Jean-Pierre Gonçalves6 months ago
I learned how to use image libraries (editing images, altering, and mixing multiple images). Reading and writing files. Image processing is interesting.
I have learned how to work with images in Kotlin using the BufferedImage class, how to read and manipulate pixel data, and how to apply blending techniques using alpha channels and transparency colors. The most challenging parts were managing different image formats and ensuring that all user input ...
4.5
Learners who completed this project within the Kotlin Core course rated it as follows: