For a long time to find, git Address:
https://github.com/Hi-Joe/TiledWatermark
No need to download plug-ins, can be the perfect tile, sample code:
<?php require_once './TiledWatermark.class.php'; $test = TiledWatermark::getInstance(); $config = array( # Set Drawing type 'img' picture watermark, 'txt' text watermark 'draw_type' => 'img', # Background images, support for jpeg, png 'draw_bg' => './resources/test.jpg', # Watermark transparency 0-127 'opacity' => 33, # Watermark whether the random location 'random_location' => false, # Logo watermark 'logo_img' => './resources/ohcodes_logo.png', # Font files 'font_file' => './resources/1.ttf', # Tilt, only text watermark into force 'rotate_angle' => 0, # Watermark Text 'Watermark_text' => 'such and such a limited liability company' # 13 equal to the watermark text color RGB 13,13,13 'text_rgb' => 13, # Whether to open the text watermark shadow 'shadow' => false, # Text watermark shadow color 'shadow_rgb' => '160,210,119', # Shadow offset, such as to allow negative -3 'shadow_offset' => 3 ); $test->okIsRun($config); ?>