Post Reply 

ggr file created with windows batch not loading

Apr 22, 2012, 23:33 (This post was last modified: Apr 22, 2012 23:59 by tywaser.)
Post: #1
ggr file created with windows batch not loading
I want to be able to use a windows batch file to create a gradient for gimp.
my code is:
Code:
@echo off
echo All values are from 0 to 1 with 6 decimal places.
set /p name="Enter name for the gradient: "
set /p left="Location of left endpoint: "
set /p middle="Location of middle endpoint: "
set /p right="Location of right endpoint: "
set /p leftr="Left red amount: "
set /p leftg="Left green amount: "
set /p leftb="Left blue amount: "
set /p lefta="Left alpha amount: "
set /p rightr="right red amount: "
set /p rightg="right green amount: "
set /p rightb="right blue amount: "
set /p righta="right alpha amount: "
echo GIMP GradientName: %name%1%left% %middle% %right% %leftr% %leftg% %leftb% %lefta% %rightr% %rightg% %rightb% %righta% 0 0>>%name%.ggr
pause

The problem is that when I try to load the ggr file into GIMP it shows an error message saying Failed to load data: read error in line 2. Please help!
Find all posts by this user
Quote this message in a reply
Apr 23, 2012, 00:17
Post: #2
RE: ggr file created with windows batch not loading
I figured it out myself. Bye.
Find all posts by this user
Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  GIMP on Windows 10 what gives? piginhat 1 282 Sep 27, 2018 13:11
Last Post: paynekj
  The Right XP-Pen graphic tablet for Gimp/windows 10 ruijin 1 155 Sep 11, 2018 08:07
Last Post: paynekj
  How can I use GIMP to tell if a file has an embedded ICC profile or not? KAE 2 338 Mar 15, 2018 17:24
Last Post: KAE
  Gimp 2.8.22 in Windows 10: Filename issue Mona Eberhardt 3 464 Jan 28, 2018 21:16
Last Post: ythgilb
  Utility Windows Aren't Closing FantWriter 1 355 Nov 9, 2017 05:20
Last Post: paynekj

Forum Jump:


GIMP ForumPortalArchiveContactTermsRSS