/trunk/services/modules/0.1/chorodep/cartes/TaxonsCartes.php |
---|
454,10 → 454,6 |
private function indexerFichierPng($fichierPng) { |
$img = imagecreatefrompng($fichierPng); |
imagetruecolortopalette($img, false, 32); |
imagealphablending($img, false); |
$alpha = imagecolorallocatealpha($img, 0, 0, 0, 127); |
imagefill($img, 0, 0, $alpha); |
imagesavealpha($img, true); |
imagepng($img, $fichierPng, 9, PNG_ALL_FILTERS); |
} |