Login   Register  
PHP Classes
elePHPant
Icontem

File: from_ASCII_to_img

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  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: 9 years ago
Size: 350 bytes
 

Contents

Class file image Download
<?php

// 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") ;
 print 
$test->data ;


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