bitandblack/iccprofile

Reading ICC Color Profiles

0.2.0 2020-03-12 08:09 UTC

This package is auto-updated.

Last update: 2020-05-12 08:28:22 UTC


README

PHP from Packagist Codacy Badge Latest Stable Version Total Downloads License

ICC ColorProfile

Reading ICC Color Profiles. This library is based on the work of Andreas Heigl in org_heigl/color.

Installation

This library is made for the use with Composer. Add it to you project by running $ composer require bitandblack/iccprofile.

Usage

Set up an object with the path to a profile or alternatively a string with the profile itself:

<?php

use BitAndBlack\ICCProfile\ICCProfile;

$profile = new ICCProfile('/path/to/SomeProfile.icc');

Access the profiles information:

<?php 

$space = $profile->getSpace();

This will get something like RGB.

Help

If you have any questions feel free to contact us under icccolorprofile@bitandblack.com.