Skip to main content

All Questions

0 votes
1 answer
104 views

Scripting which image is active in Single Image Paint mode?

i'm doing some scripting with the texture paint mode, basically calling bpy.ops.paint.project_image on multiple layers. It's working fine, except I can't figure out ...
Joel Davis's user avatar
4 votes
1 answer
256 views

Save Edited (Texture Paint) Image Sequence

I load an image texture (of 3 frames) as a material node. I draw on all (3) frames in texture paint mode. I want to save all modified images at once, preferably with python. How can I save all images ...
Leander's user avatar
  • 27.3k
1 vote
1 answer
276 views

Fill image problem with generated_color in python, into paint workflow

After creating a new image,i know that D.images['my_image'].generated_color = (1,1,1,1) It makes the image all white, in short, it fills it ...
Noob Cat's user avatar
  • 1,269
3 votes
1 answer
408 views

How to draw text and shapes to a Texture?

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 ...
George Profenza's user avatar
0 votes
1 answer
2k views

How to get the correct size of the image texture in Blender 2.8 with python?

Mutant Bob already helped me a few years ago back when I was dealing with Blender Internal materials, but now I am stuck - how do I get the image size from the active image texture now that we are ...
Craig D Jones's user avatar