Introduction

About me

I’m passionate about API development, good practices, performance optimizations and educating people to strive for quality. I have about two decades of experience writing and optimizing software, and often solve real problems in various programming languages, Go being my favorite.

You might know some of my work from:

Professionally I specialize in writing APIs in the social/media industry and for various content management products. Due to the public exposure of such APIs, it’s performance characteristics are of paramount importance. I’m a solid MySQL DBA with experience on other databases as well.

Who is this book for?

Besides having an use in professional applications, image manipulation, or graphics in general, is an interesting area of work. We will focus on image manipulations in a practical context, implementing an image resizer service, as well as implement serveral filters and other types of color based image manipulations.

If you ever wanted to implement your own image filter or modify images in other fun ways, this book is for you!

In the book, I will cover these subjects:

  1. Standard library image packages
  2. Resize and crop
  3. Color theory
  4. Edge detection
  5. Focal point detection
  6. Reading images and accessing pixels
  7. Cropping / resizing images
  8. Color manipulations (filters)
  9. Image overlays, watermarking
  10. Image generating
  11. Getting creative

How should I study it?

Just go through the book from the start to finish. If possible, try to do the exercises yourself not by copy pasting but by actually writing the code and snippets in the book, tailored to how you would lay out your project.

The work in individual chapters builds on what was done in the previous chapter. The examples are part of a step by step, chapter by chapter process.

Be sure to follow the Requirements section as you’re working with the book.