It is currently Fri Apr 19, 2024 4:57 pm


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 95 posts ]  Go to page 1, 2, 3, 4, 5  Next
Author Message
 Post subject: Gimp 2.7 with GAP pre-installed
PostPosted: Wed Jul 20, 2011 8:15 pm  (#1) 
Offline
GimpChat Member

Joined: Apr 25, 2011
Posts: 78
Location: Taiwan
*** 2011/08/26 ***
now based on 2011/08/22 developers released version
gap update to 2.7.0
apng fixed Error loading UI's problem
==============================

This is the version that i compiled, if someone want to used
It is based on git-master June 25, 2011
GIMP-2.7.7z.001
GIMP-2.7.7z.002
Portable and 32bits only
include some plug-ins(GAP, Mathmap, ...) and scripts(may had some chinese language)
and display WARNING deprecated message at console window only

I did not test all script files
and there may have some scripts that i never used
so i can't guarantee that all scripts are working properly

You need download both files, GIMP-2.7.7z.001, GIMP-2.7.7z.002
and put them into the same directory
then use 7-Zip unzip GIMP-2.7.7z.001
7-Zip will auto search 002 and unzip it

GAP now can use mplayer base to extract video
to do this, you need to edit gimprc file in the settings folder
and add a line
(mplayer_prog "path of youe mplayer.exe")
like this
(mplayer_prog "D:\\mplayer\\mplayer.exe")

this is the source of GimpLauncher
user directory was set at "settings"
#include <windows.h>
#include <stdio.h>
#include <stdlib.h>

int        main(int argc, char *argv[])
{
    char    currDir[MAX_PATH], *s;
    char    szEnv[MAX_PATH];

    if( !GetModuleFileName(NULL, currDir, MAX_PATH) ) {
        fprintf(stderr, "Couldn't retrieve current directory!\n");
        return 1;
    }

    s = strrchr(currDir, '\\');
    if( s ) *s = 0;

    SetCurrentDirectory(currDir);

    // set user directory environment variable
    sprintf(szEnv, "%s\\settings", currDir);
    if( SetEnvironmentVariable("GIMP2_DIRECTORY", szEnv) == 0 ) {
        fprintf(stderr, "Unable to set GIMP2_DIRECTORY environment variable\n");
        return 1;
    }
    // set file search path for exe, dll
    sprintf(szEnv, "%s\\bin", currDir);
    if( SetEnvironmentVariable("PATH", szEnv) == 0 ) {
        fprintf(stderr, "Unable to set PATH environment variable\n");
        return 1;
    }
    // python path
    sprintf(szEnv, "%s\\lib\\gimp\\2.0\\python", currDir);
    if( SetEnvironmentVariable("PYTHONPATH", szEnv) == 0 ) {
        fprintf(stderr, "Unable to set PYTHONPATH environment variable\n");
        return 1;
    }

    // check start parameter, so you can use GimpLauncher to open image in file explorer
    char    fullExeName[MAX_PATH];
    sprintf(fullExeName, "%s\\bin\\gimp-2.7.exe", currDir);
    if( argc > 1 )
        sprintf(fullExeName, "%s %s", fullExeName, argv[1]);

    STARTUPINFO            si;
    PROCESS_INFORMATION pi;

    ZeroMemory(&si, sizeof(si));
    ZeroMemory(&pi, sizeof(pi));
    si.cb = sizeof(si);
    printf("\nLaunching gimp-2.7... ");

    if( !CreateProcess(NULL, fullExeName, NULL, NULL, FALSE, DETACHED_PROCESS, NULL, currDir, &si, &pi) ) {
        fprintf(stderr, "\nUnable to launch codeblocks.exe\n");
        system("pause");
        return 1;
    }

    return 0;
}


Last edited by JamesH on Thu Aug 25, 2011 10:05 pm, edited 4 times in total.

Share on Facebook Share on Twitter Share on Orkut Share on Digg Share on MySpace Share on Delicious Share on Technorati
Top
 Post subject: Re: Gimp 2.7 with GAP pre-installed
PostPosted: Wed Jul 20, 2011 10:20 pm  (#2) 
Offline
Retired Staff
User avatar

Joined: May 22, 2008
Posts: 6947
Location: Somewhere in GIMP
James, I downloaded the .001, hoping it was the portable version, but I couldn't unzip the file. It said an error occurred. It looked like another zipped file was inside the zip file.

_________________
Image
World War IV will be fought with sticks and stones. - Albert Einstein


Top
 Post subject: Re: GAP
PostPosted: Wed Jul 20, 2011 10:52 pm  (#3) 
Offline
GimpChat Member

Joined: Apr 25, 2011
Posts: 78
Location: Taiwan
You need download both files, GIMP-2.7.7z.001, GIMP-2.7.7z.002
and put them into the same directory
then use 7-Zip to decompress


Top
 Post subject: Re: GAP
PostPosted: Wed Jul 20, 2011 11:56 pm  (#4) 
Offline
Retired Staff
User avatar

Joined: May 22, 2008
Posts: 6947
Location: Somewhere in GIMP
I downloaded them both, 002 failed to open, so I downloaded it again. I can unzip 001 but 002 won't open. I get this message when I try to unzip it: Reading the archive ' ... GIMP-2.7.7z002' failed with the error 'Failed to locate program '7z in PATH.'

This is what the files look like on my desktop. The 001 looks like a regular zip file, 002 looks more like a text file.

Image

_________________
Image
World War IV will be fought with sticks and stones. - Albert Einstein


Top
 Post subject: Re: GAP
PostPosted: Thu Jul 21, 2011 1:10 am  (#5) 
Offline
GimpChat Member

Joined: Apr 25, 2011
Posts: 78
Location: Taiwan
if these two files are in the same directory
just use 7-Zip unzip 001
7-Zip will auto search 002 and unzip it


Top
 Post subject: Re: GAP
PostPosted: Thu Jul 21, 2011 1:26 am  (#6) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14709
Location: USA
Yes it works just like multi zipped RAR archives. :)
Thanks James! :)

_________________
Image
Edmund Burke nailed it when he said, "The only thing necessary for the triumph of evil is for good men to do nothing."


Top
 Post subject: Re: GAP
PostPosted: Thu Jul 21, 2011 1:39 am  (#7) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14709
Location: USA
Looks good except i will need to do some script editing to see what these menus have to say. ;)
I like how you placed your name in the export SWF menu :lol

Here are some screen shots.
Image

Image

I like how you sub divided the Filters menu for catagories...nicely done! :bigthup

_________________
Image
Edmund Burke nailed it when he said, "The only thing necessary for the triumph of evil is for good men to do nothing."


Top
 Post subject: Re: GAP
PostPosted: Thu Jul 21, 2011 3:21 am  (#8) 
Offline
GimpChat Member

Joined: Apr 25, 2011
Posts: 78
Location: Taiwan
sorry

these are just translated it to chinese language, you may delete or replace with english version
settings\plug-ins\calendar-en.py Filters/Python-Fu/XXXXXXXX
settings\scripts\sg-calendar.scm Filters/Render/XXXXXXXX
settings\scripts\fp-kaleidoscope-anim.scm Filters/Animation/XXXXXX
settings\scripts\CarTOONize.scm Filters/Artistic/XXXXX

and these files are what I wrote, if you no need, just delete these files
settings\plug-ins\ExportSWF.py File -> XXXXXX(SWFXX)
Export SWF English version

settings\plug-ins\VerticalText.py Filters/Python-Fu/XXXXX
vertical text
Image

settings\scripts\strdflash.scm Filters/Script-Fu/Logos/XXXX
Image

settings\scripts\strflash.scm Filters/Script-Fu/Logos/XXXX
Image

settings\scripts\idPhoto.scm Script-Fu/Photo/XXXXXXX
use rectangle selecti tool define a region
Image
then
Image

settings\scripts\layers-delete.scm FX-Foundry/Multi-Layer Tools/XXXXXX
start layer (x) and delete layer every (y) layer

settings\scripts\strBlinking.scm Filters/Script-Fu/Logos/XXXXXXX
Filters/Animation/XXXXXXX
English version


Top
 Post subject: Re: GAP
PostPosted: Thu Jul 21, 2011 3:25 am  (#9) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14709
Location: USA
Thanks! :)

Also ...
for some reason i can not get Filters/render/Soap Bubbles to run. :\
The filter rapid fires and then doesn't draw the image.

_________________
Image
Edmund Burke nailed it when he said, "The only thing necessary for the triumph of evil is for good men to do nothing."


Top
 Post subject: Re: GAP
PostPosted: Thu Jul 21, 2011 3:42 am  (#10) 
Offline
GimpChat Member

Joined: Apr 25, 2011
Posts: 78
Location: Taiwan
I test Filters/Render/Soap Bubble2
it say Brush Circle Fuzzy (07) is not editable
this is because 2.7 did not built-in this brush
so copy from 2.6 or make a new one
(must put it to settings\brushes folder)


Top
 Post subject: Re: GAP
PostPosted: Thu Jul 21, 2011 4:13 am  (#11) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14709
Location: USA
I tried it in Gimp POrtable 2.6.11 and it has the brush and it still does the same thing. :)
It runs lets me do the IWARP edit ,runs some more and then quits.

_________________
Image
Edmund Burke nailed it when he said, "The only thing necessary for the triumph of evil is for good men to do nothing."


Top
 Post subject: Re: GAP
PostPosted: Thu Jul 21, 2011 4:23 am  (#12) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14709
Location: USA
Works with the brush copied to Gimp-2.7.3 :bigthup
Thanks!

Image

_________________
Image
Edmund Burke nailed it when he said, "The only thing necessary for the triumph of evil is for good men to do nothing."


Top
 Post subject: Re: GAP
PostPosted: Thu Jul 21, 2011 4:39 am  (#13) 
Offline
GimpChat Member

Joined: Apr 25, 2011
Posts: 78
Location: Taiwan
You are welcome


Top
 Post subject: Re: GAP
PostPosted: Thu Jul 21, 2011 5:48 am  (#14) 
Offline
GimpChat Member
User avatar

Joined: Jan 13, 2011
Posts: 2241
Location: Poland
I noticed (so far...) in Your version that it is again:
Normalmap,
Magic Eye,
Windows Animated Cursor,
Thank You.


Attachments:
Normalmap.png
Normalmap.png [ 215.8 KiB | Viewed 1887 times ]

_________________
Image

Slava
Ukraini!
Top
 Post subject: Re: GAP
PostPosted: Thu Jul 21, 2011 6:43 am  (#15) 
Offline
GimpChat Member
User avatar

Joined: Jan 13, 2011
Posts: 2241
Location: Poland
Question to JamesH:
Your Gimp 2.7.3 also contains the scripts of L-system - so probably act - how to use them ? (this always gave me errors...)


Attachments:
L-System.png
L-System.png [ 35.77 KiB | Viewed 1877 times ]

_________________
Image

Slava
Ukraini!
Top
 Post subject: Re: GAP
PostPosted: Thu Jul 21, 2011 7:30 am  (#16) 
Offline
GimpChat Member

Joined: Apr 25, 2011
Posts: 78
Location: Taiwan
sorry, you could delete these two files l-system_v12.scm, turtle_v12.scm
i did not test all script files
and there may have some scripts that i never used
so i can't promise that all scripts work ok
sorry again


Top
 Post subject: Re: GAP
PostPosted: Thu Jul 21, 2011 7:31 am  (#17) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14709
Location: USA
JamesH wrote:
sorry

these are just translated it to chinese language, you may delete or replace with english version
settings\plug-ins\calendar-en.py Filters/Python-Fu/XXXXXXXX
settings\scripts\sg-calendar.scm Filters/Render/XXXXXXXX
settings\scripts\fp-kaleidoscope-anim.scm Filters/Animation/XXXXXX
settings\scripts\CarTOONize.scm Filters/Artistic/XXXXX

and these files are what I wrote, if you no need, just delete these files
settings\plug-ins\ExportSWF.py File -> XXXXXX(SWFXX)
Export SWF English version

settings\plug-ins\VerticalText.py Filters/Python-Fu/XXXXX
vertical text
Image

settings\scripts\strdflash.scm Filters/Script-Fu/Logos/XXXX
Image

settings\scripts\strflash.scm Filters/Script-Fu/Logos/XXXX
Image

settings\scripts\idPhoto.scm Script-Fu/Photo/XXXXXXX
use rectangle selecti tool define a region
Image
then
Image

settings\scripts\layers-delete.scm FX-Foundry/Multi-Layer Tools/XXXXXX
start layer (x) and delete layer every (y) layer

settings\scripts\strBlinking.scm Filters/Script-Fu/Logos/XXXXXXX
Filters/Animation/XXXXXXX
English version


James where can i find your plugins written in English i would like to keep them. :)

_________________
Image
Edmund Burke nailed it when he said, "The only thing necessary for the triumph of evil is for good men to do nothing."


Top
 Post subject: Re: GAP
PostPosted: Thu Jul 21, 2011 8:03 am  (#18) 
Offline
GimpChat Member
User avatar

Joined: Jan 13, 2011
Posts: 2241
Location: Poland
JamesH - once again, thank You very much.
Very nice collection of patterns, gradients and especially animated brushes.

_________________
Image

Slava
Ukraini!


Top
 Post subject: Re: GAP
PostPosted: Thu Jul 21, 2011 8:33 am  (#19) 
Offline
GimpChat Member

Joined: Apr 25, 2011
Posts: 78
Location: Taiwan
Rod wrote:
JamesH wrote:
sorry

these are just translated it to chinese language, you may delete or replace with english version
settings\plug-ins\calendar-en.py Filters/Python-Fu/XXXXXXXX
settings\scripts\sg-calendar.scm Filters/Render/XXXXXXXX
settings\scripts\fp-kaleidoscope-anim.scm Filters/Animation/XXXXXX
settings\scripts\CarTOONize.scm Filters/Artistic/XXXXX

and these files are what I wrote, if you no need, just delete these files
settings\plug-ins\ExportSWF.py File -> XXXXXX(SWFXX)
Export SWF English version

settings\plug-ins\VerticalText.py Filters/Python-Fu/XXXXX
vertical text
Image

settings\scripts\strdflash.scm Filters/Script-Fu/Logos/XXXX
Image

settings\scripts\strflash.scm Filters/Script-Fu/Logos/XXXX
Image

settings\scripts\idPhoto.scm Script-Fu/Photo/XXXXXXX
use rectangle selecti tool define a region
Image
then
Image

settings\scripts\layers-delete.scm FX-Foundry/Multi-Layer Tools/XXXXXX
start layer (x) and delete layer every (y) layer

settings\scripts\strBlinking.scm Filters/Script-Fu/Logos/XXXXXXX
Filters/Animation/XXXXXXX
English version


James where can i find your plugins written in English i would like to keep them. :)


ok, here is English version
scripts(English).zip

MareroQ wrote:
JamesH - once again, thank You very much.
Very nice collection of patterns, gradients and especially animated brushes.

You are welcome


Top
 Post subject: Re: GAP
PostPosted: Thu Jul 21, 2011 8:34 am  (#20) 
Offline
Retired Staff
User avatar

Joined: May 22, 2008
Posts: 6947
Location: Somewhere in GIMP
JamesH wrote:
if these two files are in the same directory
just use 7-Zip unzip 001
7-Zip will auto search 002 and unzip it
I've not seen one like that before. Sorry I'm so dense about it. So the first file when it unzips it opens the other in a chain reaction?

_________________
Image
World War IV will be fought with sticks and stones. - Albert Einstein


Top
Post new topic Reply to topic  [ 95 posts ]  Go to page 1, 2, 3, 4, 5  Next

All times are UTC - 5 hours [ DST ]



* Login  



Powered by phpBB3 © phpBB Group