pl.beone.promena.transformer:converter-imagemagick

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

License

License

Categories

Categories

ORM Data
GroupId

GroupId

pl.beone.promena.transformer
ArtifactId

ArtifactId

converter-imagemagick
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

How to add to project

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

Dependencies

compile (7)

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.base : promena-transformer-util jar 1.0.0
pl.beone.promena.transformer : converter-imagemagick-application-model jar 1.0.1
io.github.microutils : kotlin-logging jar 1.7.6
org.im4java : im4java jar 1.4.0
org.apache.commons : commons-imaging jar 1.0-alpha1

test (5)

Group / Artifact Type Version
ch.qos.logback : logback-classic jar 1.2.3
org.junit.jupiter : junit-jupiter-engine jar 5.5.2
io.kotlintest : kotlintest-runner-junit5 jar 3.4.2
io.mockk : mockk jar 1.9.3
pl.beone.lib : docker-extension-junit5 jar 1.0.0

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