ここの情報は古いです。ご理解頂いた上でお取り扱いください。

Changeset 13796


Ignore:
Timestamp:
Feb 7, 2011, 5:23:14 PM (12 years ago)
Author:
nagasawa
Message:

r1394 の変更を stable 2.14.x へマージ (fixes #4462, #4127)

Location:
OpenPNE/branches/stable-2.14.x/webapp/lib/OpenPNE
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • OpenPNE/branches/stable-2.14.x/webapp/lib/OpenPNE/Img.php

    r7707 r13796  
    359359            touch($this->cache_fullpath);
    360360            $output_gdimg = imagecreatefromstring($this->raw_img);
     361            imagealphablending($output_gdimg, false);
     362            imagesavealpha($output_gdimg, true);
    361363            imagepng($output_gdimg, $this->cache_fullpath);
    362364        } else {
  • OpenPNE/branches/stable-2.14.x/webapp/lib/OpenPNE/Img/ImageMagick.php

    r4933 r13796  
    8585            touch($raw_fullpath);
    8686            $output_gdimg = imagecreatefromstring($rawimage);
     87            imagealphablending($output_gdimg, false);
     88            imagesavealpha($output_gdimg, true);
    8789            imagepng($output_gdimg, $raw_fullpath);
    8890        } else {
Note: See TracChangeset for help on using the changeset viewer.