recreate project

This commit is contained in:
root
2026-02-10 22:11:06 -05:00
commit 663c0cdbda
10149 changed files with 1379710 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
<?php
require_once(__DIR__ . "/../vendor/autoload.php");
use Mike42\GfxPhp\Image;
// Write original back
$img = Image::fromFile(dirname(__FILE__). "/resources/5x7hex.pbm");
$img -> write("font-original.pbm");
// Scale a black and white image
$img = Image::fromFile(dirname(__FILE__). "/resources/5x7hex.pbm");
$img2 = $img -> scale(40, 4);
$img2 -> write("font-small.pbm");
$img = Image::fromFile(dirname(__FILE__). "/resources/5x7hex.pbm");
$img3 = $img -> scale(160, 14);
$img3 -> write("font-large.pbm");