pl.beone.promena.transformer:converter-imagemagick-configuration

pl.beone.promena.sdk.maven.parent:promena-transformer-parent

License

License

Categories

Categories

Configuration Application Layer Libs config ORM Data
GroupId

GroupId

pl.beone.promena.transformer
ArtifactId

ArtifactId

converter-imagemagick-configuration
Last Version

Last Version

1.0.1
Release Date

Release Date

Type

Type

jar
Description

Description

pl.beone.promena.sdk.maven.parent:promena-transformer-parent
Project URL

Project URL

https://beone.pl
Project Organization

Project Organization

BeOne Sp. z o.o.
Source Code Management

Source Code Management

https://github.com/BeOne-PL/promena-transformer-converter-imagemagick

Download converter-imagemagick-configuration

How to add to project

<!-- https://jarcasting.com/artifacts/pl.beone.promena.transformer/converter-imagemagick-configuration/ -->
<dependency>
    <groupId>pl.beone.promena.transformer</groupId>
    <artifactId>converter-imagemagick-configuration</artifactId>
    <version>1.0.1</version>
</dependency>
// https://jarcasting.com/artifacts/pl.beone.promena.transformer/converter-imagemagick-configuration/
implementation 'pl.beone.promena.transformer:converter-imagemagick-configuration:1.0.1'
// https://jarcasting.com/artifacts/pl.beone.promena.transformer/converter-imagemagick-configuration/
implementation ("pl.beone.promena.transformer:converter-imagemagick-configuration:1.0.1")
'pl.beone.promena.transformer:converter-imagemagick-configuration:jar:1.0.1'
<dependency org="pl.beone.promena.transformer" name="converter-imagemagick-configuration" rev="1.0.1">
  <artifact name="converter-imagemagick-configuration" type="jar" />
</dependency>
@Grapes(
@Grab(group='pl.beone.promena.transformer', module='converter-imagemagick-configuration', version='1.0.1')
)
libraryDependencies += "pl.beone.promena.transformer" % "converter-imagemagick-configuration" % "1.0.1"
[pl.beone.promena.transformer/converter-imagemagick-configuration "1.0.1"]

Dependencies

compile (5)

Group / Artifact Type Version
org.jetbrains.kotlin : kotlin-stdlib-jdk8 jar 1.3.50
org.jetbrains.kotlin : kotlin-reflect jar 1.3.50
pl.beone.promena.transformer : converter-imagemagick jar 1.0.1
org.springframework.boot : spring-boot-starter jar 2.2.1.RELEASE
joda-time : joda-time jar 2.10.5

test (3)

Group / Artifact Type Version
org.junit.jupiter : junit-jupiter-engine jar 5.5.2
io.kotlintest : kotlintest-runner-junit5 jar 3.4.2
org.springframework.boot : spring-boot-starter-test jar 2.2.1.RELEASE

Project Modules

There are no modules declared in this project.

Promena Transformer - converter - ImageMagick

This transformer provides functionality to convert data from one format to another using ImageMagick 7.0.9-10.

Visit Promena#Transformer to understand the repository structure.

Transformation ImageMagickConverterDsl, ImageMagickConverterParametersDsl

The DataDescriptor has to contain at least one descriptor. If more than one descriptor is passed, the transformation will be performed on each of them separately.

Support ImageMagickConverterSupport

Media type ImageMagickConverterSupport.MediaTypeSupport

  • application/pdf; UTF-8 ➡️ image/png; UTF-8
  • application/pdf; UTF-8 ➡️ image/jpeg; UTF-8
  • application/pdf; UTF-8 ➡️ image/gif; UTF-8
  • application/pdf; UTF-8 ➡️ image/tiff; UTF-8
  • application/pdf; UTF-8 ➡️ image/bmp; UTF-8
  • image/jpeg; UTF-8 ➡️ image/png; UTF-8
  • image/jpeg; UTF-8 ➡️ image/jpeg; UTF-8
  • image/jpeg; UTF-8 ➡️ image/gif; UTF-8
  • image/jpeg; UTF-8 ➡️ image/tiff; UTF-8
  • image/jpeg; UTF-8 ➡️ image/bmp; UTF-8
  • image/gif; UTF-8 ➡️ image/png; UTF-8
  • image/gif; UTF-8 ➡️ image/jpeg; UTF-8
  • image/gif; UTF-8 ➡️ image/gif; UTF-8
  • image/gif; UTF-8 ➡️ image/tiff; UTF-8
  • image/gif; UTF-8 ➡️ image/bmp; UTF-8
  • image/png; UTF-8 ➡️ image/png; UTF-8
  • image/png; UTF-8 ➡️ image/jpeg; UTF-8
  • image/png; UTF-8 ➡️ image/gif; UTF-8
  • image/png; UTF-8 ➡️ image/tiff; UTF-8
  • image/png; UTF-8 ➡️ image/bmp; UTF-8
  • image/tiff; UTF-8 ➡️ image/png; UTF-8
  • image/tiff; UTF-8 ➡️ image/jpeg; UTF-8
  • image/tiff; UTF-8 ➡️ image/gif; UTF-8
  • image/tiff; UTF-8 ➡️ image/tiff; UTF-8
  • image/tiff; UTF-8 ➡️ image/bmp; UTF-8
  • image/bmp; UTF-8 ➡️ image/png; UTF-8
  • image/bmp; UTF-8 ➡️ image/jpeg; UTF-8
  • image/bmp; UTF-8 ➡️ image/gif; UTF-8
  • image/bmp; UTF-8 ➡️ image/tiff; UTF-8
  • image/bmp; UTF-8 ➡️ image/bmp; UTF-8

Parameters ImageMagickConverterSupport.ParametersSupport

  • width, Int, optional - the width of an image
  • height, Int, optional - the height of an image
  • ignoreAspectRatio, Boolean, optional - ignores the aspect ratio and distort a image
  • allowEnlargement, Boolean, optional - enlarges a image to fit into the size given

Dependency

<dependency>
    <groupId>pl.beone.promena.transformer</groupId>
    <artifactId>converter-imagemagick-configuration</artifactId>
    <version>1.0.1</version>
</dependency>

promena-docker-maven-plugin

<dependency>
    <groupId>pl.beone.promena.transformer</groupId>
    <artifactId>converter-imagemagick</artifactId>
    <version>1.0.1</version>
</dependency>

Properties

transformer.pl.beone.promena.transformer.converter.imagemagick.ImageMagickConverterTransformer.priority=1
transformer.pl.beone.promena.transformer.converter.imagemagick.ImageMagickConverterTransformer.actors=1

transformer.pl.beone.promena.transformer.converter.imagemagick.default.parameters.width=
transformer.pl.beone.promena.transformer.converter.imagemagick.default.parameters.height=
transformer.pl.beone.promena.transformer.converter.imagemagick.default.parameters.ignore-aspect-ratio=true
transformer.pl.beone.promena.transformer.converter.imagemagick.default.parameters.allow-enlargement=true
transformer.pl.beone.promena.transformer.converter.imagemagick.default.parameters.timeout=
pl.beone.promena.transformer

BeOne Sp. z o.o.

Versions

Version
1.0.1
1.0.0