image filter with skipLargerDimension and skipLargerFilesize
Some checks failed
deploy to production / deploy (push) Failing after 1m46s
Some checks failed
deploy to production / deploy (push) Failing after 1m46s
This commit is contained in:
parent
de1aaadc46
commit
cbdd8cef97
@ -10,28 +10,46 @@ xs:
|
|||||||
height: 90
|
height: 90
|
||||||
width: 90
|
width: 90
|
||||||
resampling: lanczos
|
resampling: lanczos
|
||||||
quality: 60
|
quality: 75
|
||||||
|
skipLargerDimension: true
|
||||||
|
skipLargerFilesize: true
|
||||||
s:
|
s:
|
||||||
- fit: true
|
- fit: true
|
||||||
height: 300
|
height: 300
|
||||||
width: 300
|
width: 300
|
||||||
resampling: lanczos
|
resampling: lanczos
|
||||||
quality: 60
|
quality: 75
|
||||||
|
skipLargerDimension: true
|
||||||
|
skipLargerFilesize: true
|
||||||
m:
|
m:
|
||||||
- fit: true
|
- fit: true
|
||||||
height: 600
|
height: 600
|
||||||
width: 600
|
width: 600
|
||||||
resampling: lanczos
|
resampling: lanczos
|
||||||
quality: 60
|
quality: 75
|
||||||
|
skipLargerDimension: true
|
||||||
|
skipLargerFilesize: true
|
||||||
l:
|
l:
|
||||||
- fit: true
|
- fit: true
|
||||||
height: 1200
|
height: 1200
|
||||||
width: 1200
|
width: 1200
|
||||||
resampling: lanczos
|
resampling: lanczos
|
||||||
quality: 60
|
quality: 75
|
||||||
|
skipLargerDimension: true
|
||||||
|
skipLargerFilesize: true
|
||||||
xl:
|
xl:
|
||||||
- fit: true
|
- fit: true
|
||||||
height: 2000
|
height: 2000
|
||||||
width: 2000
|
width: 2000
|
||||||
resampling: lanczos
|
resampling: lanczos
|
||||||
quality: 60
|
quality: 75
|
||||||
|
skipLargerDimension: true
|
||||||
|
skipLargerFilesize: true
|
||||||
|
xxl:
|
||||||
|
- fit: true
|
||||||
|
height: 4000
|
||||||
|
width: 4000
|
||||||
|
resampling: lanczos
|
||||||
|
quality: 75
|
||||||
|
skipLargerDimension: true
|
||||||
|
skipLargerFilesize: true
|
||||||
|
@ -57,42 +57,52 @@ imageFilter:
|
|||||||
height: 90
|
height: 90
|
||||||
width: 90
|
width: 90
|
||||||
resampling: lanczos
|
resampling: lanczos
|
||||||
quality: 60
|
quality: 75
|
||||||
|
skipLargerDimension: true
|
||||||
|
skipLargerFilesize: true
|
||||||
s:
|
s:
|
||||||
- fit: true
|
- fit: true
|
||||||
height: 300
|
height: 300
|
||||||
width: 300
|
width: 300
|
||||||
resampling: lanczos
|
resampling: lanczos
|
||||||
quality: 60
|
quality: 75
|
||||||
|
skipLargerDimension: true
|
||||||
|
skipLargerFilesize: true
|
||||||
m:
|
m:
|
||||||
- fit: true
|
- fit: true
|
||||||
height: 600
|
height: 600
|
||||||
width: 600
|
width: 600
|
||||||
resampling: lanczos
|
resampling: lanczos
|
||||||
quality: 60
|
quality: 75
|
||||||
|
skipLargerDimension: true
|
||||||
|
skipLargerFilesize: true
|
||||||
l:
|
l:
|
||||||
- fit: true
|
- fit: true
|
||||||
height: 1240
|
height: 1240
|
||||||
width: 1240
|
width: 1240
|
||||||
resampling: lanczos
|
resampling: lanczos
|
||||||
quality: 60
|
quality: 75
|
||||||
|
skipLargerDimension: true
|
||||||
|
skipLargerFilesize: true
|
||||||
xl:
|
xl:
|
||||||
- fit: true
|
- fit: true
|
||||||
height: 2000
|
height: 2000
|
||||||
width: 2000
|
width: 2000
|
||||||
resampling: lanczos
|
resampling: lanczos
|
||||||
quality: 60
|
quality: 75
|
||||||
|
skipLargerDimension: true
|
||||||
|
skipLargerFilesize: true
|
||||||
|
|
||||||
fields:
|
fields:
|
||||||
- name: type
|
- name: type
|
||||||
type: string
|
type: string
|
||||||
meta:
|
meta:
|
||||||
label:
|
label:
|
||||||
de: Modultyp
|
de: Modultyp
|
||||||
en: Module Type
|
en: Module Type
|
||||||
helperText:
|
helperText:
|
||||||
de: "Wählen Sie den Typ des Moduls aus."
|
de: "Wählen Sie den Typ des Moduls aus."
|
||||||
en: "Choose the type of the module."
|
en: "Choose the type of the module."
|
||||||
widget: select
|
widget: select
|
||||||
choices:
|
choices:
|
||||||
- name: { de: "Formular", en: "Form" }
|
- name: { de: "Formular", en: "Form" }
|
||||||
|
@ -20,7 +20,6 @@
|
|||||||
- [fields](projektkonfig/collections/fields.md)
|
- [fields](projektkonfig/collections/fields.md)
|
||||||
- [Datentypen](projektkonfig/collections/fields/datentypen.md)
|
- [Datentypen](projektkonfig/collections/fields/datentypen.md)
|
||||||
- [Admin Widgets](projektkonfig/collections/fields/widgets.md)
|
- [Admin Widgets](projektkonfig/collections/fields/widgets.md)
|
||||||
- [· ContentBuilder](projektkonfig/collections/fields/widgets/contentbuilder.md)
|
|
||||||
- [indexes](projektkonfig/collections/indexes.md)
|
- [indexes](projektkonfig/collections/indexes.md)
|
||||||
- [hooks](projektkonfig/collections/hooks.md)
|
- [hooks](projektkonfig/collections/hooks.md)
|
||||||
- [imageFilter](projektkonfig/collections/imageFilter.md)
|
- [imageFilter](projektkonfig/collections/imageFilter.md)
|
||||||
|
@ -27,3 +27,5 @@ Folgende Attribute können Filter-Eintrage haben, wobei `fit` und `fill` exklusi
|
|||||||
| `grayscale` | boolean | Schwarz-Weiß |
|
| `grayscale` | boolean | Schwarz-Weiß |
|
||||||
| `resampling` | "lanczos"<br>"nearestNeighbor"<br>"linear"<br>"catmullRom" | Resampling-Algorithmus |
|
| `resampling` | "lanczos"<br>"nearestNeighbor"<br>"linear"<br>"catmullRom" | Resampling-Algorithmus |
|
||||||
| `quality` | number | Ausgabequalität 0..100 |
|
| `quality` | number | Ausgabequalität 0..100 |
|
||||||
|
| `skipLargerDimension` | boolean | Bild wird nicht manipuliert, wenn es kleiner ist als das angegebene Rechteck |
|
||||||
|
| `skipLargerFilesize` | boolean | Bild wird nicht manipuliert, wenn das Zielbild eine größere Dateigröße hat als das Original |
|
||||||
|
Loading…
Reference in New Issue
Block a user