# GIMP 實用技巧 ### 縮減gif layers數量 :::success 1. 打開python console * Filters -> Python-Fu -> Console 2. ```python image = gimp.image_list()[0] for (index,layer) in enumerate(image.layers): if not index%3: image.remove_layer(layer) ``` 參考資料 https://superuser.com/a/1565742 ::: ###### tags: `教學`