|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #59027 Remote images images objects in svg are not displayed
Submitted: 2010-01-11 14:47 UTC Modified: 2010-01-27 15:15 UTC
Avg. Score:5.0 ± 0.0
Reproduced:2 of 2 (100.0%)
Same Version:2 (100.0%)
Same OS:0 (0.0%)
From: eladio dot galvez at joopbox dot com Assigned:
Status: Suspended Package: imagick (PECL)
PHP Version: 5_3.1RC2 OS: Linux Centos 5.4
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2010-01-11 14:47 UTC] eladio dot galvez at joopbox dot com
When we try to convert an svg to jpg and this svg has references to remote files 

In standard comments that is possible use external references:

And if you try from console with convert works fine, but when try from php code using convert dont display the elements.

Software versions:
  CentOS release 5.4 (Final)
  2.6.24-19-xen #1 SMP Wed Aug 20 21:08:51 UTC 2008 x86_64 x86_64 x86_64 GNU/Linux

Content in test.svg:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
   <image width="600" height="302" id="map" x="0" y="0" xlink:href="" />

I think that this guy has the same issue:

Reproduce code:
 $im = new imagick();

Expected result:
Generate an image test.jpg that displays the pecl logo.
If you use convert from console works fine:

 convert test.svg test.jpg

Actual result:
[eladio@server ~]# php -q test.php 

Segmentation fault

With files that hasnt remote files returns the same error, but some conversion is done, because I can see elements.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2010-01-27 15:15 UTC]

I get a blank white image both with commmand line convert and imagick. Might be related to svg library being used.
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Mon Feb 06 18:03:43 2023 UTC