Download the PHP package takuya/php-imagick-cmd-wrapper without Composer

On this page you can find all versions of the php package takuya/php-imagick-cmd-wrapper. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package php-imagick-cmd-wrapper

php-imagick-cmd-wrapper

<CircleciTest>

Image magick shell command wrapper for php

requirements

Why using magick shell command from php?

Occasionally, a php-imagick (ext-imagick) is not available.

Some mod-php server are not supporting ext-imagck. but convert command is easy to install.

Imagick class ( in ext-imagick) is not documented in precisely.

Think, Can you tell how to use 'png:compression-filter' in ext-imagick ?. Perhaps you can't. But, there are very many 'convert' samples in web. and we are trying to system('convert a.jpg b.png') calling with escaping shell arguments. What's a irritated.

So, we need convert command wrapper.

Installing from GitHub

Usage Sample

Important Notice! Call Method Ordering.

Before Use, You should know that OPTIONS Ordering is VERY IMPORTANT.

The convert command is Very NAIVE for option order.

We must care about Arguments Ordering.

Sample1 ( vain , not working. )

This result in identify a.jpg -format '[%w,%h]' , but no work.

Sample2 ( works fine. )

This result in identify -format '[%w,%h]' a.jpg , it will work fine.

More Sample Usage

Convert JPEG to PNG.

Using STDOUT - converting jpeg to png

Using STDIN - converting jpeg to png

Structure of return value

command result is array of 3 entries

Resize(sampling Algorithm) and UnSharp and Normalization

IDE Auto Completion.

Options(methods) are auto generated from Help doc from 'convert -h'.

So, in Some IDE, Auto completions will not work fine.

If it happens then add a path src/generated/ to your Project search PATH.

Developing notice.

This project uses auto generated php code, parsing converet -h.

If you want to re-generate class, execute these command in CLI.

I used these environment. wsl1 debian.

imagemagick from debian(wsl)

test results.

<CircleciTest>

testing


All versions of php-imagick-cmd-wrapper with dependencies

PHP Build Version
Package Version
Requires php Version >=7.2
takuya/process Version ^1.3
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package takuya/php-imagick-cmd-wrapper contains the following files

Loading the files please wait ....