Using Python I'm trying to generate a texture with a few lines and text.
I've got a proof of concept using Pillow and a function to convert from PIL Image to Blender Image, but I would like to avoid having the extra dependency.
Is there a built-in 2D Graphics API I could use to draw shapes and rasterise/sample pixels for a texture ?
I had a look at the Grease Pencil API which looks great for drawing. Would it be possible to get an Image/pixels from Grease Pencil ? If so, how ?