labels for CD/DVDs - programmatically from script
Scott Serr <[email protected]> Wed, 27 Jul 2011 13:04:10 -0600 (MDT)
| Newsgroups | gmane.comp.video.image-magick.user |
|---|---|
| Message-ID | <21322697.1471311793450518.JavaMail.root@mail> |
Hello image gurus, I've spent a couple hours trying to get text in regions of a square background. First I just want 2 regions, the upper portion and lower portion of a CD. (I'll be using this with lightscribe DVDs) I've avoided "-draw" because I didn't see a way to center horizontally. So... I've tried doing parenthesis for this regions and then doing a -composite into the larger background. This sort of works: convert -size 480x480 xc:skyblue \ \( -size 460x140 -font Helvetica -pointsize 24 -gravity center \ label:'Red Hat Enterprise Linux\nStuff' \) \ -geometry +0-150 -composite \ \( -size 460x140 -font Helvetica -pointsize 24 -gravity center \ label:'Version 5.6\nx86-64' \) \ -geometry +0+150 -composite \ gif:- | display gif:- The bottom text shows it's resized larger during compositing. I'd like the two 460x150 region with a fixed sized font to be composited as is. (trimmed in length of they are too long would be fine) Any help is appreciated, Scott