Skip to content

Instantly share code, notes, and snippets.

@bkofford
Created August 28, 2013 20:22
Show Gist options
  • Save bkofford/6370739 to your computer and use it in GitHub Desktop.
Save bkofford/6370739 to your computer and use it in GitHub Desktop.
Crops the window frame off of a screencap of an ActiveSync Remote Display window pasted into Gimp.
(define (script-fu-crop-ASRDisp-320x240 inIMG)
(gimp-image-crop inIMG 320 240 4 42)
)
(script-fu-register
"script-fu-crop-ASRDisp-320x240" ;func name
"Crop ASRDisp 320x240" ;menu label
"Crops screen cap of ASRDisp window for 320x240 devices" ;description
""
""
""
""
SF-IMAGE "Image" 0
)
(script-fu-menu-register "script-fu-crop-ASRDisp-320x240" "<Image>/Crop")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment