home/categories/media/ecnu-icalk-autoskill-skillbank-convskill-english-gpt4-8-c-cimage-save-translated-components-skill-md
mediacontent-media

c-cimage-save-translated-components

Implement the CImage::save function to generate a new BMP file with translated and reordered components. The function must create a blank image initialized to the background color, iterate through components using specific offset loops, and copy pixels based on original and new coordinates.

ECNU-ICALK
maintainer
ECNU-ICALK
更新于 3/16/2026
星标
304
分支
34
quick start

Installation and usage

Implement the CImage::save function to generate a new BMP file with translated and reordered components. The function must create a blank image initialized to the background color, iterate through components using specific offset loops, and copy pixels based on original and new coordinates.

安装
$ install --globalskills.sh
使用

安装后,您可以通过在终端运行以下命令来使用此技能:

skills use c-cimage-save-translated-components