Google Answers Logo
View Question
 
Q: Scripting in Script-Fu for GIMP ( No Answer,   0 Comments )
Question  
Subject: Scripting in Script-Fu for GIMP
Category: Computers > Graphics
Asked by: syracusedave-ga
List Price: $5.00
Posted: 26 Sep 2005 10:42 PDT
Expires: 27 Sep 2005 10:15 PDT
Question ID: 572828
I am learning to write scripts for Script-Fu in Gimp. I've managed to
load an image from my hard drive using "file-jpeg-load". However, I
cannot figure out how to display the image. Could somebody write a
short Script-Fu script that loads an image from the hard drive and
then displays it?

Clarification of Question by syracusedave-ga on 26 Sep 2005 14:43 PDT
More specifically, why doesn't this work:


(define (script-fu-add-corners2 infile)
  (let
    (theImage (car (file-jpeg-load 1 infile infile)))
    (gimp-display-image-new theImage)
  )
)

(script-fu-register
"script-fu-add-corners2"
"<Toolbox>/Xtns/Script-Fu/DK's Stuff/Add Corners 2"
"Adds corners"
"D Kotch"
"Copyright 2005, D Kotch"
"September 24, 2005"
""
SF-FILENAME "FileName" "C:/Program
Files/GIMP-2.0/share/gimp/2.0/scripts/IMG_1322.jpg")
Answer  
There is no answer at this time.

Comments  
There are no comments at this time.

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy