PHP code example of yoya / io_icc

1. Go to this page and download the library: Download yoya/io_icc library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

yoya / io_icc example snippets


% php vendor/yoya/io_icc/sample/iccgbr.php sRGB.icc > sGBR.icc

% php vendor/yoya/io_icc/sample/iccedit.php GBR.icc
gTRC:curv
gXYZ:XYZ
% php vendor/yoya/io_icc/sample/iccedit.php GBR.icc gTRC
type:curv
CurveValues:2.19921875
% php vendor/yoya/io_icc/sample/iccedit.php GBR.icc gTRC CurveValues:0.82 > GBR_gTRC-0.82.icc

% php vendor/yoya/io_icc/sample/iccdeltags.php sRGB_v4_ICC_preference_displayclass.icc | grep B2A
B2A0
B2A1
% php vendor/yoya/io_icc/sample/iccdeltags.php sRGB_v4_ICC_preference_displayclass.icc B2A0 B2A1 > sRGB_v4_ICC_preference_displayclass_noB2A.icc