I'm new to blender.
I have a big .blend file and I need to decrease the size of the textures. How can I do it programmatically?
Blender Stack Exchange is a question and answer site for people who use Blender to create 3D graphics, animations, or games. It only takes a minute to sign up.Sign up to join this community
To quickly scale all images in .blend to given size:
import bpy for img in bpy.data.images: try: # for empty render result image, etc. img.scale(512, 512) # (width, height) except: pass