From 48f8034b747338c61e9eeff01f03d9791091b4a5 Mon Sep 17 00:00:00 2001 From: eknizat <26163420+eknizat@users.noreply.github.com> Date: Fri, 20 Sep 2019 11:15:40 +0100 Subject: [PATCH] REPO-4452: Add pipeline for text based mimetypes (#602) * text based pipelines for dita formats --- .../alfresco/transforms/0100-basePipelines.json | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/src/main/resources/alfresco/transforms/0100-basePipelines.json b/src/main/resources/alfresco/transforms/0100-basePipelines.json index 34ab0b267b..3cd813b456 100644 --- a/src/main/resources/alfresco/transforms/0100-basePipelines.json +++ b/src/main/resources/alfresco/transforms/0100-basePipelines.json @@ -273,6 +273,23 @@ "transformOptions": [ "archiveOptions" ] + }, + { + "transformerName": "textBasedToImageViaText", + "transformerPipeline" : [ + {"transformerName": "string", "targetMediaType": "text/plain"}, + {"transformerName": "textToImageViaPdf"} + ], + "supportedSourceAndTargetList": [ + {"sourceMediaType": "application/dita+xml", "targetMediaType": "image/gif" }, + {"sourceMediaType": "application/dita+xml", "targetMediaType": "image/jpeg"}, + {"sourceMediaType": "application/dita+xml", "targetMediaType": "image/tiff"}, + {"sourceMediaType": "application/dita+xml", "targetMediaType": "image/png" } + ], + "transformOptions": [ + "pdfRendererOptions", + "imageMagickOptions" + ] } ] } \ No newline at end of file