Download the PHP package tei187/qr-image2svg without Composer

On this page you can find all versions of the php package tei187/qr-image2svg. 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 qr-image2svg

QR image-2-svg converter

QR image 2 SVG converter

DEMO APP (not user friendly at the moment, looks messy, lots of reclicking)


About

Library meant to easily convert bitmap image-based QR codes to SVG equivalent form. Supports GD library, Imagick extension and ImageMagick command line prompts.

Mechanics

The concept here is to assign a grid over the QR image, find the center position of each generated tile and read the color value of the corresponding pixel. Then, basing on the assigned threshold value, resolve the SVG render with gathered data.

Story behind it

The main reason to create this solution was my day-to-day job, where I have to handle graphic files for prepress solutions. Sadly, many graphic designers still do not seem to understand that, often enough, bitmap images will offer a lower quality than their vector alternatives in print, not matter how far you will crank up the image resolution (it has to do with how images are processed by RIP systems to raster dots form). In the company I work for, we often introduce amendments to graphic files in order to receive the best possible quality in print. However, converting QR codes from bitmap to vector objects is not as easy or as fun as it should (no, contour tracing in many cases is not a viable option), so we were in need of yet another in-house solution to speed up yet another process. Came up with this package.


Classes overview

Namespace Description
tei187\QrImage2Svg\Configuration Holds configuration for the process
tei187\QrImage2Svg\Processor Abstract processor class
tei187\QrImage2Svg\Processor\GD GD library processor
tei187\QrImage2Svg\Processor\Imagick Imagick extension processor
tei187\QrImage2Svg\Processor\ImageMagick ImageMagick command line processor
tei187\QrImage2Svg\Processors\ImageMagick\Commands ImageMagick commands used in command prompt (static)
tei187\QrImage2Svg\Resources\MIME MIME types class handlers (static)
tei187\QrImage2Svg\Utilities\PathValidator Path validator class (static)

Usage


Parameters & input requirements


Future plans:

Requirements

Links


All versions of qr-image2svg with dependencies

PHP Build Version
Package Version
Requires php Version >=7.4
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 tei187/qr-image2svg contains the following files

Loading the files please wait ....