Browse Source

set opacity=0

(seems to be different between imagemagick 3.3.0 and 3.4.3)
main
Aaron Parecki 8 years ago
parent
commit
c03eaf3024
No known key found for this signature in database GPG Key ID: 276C2817346D6056
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      p3k/geo/StaticMap.php

+ 1
- 1
p3k/geo/StaticMap.php View File

@ -400,7 +400,7 @@ function generate($params, $filename, $assetPath) {
$draw->setStrokeColor(new ImagickPixel('#'.$path['color'])); $draw->setStrokeColor(new ImagickPixel('#'.$path['color']));
$draw->setStrokeWidth($path['weight']); $draw->setStrokeWidth($path['weight']);
$draw->setFillOpacity(1);
$draw->setFillOpacity(0);
$draw->setStrokeLineCap(Imagick::LINECAP_ROUND); $draw->setStrokeLineCap(Imagick::LINECAP_ROUND);
$draw->setStrokeLineJoin(Imagick::LINEJOIN_ROUND); $draw->setStrokeLineJoin(Imagick::LINEJOIN_ROUND);

Loading…
Cancel
Save