This commit is contained in:
Andy Bunce 2017-04-30 10:39:12 +01:00
parent f2bd581fe4
commit d25d32798a
40 changed files with 475 additions and 84 deletions

32
doc/readme.md Normal file
View file

@ -0,0 +1,32 @@
# expkg-zone58:image.thumbnailator
The schema is [task.xsd](../src/main/content/task.xsd)
## thumbnail node
![root](thumbnail-schema.png "thumbnail node")
Either `size` or `scale` must be specified. Everything else is optional
`output` can be used to change the output image format.
```
<output format="gif"/>
```
## Filters
![filter definition](filters-schema.png "Available filters")
## Exif
Image handling is effected by the presence of the
[exif-orientation](http://www.daveperrett.com/articles/2012/07/28/exif-orientation-handling-is-a-ghetto/) tag.
In particular:
* `size` and `fit` are changed
* the `flip` filter is ignored
To prevent this set constrain @exif=false
```
<constrain exif="false"/>
```