PHP Classes

File: from_ASCII_to_img

Recommend this page to a friend!
  Classes of Ahmed Shreef   Shref Image vs ASCII   from_ASCII_to_img   Download  
File: from_ASCII_to_img
Role: Example script
Content type: text/plain
Description: convert from ASCII to normal image
Class: Shref Image vs ASCII
Convert files to ASCII data and vice-versa
Author: By
Last change:
Date: 18 years ago
Size: 350 bytes


Class file image Download

// will read the ASCII code in linux.txt & convert it to normal data
// then we will print it to screen by $test->data

require "Shref_ASCIIimg.class.php";

$test = new Shref_ASCIIimg("linux.txt","from") ;
$test->data ;

//****** ps: if you was printing an image to screen don't output any thing
// before it