Guides integration and debugging of TJpgDec for embedded JPEG decoding on MCUs and small displays. Covers input/output callbacks, work buffer allocation, color format, scaling, and common failures.
Ships in aix-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Use this skill to integrate TJpgDec by proving the input callback, output callback, work buffer, color format, scaling, and display path. TJpgDec is small, but it still needs careful ownership of input streams and pixel blocks.
Use this skill when:
Do not use this skill when the display driver itself is not proven. Use lvgl-integration, u8g2-integration, or epd-integration as appropriate.
Ask for:
Validate the JPEG format. Confirm baseline JPEG support and reject unsupported progressive or oversized images.
Prove input callback semantics. Reads, skips, short reads, and EOF must match TJpgDec expectations.
Allocate the work buffer deliberately. Keep the buffer aligned and sized for the selected build and platform.
Match output color. Convert RGB/BGR, RGB565 endian, grayscale, and alpha assumptions at the output boundary.
Clip and scale safely. Handle destination rectangles, scaling factors, and display bounds before pushing pixels.
Test multiple asset shapes. Include tiny, wide, tall, odd-sized, and maximum-resolution images.
Before claiming JPEG decode works:
User:
TJpgDec 图片能解码但颜色不对。
Agent:
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
tjpgdec, embedded-jpeg, mcu-display, memory-constrained, jpeg-decoding
/aix-skills:tjpgd-integrationfrom aix-skills
npx claudepluginhub easyzoom/aix-skills --plugin aix-skills76 skills in this plugin
/8051-mcu-debugUse when debugging 8051-compatible microcontrollers, 51 MCU firmware, STC download issues, Keil C51 projects, interrupts, timers, UART, or startup failures/avem-integrationUse when integrating, evaluating, configuring, or debugging Avem embedded C framework modules, event-driven components, drivers, middleware, or application architecture/battery-charger-fuel-gauge-integrationUse when integrating or debugging Li-ion charger/fuel gauge ICs (BQ24295, BQ27441, MAX17048) over I2C, covering charge start, watchdog host mode, NTC/JEITA faults, and SOC jumps/ble-gatt-integrationUse when integrating, designing, or debugging BLE GATT services, characteristics, descriptors, MTU, notifications, indications, pairing, connection parameters, or throughput/bootloader-debugUse when debugging embedded bootloaders, application jumps, vector table offsets, firmware upgrade flow, OTA state, image validation, rollback, or boot selection failures/canbus-integrationUse when integrating, porting, configuring, or debugging CAN bus libraries, CANBus-Triple, MCP2515, CAN frames, bit timing, filters, or embedded automotive communicationOther plugins' skills for the same job