It is currently Sun Jun 30, 2024 5:58 am


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Extended version ShellOut.
PostPosted: Sat Dec 21, 2019 6:53 am  (#1) 
Offline
GimpChat Member
User avatar

Joined: Jan 13, 2011
Posts: 2260
Location: Poland
Sometimes it is necessary to run the second version of Gimp with other parameters (see some options in the file New-instance-Gimp.bat) or in another graphic editor.
The solution to this problem is ShellOut.py
viewtopic.php?f=9&t=970

It's just a more extensive ShellOut.

Three plugins for Gimp-2.10 for opening layers in:
- Gimp "File -> Export to Gimp" (new-instance or with other parameters),
- Krita "File -> Export to Krita" (i mainly for CMYK),
https://krita.org/en/
- PaintdotNet "File -> Export to PaintdotNet" (i mainly for effects ~ > 700).
https://forums.getpaint.net/topic/15260-plugin-index/

You can use the xcf format to open layers in another graphic editor.
The limitation is that Gimp< 2.9, Krita, PaintdotNet do not open xcf files in version 11-xcf (with new layer modes) - so before export they will be converted to the old Mode: Normal-Legacy.

In case of Gimp-2.xx edit the file "plug-ins\Export_to_Gimp\New-instance-Gimp.bat" to give the correct path to bin/gimp-2.xx.exe.

For Windows, if you choose the "Edit bat file?" - YES - this file will open in Notepad2 (also attached).
To check the correctness of the settings - you can double click on the bat file to launch Gimp with your selected options.

For Linux, I can't test (I don't know if it's good - but I assumed in Gedit - line 76) so you can choose "Edit bat file?" - NO and edit manually in the selected text editor.

For the portable by Samj version it will not use the Preferences directory.
This will create a directory c:\Users\...your name...\.gimp-2.xx for Gimp < 2.9 or c:\Users\...your name...\AppData\Roaming\GIMP\2.xx for Gimp > 2.8.


Attachments:
Edit line 5 and 7.png
Edit line 5 and 7.png [ 25.3 KiB | Viewed 4489 times ]
Extended version ShellOut-in Gimp-2.10.14 to Gimp-2.2.png
Extended version ShellOut-in Gimp-2.10.14 to Gimp-2.2.png [ 216.46 KiB | Viewed 4489 times ]
plug-ins-export_to.zip [310.64 KiB]
Downloaded 217 times

_________________
Image

Slava
Ukraini!
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: Extended version ShellOut.
PostPosted: Sat Dec 21, 2019 10:40 pm  (#2) 
Offline
GimpChat Member
User avatar

Joined: Jan 13, 2011
Posts: 2260
Location: Poland
Just a few minor notes:

- selecting any language for the newly opened Gimp works if it has the language set to:
Language: System Laguage.

- for Portable by Partha version - sample call:
"d:\Gimp-2.10.12-64bit\portgimp-2.10.12.exe" -n% 1

works using the "portable" directory (you do not need to specify gimp.exe in the "bin" directory)

- PaintDotNet is a very interesting program but only for Windows.

- calling Krita and PaintDotNet does not require editing any file - just indicate the executable program in the plugin window.


Attachments:
User interface.png
User interface.png [ 26.39 KiB | Viewed 4438 times ]
Executable file.png
Executable file.png [ 24.64 KiB | Viewed 4438 times ]

_________________
Image

Slava
Ukraini!
Top
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


   Similar Topics   Replies 
No new posts Installing the Mac version of G'MIC

1

No new posts G'MIC version: 2.9.1 not working...?

2

No new posts G'MIC pre-release version 2.8.3

6

No new posts Attachment(s) New update: color_bevel_text.py version 2

30

No new posts Attachment(s) BIMP on new GIMP version

9



* Login  



Powered by phpBB3 © phpBB Group