Version 1
[yaffs-website] / web / modules / contrib / imagemagick / config / schema / imagemagick.schema.yml
diff --git a/web/modules/contrib/imagemagick/config/schema/imagemagick.schema.yml b/web/modules/contrib/imagemagick/config/schema/imagemagick.schema.yml
new file mode 100644 (file)
index 0000000..a893064
--- /dev/null
@@ -0,0 +1,48 @@
+# Imagemagick module schema
+
+# Schema for settings.
+imagemagick.settings:
+  type: config_object
+  label: 'Imagemagick settings'
+  mapping:
+    quality:
+      type: integer
+      label: 'Image quality'
+    binaries:
+      type: string
+      label: 'Graphics package - ImageMagick/GraphicsMagick'
+    path_to_binaries:
+      type: string
+      label: 'Path to the binaries'
+    prepend:
+      type: string
+      label: 'Prepend arguments'
+    log_warnings:
+      type: boolean
+      label: 'Log command executions returning with non-zero code'
+    debug:
+      type: boolean
+      label: 'Display debugging information'
+    use_identify:
+      type: boolean
+      label: 'Use identify command'
+    locale:
+      type: string
+      label: 'Locale for escaping shell commands'
+    image_formats:
+      type: sequence
+      sequence:
+        type: imagemagick.image_format
+    advanced:
+      type: mapping
+      label: 'Advanced settings'
+      mapping:
+        density:
+          type: integer
+          label: 'Image resolution'
+        colorspace:
+          type: string
+          label: 'Convert colorspace'
+        profile:
+          type: string
+          label: 'Color profile path'