PHP沙龙 - PHPSalon.com - Justin's Blog - Sofee.cn

世界其实很简单,复杂的是人;生活其实很轻松,沉重的是感情!

用户操作
[即时聊天] [发私信] [加为好友]
JustinID:ezdevelop
271112次访问,排名224好友0人,关注者2
ezdevelop的文章
原创 156 篇
翻译 0 篇
转载 37 篇
评论 819 篇
Justin的公告
-------------------------
点击进入我的新BLOG
-------------------------
作者声明:本人专栏内的所有文章,除注明转载外均为本人原创,未经许可,严禁任何形式转载。
最近评论
muchool:http://cvsproxy.muchool.com/ 专门针对软件开发人员量身定做的CVS代理下载,无需安装任何CVS客户端,轻松而快速的打包下载CVS版本控制服务器上的资源,自动剔除版本控制信息,还原开发者的原始项目目录.
csnxlsh:也发个给我咯
谢谢了!我的邮箱是csnxlsh@sohu.com
ryl:robots.txt只是对好的搜索引擎google ,baidu....等一些好的,才遵守的规则
对垃圾的搜索引擎还是没用啊
所以不用phpmyadmin管理才是主要
ryl:居然有这么活宝的人
怎么把phpmyadmin都传上去
还安全吗
gudai:我等得花儿也谢了。
文章分类
收藏
    相册
    My Photos
    .Personal
    Justin's Tech Blog(RSS)
    My Alumni
    My Website
    Friend's Blog
    PHP/MySQL经验点滴
    大麦英语学习论坛
    速推网
    存档
    软件项目交易
    订阅我的博客
    XML聚合  FeedSky
    订阅到鲜果
    订阅到Google
    订阅到抓虾
    订阅到BlogLines
    订阅到Yahoo
    订阅到GouGou
    订阅到飞鸽
    订阅到Rojo
    订阅到newsgator
    订阅到netvibes

    原创 FreeImage Usage收藏

    新一篇: BLOG的编辑器真烂 | 旧一篇: FreeImage function list

    Usage:
    ======
    Both a procedural and an OO API is provided. eg.

    Procedural:
    -----------
    <?php
    printf("FreeImage Version %s<br>%s<br><br>", FreeImage_GetVersion(), FreeImage_GetCopyrightMessage());
    for ($i=0; $i<FreeImage_GetFIFCount(); $i++) {
        printf("<b>Bitmap type %d:</b> <u>%s</u> (%s)<br>", $i, FreeImage_GetFIFDescription($i), FreeImage_GetFIFExtensionList($i));
        echo str_repeat('&nbsp;', 17);
        if (FreeImage_FIFSupportsReading($i)) {
            echo 'Read: <font color="green"><b>OK</b></font>';
        } else {
            echo 'Read: <font color="red"><b>FAILURE</b></font>';
        }
        if (FreeImage_FIFSupportsWriting($i)) {
            echo ' - Write: <font color="green"><b>OK</b></font><br>';
        } else {
            echo ' - Write: <font color="red"><b>FAILURE</b></font><br>';
        }
    }
    ?>

    OO:
    ---
    <?php
    $fi = new FreeImage();
    printf("FreeImage Version %s<br>%s<br><br>", $fi->GetVersion(), $fi->GetCopyrightMessage());
    for ($i=0; $i<$fi->GetFIFCount(); $i++) {
        printf("<b>Bitmap type %d:</b> <u>%s</u> (%s)<br>", $i, $fi->GetFIFDescription($i), $fi->GetFIFExtensionList($i));
        echo str_repeat('&nbsp;', 17);
        if ($fi->FIFSupportsReading($i)) {
            echo 'Read: <font color="green"><b>OK</b></font>';
        } else {
            echo 'Read: <font color="red"><b>FAILURE</b></font>';
        }
        if ($fi->FIFSupportsWriting($i)) {
            echo ' - Write: <font color="green"><b>OK</b></font><br>';
        } else {
            echo ' - Write: <font color="red"><b>FAILURE</b></font><br>';
        }
    }
    ?>

    You can see some other various samples in the "examples/" directory.

    发表于 @ 2004年08月05日 09:08:00|评论(loading...)|编辑

    新一篇: BLOG的编辑器真烂 | 旧一篇: FreeImage function list

    评论:没有评论。

    发表评论  


    当前用户设置只有注册用户才能发表评论。如果你没有登录,请点击登录
    Csdn Blog version 3.1a
    Copyright © Justin