PHP code example of abbotton / ios-png-parser
1. Go to this page and download the library: Download abbotton/ios-png-parser 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/ */
abbotton / ios-png-parser example snippets
use IosPngParser\Parser;
$parser = new Parser();
$encryptedPngFile = "/data/wwwroot/example.com/encrypted.png";
$decryptedPngFile = '/data/wwwroot/example.com/decrypted.png';
$parser::fix($encryptedPngFile, $decryptedPngFile);