{"library":"pixelsmith","type":"library","category":null,"description":"Pixelsmith, currently at version 2.6.0, functions as a Node.js-based engine for `spritesmith`, specializing in programmatically creating image composites. It leverages `get-pixels` for decoding various image formats (like PNG, JPG, GIF) and `save-pixels` for encoding the resulting canvas into output formats, primarily PNG. The library allows developers to construct an in-memory canvas, add multiple source images at specified positions, and then export the combined image as a readable stream. While specific release cadences are not documented, its integration with `spritesmith` implies ongoing maintenance for compatibility. A key differentiator is its adherence to the `spritesmith-engine-spec` version 2.0.0, providing a standardized interface for sprite generation within the `spritesmith` ecosystem, offering robust image handling capabilities crucial for build-time asset optimization.","language":"javascript","status":"active","version":"2.6.0","tags":["javascript","spritesmith","image","spritesmith-engine"],"install":[{"cmd":"npm install pixelsmith","imports":["const Pixelsmith = require('pixelsmith')","import Pixelsmith from 'pixelsmith'","canvas.addImage(img, x, y);\ncanvas.export({ format: 'png' });"]},{"cmd":"yarn add pixelsmith","imports":[]},{"cmd":"pnpm add pixelsmith","imports":[]}],"homepage":null,"github":"https://github.com/twolfson/pixelsmith","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/pixelsmith","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/pixelsmith/compatibility"},"provenance":{"verified_status":null,"verified_at":null,"last_verified":"Wed Jun 17","next_check":"Sat Jul 18","install_tag":null}}