Wiki source code of Image Transformation

Last modified by Eva Torken on 2023/12/07 14:58

Show last authors
1 {{container}}{{container layoutStyle="columns"}}(((
2 In most cases, you will transform XML messages to other XML messages, or you will transform JSON or EDI messages in another of these formats. However, sometimes you want to perform an image transformation. With this image transformation, you can convert images in specific formats to another format (i.e., png). This can come in handy when you want to standardize the image format before using it further downstream in your business application(s).
3
4 Should you have any questions, please get in touch with [[academy@emagiz.com>>mailto:academy@emagiz.com]].
5
6 == 1. Prerequisites ==
7
8 * Expert knowledge of the eMagiz platform
9
10 == 2. Key concepts ==
11
12 This microlearning focuses on performing image transformations in eMagiz.
13
14 By image transformation, we mean transforming the raw data that represents an image into another image format.
15
16 * Read the help text of the component to understand which formats are supported
17 * Ensure the input image is supplied in the correct format
18 * Ensure you wrap the output image in something if you want to do additional transformations on the data further downstream
19
20 == 3. Image Transformation ==
21
22 In most cases, you will transform XML messages to other XML messages, or you will transform JSON or EDI messages in another of these formats. However, sometimes you want to perform an image transformation. With this image transformation, you can convert images in specific formats to another format (i.e., png). This can come in handy when you want to standardize the image format before using it further downstream in your business application(s).
23
24 Before we dive into the specifics of how to configure this, let us first consider the following:
25
26 * Read the help text of the component to understand which formats are supported
27 * Ensure the input image is supplied in the correct format
28 * Ensure you wrap the output image in something if you want to do additional transformations on the data further downstream
29
30 {{warning}} This microlearning focuses on the image transformer component. Ensuring that the input is valid and the output fits the remainder of the process is highly dependent on the use case and will therefore not be discussed in this microlearning{{/warning}}
31
32 When turning to the Create phase of eMagiz, we need to open the flow and enter "Start Editing" mode to add the necessary component. For example, in the left panel, you can search for "Image." This will yield the following result.
33
34 [[image:Main.Images.Microlearning.WebHome@expert-create-your-transformations-image-transformation-image-transformation-component.png]]
35
36 After dragging the component onto the canvas, you must define the channels first.
37
38 [[image:Main.Images.Microlearning.WebHome@expert-create-your-transformations-image-transformation-image-transformation-component-help.png]]
39
40 Secondly, we must select the desired image format we want to transform. Finally, the field indicates all valid values you can choose. Please note that 'PNG' is the default selection.
41
42 [[image:Main.Images.Microlearning.WebHome@expert-create-your-transformations-image-transformation-image-transformation-component-image-options.png]]
43
44 Once you have done this, the component configuration is finished, and you can transform your input image to a desired output image format.
45
46 == 4. Key takeaways ==
47
48 * Read the help text of the component to understand which formats are supported
49 * Ensure the input image is supplied in the correct format
50 * Ensure you wrap the output image in something if you want to do additional transformations on the data further downstream
51
52 == 5. Suggested Additional Readings ==
53
54 If you are interested in this topic and want more information, please read the help text provided by eMagiz.
55
56 )))((({{toc/}}))){{/container}}{{/container}}