Env:
python - 3.6.6
Wand - 0.5.7
Code example:
Part of this file
from wand import image
with image.Image(filename='example_32_on_32_px.png') as img:
img.compression = 'dxt3'
img.save(filename='output.dds')
It will produce output.dds
which contains 5 mipmaps (16px, 8px, 4px, 2px, 1px).
I found CLI example for ImageMagic how to disable creation of mipmaps for output dds files -> this answer
But I need to do same using python and Wand.
Question:
How to prevent / avoid / disable / delete mipmaps in output file using Wand
library and python.