README.md 2.03 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
INTRODUCTION
------------

The Image Optimize module provides a framework for image optimization.

It provides a system of 'pipelines' and each pipeline contains 'processors'.

To optimize an image they are passed to a pipeline which orchestrates each
processor applying itself to the image.

For example, you may have one pipeline for loss-less optimization that removes
unnecessary metadata from images, and a lossy pipeline that applies
re-compression via a third party webservice.

Built in support is provided for Drupal image styles, after the usual image
style has been applied the derivative image is passed into a configurable
pipeline for optimization.

  * For a full description of the module, visit the project page:
    https://drupal.org/project/imageapi_optimize

  * To submit bug reports and feature suggestions, or to track changes:
    https://drupal.org/project/issues/imageapi_optimize


REQUIREMENTS
------------

The module does not have any direct requirements of its own, however, you will
need another module that provides a processor for optimizing images.

For example, you may one want of:

  * [Image Optimize Binaries](https://www.drupal.org/project/imageapi_optimize_binaries)

  * [Image Optimize reSmush.it](https://www.drupal.org/project/imageapi_optimize_resmushit)

  * [Image Optimize TinyPNG](https://www.drupal.org/project/imageapi_optimize_tinypng)

  * [Kraken](https://www.drupal.org/project/kraken)


INSTALLATION
------------

  * Install as you would normally install a contributed Drupal module. Visit:
    https://drupal.org/documentation/install/modules-themes/modules-8
    for further information.


CONFIGURATION
-------------

  * Configure Image Optimize pipelines in Administration » Configuration » Media
    » Image Optimize pipelines:

    * Either add a new pipeline or edit an existing one.

  * Configure which pipelines are used by image styles in Administration » Configuration » Media
    » Image styles:

    * You can set a sitewide default

    * Or edit each style individually to assign a pipeline.