Page MenuHome
import Blender
from Blender import Image
im = Image.Load("C:\sample.tga")
min = im.getMinXY()
max = im.getMaxXY()
print(min)
print(max)
colors = im.getPixel(50, 50)
print(colors)
colors[0] = 1.0
colors[1] = 0.0
colors[2] = 0.0
colors[3] = 1.0
im.setPixel(50, 50, colors)
im.Save()

File Metadata

Mime Type
text/x-python
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
1b/59/4f67641ff712617511951c003ff3

Event Timeline