Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ; This is a script for The GIMP
- ;
- ; Description: see below
- ;
- ; Version 1.0
- ; Last changed: 26.08.2012
- ;
- ; Copyright (C) 2012 Dr. Stoyan Deckoff <deckoff@gmail.com>
- ;
- ; --------------------------------------------------------------------
- ;
- ; This program is free software; you can redistribute it and/or modify
- ; it under the terms of the GNU General Public License as published by
- ; the Free Software Foundation; either version 2 of the License, or
- ; (at your option) any later version.
- ;
- ; This program is distributed in the hope that it will be useful,
- ; but WITHOUT ANY WARRANTY; without even the implied warranty of
- ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- ; GNU General Public License for more details.
- ;
- ; You should have received a copy of the GNU General Public License
- ; along with this program; if not, write to the Free Software
- ; Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
- ;
- (define (script-mr-magic img draw)
- (gimp-context-set-background '( 0 0 0))
- (gimp-image-set-resolution img 300 300)
- (gimp-image-scale img 673 954)
- (gimp-image-resize img 750 1044 42 46)
- (gimp-image-flatten img)
- (gimp-displays-flush)
- )
- (script-fu-register
- "script-mr-magic"
- "<Image>/Tools/Magic the Gathering"
- "Magic Cards - set correct parameters for printing and add black border, the image must be cropped first"
- "Stoyan Deckoff <deckoff@gmail.com>"
- "Stoyan Deckoff"
- "25/08/2012"
- "RGB* GRAY*"
- SF-IMAGE "Image" 0
- SF-DRAWABLE "Drawable" 0
- )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement