Search found 2 matches

by alexxxb62
2018-11-23T20:05:05-07:00
Forum: IMagick
Topic: Put an image svg on jpg, problem background white
Replies: 3
Views: 2869

Re: Put an image svg on jpg, problem background white

Hello, imagick module version : 3.2.0RC1 ImageMagick version : 6.8.9-9 Q16 and my svg : <?xml version="1.0" standalone="no"?> <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN" "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd"> <svg version="1.0" xmlns="http://www.w3.org/2000/svg" width="4...
by alexxxb62
2018-11-23T06:49:28-07:00
Forum: IMagick
Topic: Put an image svg on jpg, problem background white
Replies: 3
Views: 2869

Put an image svg on jpg, problem background white

Hello I want to put an image svg on a jpg image. To do that I use Imagick Here is the code: // Prepare Map $map = new \Imagick(); $map->newImage($formatSize_width, $formatSize_height, new \ImagickPixel($backgroundColor)); $map->setImageFormat("jpg"); $map->setImageUnits(imagick::RESOLUTION_PIXELSPER...