Update: committed the patch, while it’s only basic operations this makes it easier to accept improvements to the API.
Example use:
import imbuf
imb = imbuf.load("test.png")
imb.resize((30, 30))
imb.ppm = 33.0, 22.5
imbuf.write(imb, "test_out.png")
Update: committed the patch, while it’s only basic operations this makes it easier to accept improvements to the API.
Example use:
import imbuf
imb = imbuf.load("test.png")
imb.resize((30, 30))
imb.ppm = 33.0, 22.5
imbuf.write(imb, "test_out.png")