liuxurong
V2EX  ›  PHP

PHP imagecopy 图片水印失真的问题

  •  1
     
  •   liuxurong · Jun 11, 2014 · 4662 views
    This topic created in 4396 days ago, the information mentioned may be changed or developed.
    代码如下:

    $imagen1 = imagecreatefromjpeg("./img1.jpg");
    $imagen2 = imagecreatefromjpeg("./img2.jpg");
    imagecopy($imagen1,$imagen2,15,20,0,0,100,100);
    imagejpeg($imagen1);

    我已经尽力统一格式,在图片合成的时候为什么还是失真那么严重呢,模模糊糊的。

    百度 谷歌无果,求指导。
    liuxurong
        1
    liuxurong  
    OP
       Jun 11, 2014
    没人回答..页面被自动沉了..@livid 对我降权了吧~~ 哭。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3300 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 28ms · UTC 11:18 · PVG 19:18 · LAX 04:18 · JFK 07:18
    ♥ Do have faith in what you're doing.