This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
convert -size 400x400 xc:white -fill "#0ff" -draw "rectangle 25,125 225,325" c.png | |
convert -size 400x400 xc:white -fill "#f0f" -draw "rectangle 75,25 275,225" m.png | |
convert -size 400x400 xc:white -fill "#ff0" -draw "rectangle 175,75 375,275" y.png | |
convert -size 400x400 xc:white -fill "#888" -draw "rectangle 127,175 320,375" k.png | |
composite c.png -compose multiply m.png cm.png | |
composite cm.png -compose multiply y.png cmy.png | |
composite cmy.png -compose multiply k.png cmyk.png |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/sh | |
# AI (Adobe Illustrator) BitmapImage & Text Extractor. | |
# only "PDF compatible":true | |
# (c) 2017/09/07- [email protected] | |
# require) | |
# % brew install fswatch poppler epstool | |
# execute) MacOS | |
# % fswatch -0 ~/QUANT/working | xargs -0 -n 1 sh ./ai_extract.sh | |
# test) | |
# % cp -r AIFiles/* ~/QUANT/working/. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$width = 255; | |
$height = 4; | |
$im = imagecreatetruecolor($width, $height); | |
for ($x = 0 ; $x < $width ; $x++) { | |
$r = imagecolorallocate($im, $x, 0, 0); |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<delegatemap> | |
+ <delegate decode="heic" command=""heif-convert" "%i" "%o.png" ; /bin/mv "%o.png" "%o""/> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
* (c) 2017/08/21- [email protected] | |
* $ composer require yoya/php-svg | |
*/ | |
require_once("vendor/autoload.php"); | |
use SVG\SVGImage; | |
use SVG\Nodes\Structures\SVGStyle; | |
use SVG\Nodes\Structures\SVGDefs; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
* (c) 2017/08/20- [email protected] | |
* $ composer require yoya/php-svg | |
*/ | |
require_once("vendor/autoload.php"); | |
use SVG\SVGImage; | |
use SVG\Nodes\Structures\SVGStyle; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
* (c) 2017/08/21- [email protected] | |
* $ composer require yoya/php-svg | |
*/ | |
require_once("vendor/autoload.php"); | |
use SVG\SVGImage; | |
use SVG\Nodes\Structures\SVGStyle; | |
use SVG\Nodes\Structures\SVGDefs; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
* (c) 2017/08/21- [email protected] | |
* $ composer require yoya/php-svg | |
*/ | |
require_once("vendor/autoload.php"); | |
use SVG\SVGImage; | |
use SVG\Nodes\Structures\SVGStyle; | |
use SVG\Nodes\Structures\SVGDefs; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
* (c) 2017/08/21- [email protected] | |
* $ composer require yoya/php-svg | |
*/ | |
require_once("vendor/autoload.php"); | |
use SVG\SVGImage; | |
use SVG\Nodes\Structures\SVGStyle; | |
use SVG\Nodes\Structures\SVGDefs; |