⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 image.php

📁 视频监控网络部分的协议ddns,的模块的实现代码,请大家大胆指正.
💻 PHP
字号:
<?php//// +---------------------------------------------------------------------------+// | PEAR :: XML :: Transformer :: Image Namespace Handler                     |// +---------------------------------------------------------------------------+// | Copyright (c) 2002-2004 Sebastian Bergmann <sb@sebastian-bergmann.de> and |// |                         Kristian K鰄ntopp <kris@koehntopp.de>.            |// +---------------------------------------------------------------------------+// | This source file is subject to version 3.00 of the PHP License,           |// | that is available at http://www.php.net/license/3_0.txt.                  |// | If you did not receive a copy of the PHP license and are unable to        |// | obtain it through the world-wide-web, please send a note to               |// | license@php.net so we can mail you a copy immediately.                    |// +---------------------------------------------------------------------------+//// $Id: Image.php,v 1.24 2004/11/20 07:35:07 sebastian Exp $//require_once 'XML/Transformer/Namespace.php';require_once 'XML/Util.php';define('PEAR_XML_TRANSFORMER_IMAGE_FONTPATH', '/usr/X11R6/lib/X11/fonts/truetype');define('PEAR_XML_TRANSFORMER_IMAGE_cacheDir', '/cache/gtext');/** * Handler for the Image Namespace. * * Example: * * <code> * <?php * require_once 'XML/Transformer_OutputBuffer.php'; * require_once 'XML/Transformer/Namespace/Image.php'; * * $t = new XML_Transformer_OutputBuffer; * $t->overloadNamespace('img', new XML_Transformer_Namespace_Image); * $t->start(); * ?> * <html> *   <body> *     <!-- Height and Width attributes are autogenerated --> *     <img:img src="somepng.png" alt="A sample image" /> * *     <!-- Set default for all subsequent <img:gtext /> --> *     <img:gtextdefault bgcolor="888888" fgcolor="#000000" *                       font="arial.ttf" fontsize="33" *                       border="2" spacing="2" *                       split="" cacheable="yes" /> * *     <!-- Render Text as PNG image --> *     <img:gtext>0123456789 漩

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -