Scripting question (how to load a .png file)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


Good morning everyone,

I'm trying to write a script that will load some graphics files.  I am 
able to use the following command on Targa files (.tga):

(gimp-file-load 1 "D:\misc\card3-01.tga" "card3-01.tga")  works fine

But when I try to do something similar with Ping (.png) files:

(gimp-file-load 1 "D:\misc\card3-01.png" "card3-01.png")

I get an error message which says "C:\gimp\gimp2.4\D:\misc\card3-
01.png" not found.  I don't know how to tell gimp to look in the 
D:\misc for my .png file.

Thanks for your time and for any help you can provide,

Peter



Photo 4 Less

[Gimp Developers]     [Gimp Users]     [Photos]     [Yosemite News]     [Yosemite Photos]    [Epson Inkjet]     [Scanner]     [Gimp's Home]     [Steve's Art]

Add to Google Powered by Linux