resize(array( 'width' => 90, 'height' => 90, 'stretch' => true, )); //-------------------------------------------------- // Frame $imageFrame = new image($imgRoot . '/frame.png'); //-------------------------------------------------- // Main $image = new image($imgRoot . '/treeBig.jpg'); $image->image_add($imageTile, array( 'left' => 20, 'top' => 20, 'repeat' => NULL, // TODO: Was $image->addImageTileToArea($imageTile, 260, 223, 20, 20); )); $image->image_add($imageFrame); $image->output_jpg(); ?>