Skill
images-and-pixels
Create and edit bpy.types.Image pixel buffers from Python: bpy.data.images.new, Image.pixels bulk access with foreach_get/foreach_set, the flat always-RGBA bottom-left-origin layout, byte vs float_buffer storage, colorspace_settings, and saving PNG vs OpenEXR with alpha through Image.save (filepath_raw, file_format) vs Image.save_render (scene render.image_settings). Use when the user writes or reads image pixels, gets TypeError from pixels.foreach_set or foreach_get, sees an image flip upside down, finds pixels changed after Image.save() (source becomes FILE; a float image also drops its buffer), gets a float PNG with dark low-alpha pixels blown to white, an EXR that lost its alpha, or a save_render that ignored image.file_format. Targets 5.2 LTS with 4.5 LTS fallback.
Bundled with Blender Developer Tools. Its trust score, security findings and other files are on the plugin page.
SKILL.md
- Path
- skills/images-and-pixels/SKILL.md
- Size
- 12 KB
- SHA-256
- c4b4a3c1ca0f3d0a49218b4a8726598681aefeb7ad487e135b858754dc758f0e
Install
Install the plugin's skills with the Skills CLI:
npx [email protected] add TMHSDigital/Blender-Developer-Tools