The Cacatron
Upload any image to see it transformed into html.
$base_path="/home/oct/temp/libcaca/src/img2txt ";
if (is_uploaded_file($_FILES['fichier']['tmp_name'])) {
?>
$command = $base_path.escapeshellarg($_FILES['fichier']['tmp_name'])." -f html3";
$data = system($command);
echo $data;
?>
Took no time.
}
?>
This webpage has been inspired from the asciiomatic of typorganism.com. It uses much less CPU power and hence saves virtual trees and real dolphins.
- Powered by libcaca | Written by Oct -