Python in FL5, Image and Trace.
Jeremy Dooley
Posts: 67
I'm having difficulty with adding an image to the background layer. I can create the image no problem with g.Rasterize(imagexyz), but I don't see anything about adding it to the glyph again.
I'm doing some stuff with PIL, but I can't even get that far until I can add the image to the glyph to trace it.
Trace(imagexyz) does not work. It appears there is a bug with Trace.
relevant documentation:
Any help is appreciated. Thank you,
Jdooley
Jdooley
0
Comments
-
Here's the way:
imagexyz.Trace(g)
0 -
Yeah, so this works, but the traced image gets put at (0,0)I thought about adding a pixel to fix the sidebearings, but glyphs with descenders get put in at 0,0 as well. Any ideas on how to fix this?Manually tracing a background image works fine and inserts the trace results exactly where they should go.0
Categories
- All Categories
- 43 Introductions
- 3.7K Typeface Design
- 798 Font Technology
- 1K Technique and Theory
- 617 Type Business
- 444 Type Design Critiques
- 541 Type Design Software
- 30 Punchcutting
- 136 Lettering and Calligraphy
- 83 Technique and Theory
- 53 Lettering Critiques
- 483 Typography
- 301 History of Typography
- 114 Education
- 68 Resources
- 498 Announcements
- 79 Events
- 105 Job Postings
- 148 Type Releases
- 165 Miscellaneous News
- 269 About TypeDrawers
- 53 TypeDrawers Announcements
- 116 Suggestions and Bug Reports