Skip to content

Commit

Permalink
docs: update based on migration from GraphicsMagick to Pillow
Browse files Browse the repository at this point in the history
Signed-off-by: Quentin Schulz <[email protected]>
  • Loading branch information
QSchulz committed Oct 10, 2021
1 parent 9566424 commit 0de1e40
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 14 deletions.
6 changes: 3 additions & 3 deletions docs/configuration.rst
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ Global settings can be put in your root `settings.yaml`, under the `settings` ke
GM
~~

Currently a `gm` setting key allows to customize the default GraphicsMagick's behaviour. It looks like::
Currently a `gm` setting key allows to customize the default behaviour for thumbnail creation. It looks like::

title: Gallery
settings:
Expand All @@ -79,15 +79,15 @@ Currently a `gm` setting key allows to customize the default GraphicsMagick's be
resize: 50%
progressive: True

The meaning of the currently supported GraphicsMagick's settings is as follows:
The meaning of the currently supported settings is as follows:

* `quality` allows to customize the compression level of thumbnails (between 0 and 100)
* `auto-orient` changes the orientation of pictures so they are upright (based on corresponding EXIF tags if present)
* `strip` removes all profiles and text attributes from the image (good for privacy, slightly reduce file size)
* `resize` can be used to resize the full-size version of pictures. By default, input image size is preserved
* `progressive` converts classic baseline JPEG files to progressive JPEG, and interlaces PNG/GIF files (improves the page loading impression, slightly reduces file size)

Any GraphicsMagick setting can be customized on a per-image basis (either `cover` or `image`, see below).
Any of thumbnail creation settings can be customized on a per-image basis (either `cover` or `image`, see below).

Video converter
~~~~~~~~~~~~~~~
Expand Down
13 changes: 2 additions & 11 deletions docs/install.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,7 @@ We need Python, pip and virtualenv::

apt-get install python3-pip python3-virtualenv

and graphicsmagick library for building the gallery::

# graphicsmagick requires to have the 5.3.1 version of gcc-5-base
apt-get install graphicsmagick

A video converter like ffmpeg::
And a video converter like ffmpeg::

apt-get install ffmpeg

Expand All @@ -35,11 +30,7 @@ We need Brew::

/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

and graphicsmagick library for building the gallery::

brew install graphicsmagick
A video converter like ffmpeg::
And a video converter like ffmpeg::
brew install ffmpeg

Expand Down

0 comments on commit 0de1e40

Please sign in to comment.