In this section, we are going a bit deeper into the world of images in Drupal 8 while keeping the focus on module developers.
Images
Image toolkits
The Drupal 8 Image toolkits provide an abstraction layer over the most common operations used for manipulating images. By default, Drupal uses the GD image management library that is included with PHP. However, it also offers the ability to switch to a different library if needed by using the ImageToolkit plugins:
For instance, a contributed module could implement the ImageMagick library for developers who need support for additional image types such as TIFF, which GD does not support. However, only one library can be used at a time as it needs to be configured site-wide.
Programmatically...