2011年6月14日火曜日

GIMPPortable で eps ファイルを開く そのに

どらいぶれたー

を書くなんて,すまーとぢゃないよね。

GIMPPortable.ini

GIMPPortable\Other\Source には GIMPPortable.ini ってファイルがある。くわしくは同じディレクトリにある Readme.txt を読んでもらうとして。

この GIMPPortable.iniGIMPPortable …ええと,GIMPPortable.exe のあるディレクトリにコピーして編集。

--- P:/PortableApps/GIMPPortable/Other/Source/GIMPPortable.ini    Tue Aug 26 03:25:22 2008
+++ P:/PortableApps/GIMPPortable/GIMPPortable.ini    Tue Jun 14 18:27:02 2011
@@ -2,7 +2,7 @@
 GIMPDirectory=App\gimp
 GTKDirectory=NONE
 SettingsDirectory=Data\settings
-GIMPExecutable=gimp-2.4.exe
+GIMPExecutable=..\..\..\gimpportableRun.cmd

 AdditionalParameters=

 # This is an example INI and will not work from it's present location.

gimpportableRun.cmd

GIMPPortable.ini と同じディレクトリに,gimpportableRun.cmd を作成。

SET GS_PROG=..\..\..\..\CommonFiles\GhostScript\gs9.02\bin\gswin32.exe
SET GS_DLL=..\..\..\..\CommonFiles\GhostScript\gs9.02\bin\gsdll32.dll
SET GS_LIB=..\..\..\..\CommonFiles\GhostScript\gs9.02\Resource\Init;..\..\..\..\CommonFiles\GhostScript\gs9.02\Resource;..\..\..\..\CommonFiles\GhostScript\gs9.02\lib;..\..\..\..\CommonFiles\GhostScript\gs9.02\kanji;..\..\..\..\CommonFiles\GhostScript\fonts;C:\WINDOWS\fonts
 
START gimp-2.6.exe
カレントディレクトリが GIMPPortable\App\gimp\bin なもんだから,なんだかそうぜつだねぇ。

あとはいつもどおり,GIMPPortable.exe を起動すればいいよ。

0 件のコメント: