media @ VU
flex-paint.php
<?php
//
//techniques for exporting jpeg with PHP used from Sephirith's tutorial at www.sephiroth.it/tutorials/flashPHP/print_screen/page002.php
//
//get our width and height in integers from the post values
_POST['width'];
_POST['height'];
_POST['data'];
//begin our image
width, temp_img, 0, 0, 0xFFFFFF);
cols = 0;
data);
//replace data with color values
for(rows < rows++){
data_row[cols = 0; width; value = cols];
if(hex = hex) < 6){
hex;
}
hex, 0, 2));
hex, 2, 2));
hex, 4, 2));
temp_img, g, temp_img, rows, temp_img, "", 100);
?>
(C) A. Eliëns
21/5/2007
You may not copy or print any of this material without explicit permission of the author or the publisher.
In case of other copyright issues, contact the author.