<?php
$f = new SaeFetchurl();
$img_data = $f->fetch( 'http://ss7.sinaimg.cn/bmiddle/488efcbbt7b5c4ae51ca6&690' );
$img = new SaeImage();
$img->setData( $img_data );
$img->resize(200);
$img->flipH();
$img->flipV();
$new_data = $img->exec();
$img->exec( 'jpg' , true );
if ($new_data === false)
var_dump($img->errno(), $img->errmsg());
?>
Here is the code from sina sae. It offers images service. When I paste the code on my page, I just can see the mess in the browser.
What does this "$img->exec( 'jpg' , true );" mean?
How to output the images using php?