In the previous two chapters, we have transformed pictures by rearranging their pixels or by applying color transformations. Now we will look at operations that change the size of an image, either by extracting a sub-image or by merging pixels to produce a compressed version of the original. We will also look at how to save our transformed images to file. The code for this chapter can be obtained from https://github.com/Apress/learn-to-program-w-kotlin-ch16.git. This code contains our familiar Picture
16. Cropping and Resizing Images
Get Learn to Program with Kotlin: From the Basics to Projects with Text and Image Processing now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.