Skip to content

Instantly share code, notes, and snippets.

@PET-HAL
Created July 30, 2017 08:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save PET-HAL/11df8a95b03e9b37b35cc967e015cd40 to your computer and use it in GitHub Desktop.
Save PET-HAL/11df8a95b03e9b37b35cc967e015cd40 to your computer and use it in GitHub Desktop.
ダンエボのプレーシェア画像(iPhone5sでスクリーンショットした画像)をいい感じに切り抜くGIMPプラグイン
#!/usr/bin/env python
from gimpfu import *
def plugin_main(img, layer):
pdb.gimp_image_crop(img, 582, 872, 29, 128)
register(
"python_fu_crop_danevo_playshare",
"crop the DanEvo Playshare",
"crop the DanEvo Playshare",
"HAL",
"HAL",
"2017/07/23",
"<Image>/Image/Crop DanEvo Playshare",
"*",
[],
[],
plugin_main)
main()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment