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 6998769
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T20:27:12+00:00 2026-05-27T20:27:12+00:00

I am migrating a javascript program that internally uses image magick, to a Windows

  • 0

I am migrating a javascript program that internally uses image magick, to a Windows batch file using graphics magick.

I cannot succesfully use the convert -draw command.

I have a couple of very simple test cases.The first one is

gm convert -size 1920x1080 xc:white -draw 'text 8,8 "Hello, world"' test.jpg

fails with the error message “non-conforming drawing primitive (text)”.

The other

gm convert -size 1920x1080 xc:white -draw 'image over 8,8 0,0 "img.jpg"' test.jpg

fails with “non-conforming drawing primitive (image)”.

They both fail when invoked from the command line and when invoked from inside a BAT file.

I have tried with and without quotes ".

I have tried escaping with ^ the quotes ^".

I have tried escaping the single quotes ^'.

I am obviously overlooking something very simple, I just cannot see. Any ideas?

EDIT Some attempts I made….

gm convert -size 1920x1080 xc:white -draw "'text 8,8 Hello'" test.jpg
gm convert -size 1920x1080 xc:white -draw "'text 8,8 \"Hello\"'" test.jpg
gm convert -size 1920x1080 xc:white -draw 'text 8,8 ^"Hello^"' test.jpg
gm convert -size 1920x1080 xc:white -draw "'text 8,8 ""Hello""'" test.jpg

but

gm convert -size 1920x1080 xc:white -draw "text 8,8 ""Hello"" " test.jpg

fails with “unable to read font”

  • 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-05-27T20:27:13+00:00Added an answer on May 27, 2026 at 8:27 pm

    Use double quotes: -draw “image over 8,8,0,0 “”img.jpg”” ” ?

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

Sidebar

Related Questions

Migrating from Subversion to Git using svn2git (which internally uses git-svn) I'd like to
I have these two file in my project that I am migrating from php.
I am using Lightbox Slideshow 1.1 (www.justinbarkhuff.com/lab/lightbox_slideshow) on my site which uses javascript to
I have just started migrating my homegrown persistence framework to JPA. Given that the
I am migrating my Facebook canvas application to using the new PHP SDK. However,
I have been using the following regular expression in ASP.NET and Javascript: [a-zA-ZöäüÖÄÜß0-9]{1}[a-zA-ZöäüÖÄÜß0-9_.\-]{2,14}[a-zA-ZöäüÖÄÜß0-9.!]{1} Now,
AFter migrating a joomla 1.5 site to Drupal 6 by using Joomla to Drupal
I'm using Rails 3 to create a project that will need a model called
I am using Ruby on Rails 3.0.7 and I am migrating from Prototype to
I am migrating from Java to C++. It seems that C++ makes classes declaration

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.