1
$\begingroup$

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?

$\endgroup$
1

1 Answer 1

2
$\begingroup$

Asked many times

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
$\endgroup$

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .