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
  Abysmal performance on 2.8.14/Windows Volrath 3 231 Oct 5, 2014 10:04
Last Post: Volrath
  Calling 3rd party plugin for batch mode INV_SIG 3 169 Sep 24, 2014 09:09
Last Post: rich2005
  GIMP 2.8 file extension Alikiwi 1 242 Sep 11, 2014 05:43
Last Post: paynekj
  Gimp Crashes when: Opening A File, Creating A New File, Saving The File and exporting tomayopan 2 331 Sep 1, 2014 21:34
Last Post: tomayopan
  Missing icons v2.8.14 on Windows reyahtbor 3 349 Sep 1, 2014 07:35
Last Post: rich2005

Forum Jump:


GIMP ForumPortalArchiveContactTermsRSS