home/categories/media/ecnu-icalk-autoskill-skillbank-convskill-english-gpt3-5-8-glm4-7-python-image-downsampling-with-color-voting-skill-md
mediacontent-media
python-image-downsampling-with-color-voting
Implement a Python script to downsample an image by processing 4x4 pixel blocks. Each pixel in a block votes for the closest color in a colormap, and the block is filled with the most voted color.
maintainer
ECNU-ICALK
अपडेट किया गया 3/13/2026
स्टार
304
फोर्क
34
quick start
Installation and usage
Implement a Python script to downsample an image by processing 4x4 pixel blocks. Each pixel in a block votes for the closest color in a colormap, and the block is filled with the most voted color.
इंस्टॉलेशन
$ install --globalskills.sh
उपयोग
इंस्टॉल करने के बाद, आप टर्मिनल में यह कमांड चलाकर इस स्किल का उपयोग कर सकते हैं:
skills use python-image-downsampling-with-color-voting