Find the answer to your Linux question:
Results 1 to 4 of 4
Greetings All, I am writing a gui program that generates a simple cd/dvd label which needs to be curved. I can use PIL to generate straight labels with no problem ...
  1. #1
    Linux User
    Join Date
    May 2008
    Location
    NYC, moved from KS & MO
    Posts
    251

    how to generate curved text label

    Greetings All,
    I am writing a gui program that generates a simple cd/dvd label which needs to be curved. I can use PIL to generate straight labels with no problem but I don't know how (or maybe PIL is not capable of this kind of task) to generate curved text label. Does anyone have experience in this. I can program with C/C++, python so the solution doesn't have to be restricted to python only.

    p.s. the software that I am trying to write would be similar to
    LightScribe - Downloads - Linux

  2. #2
    Linux Engineer GNU-Fan's Avatar
    Join Date
    Mar 2008
    Posts
    935
    Hi,

    the ImageMagick (mind the spelling) toolkit has many image editing functions with APIs for many languages.
    Debian GNU/Linux -- You know you want it.

  3. #3
    Linux User
    Join Date
    May 2008
    Location
    NYC, moved from KS & MO
    Posts
    251
    Thanks. Will check on that.

  4. #4
    Linux User
    Join Date
    May 2008
    Location
    NYC, moved from KS & MO
    Posts
    251
    ImageMagick does rock! I can even create a complete circled text by using just covert command (installation of ImageMagick is required), for example:

    Code:
    convert -pointsize 32 -background lightblue \
               -fill navy label:"User: abc    Date: 12/3/2012" \
               -virtual-pixel background  -distort Arc 340 \
               font_circle.jpg

    Ref:
    Font Effects -- IM v6 Examples
    Distorting -- IM v6 Examples
    Last edited by secondmouse; 10-29-2009 at 06:34 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...