V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
icemanpro
V2EX  ›  问与答

jpgraph 动态生成小图像出错.

  •  
  •   icemanpro · 2014-06-23 17:43:19 +08:00 · 2258 次点击
    这是一个创建于 3593 天前的主题,其中的信息可能已经有所发展或是发生改变。
    同样代码,如果图像的width和height小于100,则返回的是乱码文本,而非图像.其header中Content-Type为text/html.

    但以width,height 为800的话,则可以正常显示图像.

    大图:https://api.oiluser.cn/public/index.php/worldOilPrices/v1/WTI/img/800/600
    小图:https://api.oiluser.cn/public/index.php/worldOilPrices/v1/WTI/img/100/100

    这个是怎么回事?
    目前尚无回复
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   5395 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 28ms · UTC 08:58 · PVG 16:58 · LAX 01:58 · JFK 04:58
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.