2017 © Pedro Peláez
 

barberry-plugin plugin-imagemagick

image

barberry/plugin-imagemagick

  • Wednesday, June 13, 2018
  • by Magomogo
  • Repository
  • 1 Watchers
  • 2 Stars
  • 2,135 Installations
  • PHP
  • 2 Dependents
  • 0 Suggesters
  • 9 Forks
  • 1 Open issues
  • 15 Versions
  • 12 % Grown

The README.md

barberry-plugin-imagemagick

Build Status, (*1)

Barberry plugin for handling images, (*2)

Parameters syntax:

All parameters must be listed with no separators and the order of parameters cannot be changed. Any parameter can be ommited., (*3)

[width]x[height][noUpscale]bg[color]canvas[width]x[height]quality[percent]colorspace[name]strip

[width]x[height][noUpscale]

Main info about height and width of corresponding image. In case noUpscale provided image will only shrink, but never grow., (*4)

bg[color]

Background color of image in format 11AAFF (hex code format without # at the beginning), (*5)

canvas[width]x[height]

Info about height and width of canvas the real added params for image imagemagick will be:, (*6)

-size [width]x[height] xc:#[color] +swap -gravity center -composite

[color] by default is 000000 if no background color is set, otherwise uses bg color, (*7)

quality[percent]

Quality of jpeg image in percents. Range from 1 to 100, (*8)

colorspace[name]

The colorspace of image. Allowed colorspaces:, (*9)

Gray|CMYK|sRGB|Transparent|RGB

trim[color]x[percent]

Remove any borders or edges of an image which did does not change in color or transparency. In other words it removes the 'boring' bits surrounding an image., (*10)

[color] is color, which you want to trim, (*11)

[percent] is percent of fuzz to be applied while trimming (more percent, possibly more image will be cut), (*12)

strip

In some cases color profiles can take up significant part of your image, especially if image is small or resized. This option allows to cut color profiles out., (*13)

Environment

There are two environment options, which regulate image's max size:, (*14)

  • MAX_WIDTH
    • default value is 800
  • MAX_HEIGHT
    • default value is 600

If you need to be able to generate a full hd/2k/4k size, please set up them, (*15)

The Versions

13/06 2018

dev-master

9999999-dev

  Sources   Download

MIT

The Requires

 

The Development Requires

by Maxim Gnatenko

13/06 2018

dev-php7

dev-php7

  Sources   Download

MIT

The Requires

 

The Development Requires

by Maxim Gnatenko

13/06 2018

2.0.0

2.0.0.0

  Sources   Download

MIT

The Requires

 

The Development Requires

by Maxim Gnatenko

03/10 2017

1.3.0

1.3.0.0

  Sources   Download

MIT

The Requires

 

The Development Requires

by Maxim Gnatenko

23/03 2017

1.2.0

1.2.0.0

  Sources   Download

MIT

The Requires

 

The Development Requires

by Maxim Gnatenko

18/05 2016

1.1.5

1.1.5.0

  Sources   Download

MIT

The Requires

 

The Development Requires

by Maxim Gnatenko

18/05 2016

1.1.4

1.1.4.0

  Sources   Download

MIT

The Requires

 

The Development Requires

by Maxim Gnatenko

30/04 2016

1.1.3

1.1.3.0

  Sources   Download

MIT

The Requires

 

The Development Requires

by Maxim Gnatenko

10/12 2013

1.1.2

1.1.2.0

  Sources   Download

MIT

The Requires

 

The Development Requires

by Maxim Gnatenko

09/09 2013

1.1.1

1.1.1.0

  Sources   Download

MIT

The Requires

 

The Development Requires

by Maxim Gnatenko

09/09 2013

dev-composer-plugin

dev-composer-plugin

  Sources   Download

MIT

The Requires

 

The Development Requires

by Maxim Gnatenko

19/06 2013

1.1.0

1.1.0.0

  Sources   Download

MIT

The Requires

 

The Development Requires

by Maxim Gnatenko

02/04 2013

1.0.x-dev

1.0.9999999.9999999-dev

  Sources   Download

MIT

The Requires

 

The Development Requires

by Maxim Gnatenko

02/04 2013

1.0.0

1.0.0.0

  Sources   Download

MIT

The Requires

 

The Development Requires

by Maxim Gnatenko

07/11 2012

0.1.x-dev

0.1.9999999.9999999-dev

  Sources   Download

MIT

The Requires

 

by Maxim Gnatenko