Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9050227
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T12:36:11+00:00 2026-06-16T12:36:11+00:00

With PHP i’m creating an image with embedded content (base64 encoded files). If i

  • 0

With PHP i’m creating an image with embedded content (base64 encoded files). If i see it using Firefox, or downloading it and then opening it with Inkscape (www.inkscape.org), the image is fine!.

But when i try to convert it using imagemagick (using convert command or with Imagick support for PHP) the embedded image doesn’t come in with the final result.

I don’t know if there is a special command or configuration i’m missing. I’m not using any special setup. Just …

convert image.svg image.png 

Thank you very much for your answer.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-16T12:36:12+00:00Added an answer on June 16, 2026 at 12:36 pm

    ImageMagick’s built-in SVG rendering is really pretty horrible. Don’t use it if you can avoid it. I’d recommend using librsvg instead, either using the command-line rsvg tool, or possibly with the PHP rsvg extension.

    (Librsvg’s rendering isn’t always perfect either, but it should be able to handle embedded images just fine. If you want even better rendering, you could always try using Inkscape from the command line.)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

php curl is reading style(css) files and downloading gifs,jpegs,pngs and everything. so curl is
PHP has some pretty inconsistent parameters for functions (e.g. sometimes first haystack , then
PHP code: $txt=John has cat and dog.; //plain text $txt=base64_encode($txt); //base64 encode $txt=gzdeflate($txt,9); //best
PHP having function to get values of a form using '$_POST' for 'method=post' '$_GET'
I'm using v2.0 of ClassTextile.php, with the following call: $testimonial_text = $textile->TextileRestricted($_POST['testimonial']); ... and
PHP does not have built-in image editing capability, but many projects use the GD
PHP seems to use a rather annoying method for setting the evnironment timezone, using
PHP 5.3+'s native ZipArchive class ( http://php.net/ziparchive ) creates corrupt result files (.zip), but
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
PHP has the habit of evaluating (int)0 and (string)0 as empty when using the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.