It is currently Tue Jun 09, 2026 9:26 pm


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 295 posts ]  Go to page Previous  1 ... 9, 10, 11, 12, 13, 14, 15  Next
Author Message
 Post subject: Re: ShellOut.py (was XNViewShell) - Call external programs
PostPosted: Tue Jun 19, 2012 12:11 am  (#221) 
Offline
GimpChat Member
User avatar

Joined: Sep 24, 2010
Posts: 12775
I can't get shellout to call Delaboratory. My entry is below; tell me what I'm doing wrong please or is it just plain not compatible with GIMP 2.8. :)

["Delaboratory", "\"C:\\Program Files\\Delaboratory\\delaboratory.exe\"", "tiff"],

_________________
Lyle

Psalm 109:8

Image


Top
 Post subject: Re: ShellOut.py (was XNViewShell) - Call external programs
PostPosted: Tue Jun 19, 2012 2:31 am  (#222) 
Offline
GimpChat Member
User avatar

Joined: Nov 16, 2011
Posts: 5127
Location: Metro Vancouver, BC
Lyle, I tried everything to make it work. I tried Delaboratory-0.7 and 0.7.3.1. I tried changing the tiff and jpg extensions in the script. I even tried ShellOut to Irfranview to Delabratory, no go. Although I could use Delabratory as an external editor direct from Irfranview or FastStone (no shellout file involved) no problem.

If a file was opened in Delabratory first I could not send it to Gimp either. So I can only guess Delabratory and Gimp are not playing nice either way for some unknown reason.

_________________
Image
Gimp 2.8.18, Linux, median user
Gimp Chat Tutorials Index
Spirit Bear (Kermode)


Top
 Post subject: Re: ShellOut.py (was XNViewShell) - Call external programs
PostPosted: Tue Jun 19, 2012 3:12 am  (#223) 
Offline
Script Coder
User avatar

Joined: Jun 22, 2010
Posts: 1171
Location: Here and there
I was curious about why you would have a problem calling Delaboratory, so I looked at the web-site to see if there was some extra command line option you needed, but I saw this comment:
Quote:
features to implement after 0.8:
integration with G'MIC
local changes (painting on mask)
GTK+ (and maybe QT) version
command line version (for batch processing)

and as I couldn't see any other reference to command line operation, I'm not convinced this is possible. :(


Top
 Post subject: Re: ShellOut.py (was XNViewShell) - Call external programs
PostPosted: Tue Jun 19, 2012 9:58 am  (#224) 
Offline
Global Moderator
User avatar

Joined: May 16, 2010
Posts: 16023
It will work if you save the temp as a jpg.
  ["Delaboratory", "\"C:\\Program Files\\Delaboratory\\delaboratory.exe\"", "jpg"], 


However it will return the layer with no transparency, and a black bg fill if the original is a rendered image with transparency.

_________________
Image


Top
 Post subject: Re: ShellOut.py (was XNViewShell) - Call external programs
PostPosted: Tue Jun 19, 2012 10:14 am  (#225) 
Offline
GimpChat Member
User avatar

Joined: Sep 24, 2010
Posts: 12775
Thanks for the added info folks. Might try the jpeg option later Rod, but that would be sad since it will be lossy (not too concerned with transparancies since for any conceivable edits with it, it will be for photo). :)

_________________
Lyle

Psalm 109:8

Image


Top
 Post subject: Re: ShellOut.py (was XNViewShell) - Call external programs
PostPosted: Tue Jun 19, 2012 10:22 am  (#226) 
Offline
Global Moderator
User avatar

Joined: May 16, 2010
Posts: 16023
I changed the image type to tiff and opened a TIFF image in Gimp and tried ShellOut>Delaboratory with it...and that worked.It exported the image into Delab and back with transparency. :)
  ["Delaboratory", "\"C:\\Program Files\\Delaboratory\\delaboratory.exe\"", "tiff"],

_________________
Image


Top
 Post subject: Re: ShellOut.py (was XNViewShell) - Call external programs
PostPosted: Tue Jun 19, 2012 10:25 am  (#227) 
Offline
GimpChat Member
User avatar

Joined: Sep 24, 2010
Posts: 12775
Me too Rod. I guess I can go to the location of the png, save it as tiff, open the resulting tif file and do the Delaboratory updates, change it back to png, then close Delaboratory in Shellout, but what a pain that would be. lol

:)

_________________
Lyle

Psalm 109:8

Image


Top
 Post subject: Re: ShellOut.py (was XNViewShell) - Call external programs
PostPosted: Tue Jun 19, 2012 10:44 am  (#228) 
Offline
GimpChat Member
User avatar

Joined: Jan 13, 2011
Posts: 2639
Location: Poland
Important question - which version do you use ShellOut?
The http://registry.gimp.org/ an old version 0.5
Delabolatory works only with version ShellOut 0.7 - for download only from GimpChat:
http://www.gimpchat.com/download/file.php?id=4601
It works well for GIMP 2.8 on XP 32 bit and Ubuntu 12.04 64bit

_________________
Image


Top
 Post subject: Re: ShellOut.py (was XNViewShell) - Call external programs
PostPosted: Tue Jun 19, 2012 10:45 am  (#229) 
Offline
GimpChat Member
User avatar

Joined: Sep 24, 2010
Posts: 12775
Now, I'll try that Rod; at least the image results will be lossless and this option is only a minor inconvenience. I though, though, that when you choose the option with Shellout, that it would save the image result in that format for processing, but I, obviously, was wrong. Maybe a better explanation of the additional pipes in Shellout needs to be explained. Again, that's for sharing the results of your additional experiments Rod. :)

_________________
Lyle

Psalm 109:8

Image


Top
 Post subject: Re: ShellOut.py (was XNViewShell) - Call external programs
PostPosted: Tue Jun 19, 2012 10:50 am  (#230) 
Offline
GimpChat Member
User avatar

Joined: Sep 24, 2010
Posts: 12775
Well, just tried doing what you outlined Rod, and, it still gives the shelloutpath.png file which Delaboratory can't open of course. Oh well. Maybe if Delaboratory can be coaxed to open PNG format, this issue will be resolved. Not sure why shellout is still passing a png file with the pipe specifically get's changed to tiff. Again, I need a better explanation of shellout pipes; too lazy to view the code to figure out what's going on myself. :)

_________________
Lyle

Psalm 109:8

Image


Top
 Post subject: Re: ShellOut.py (was XNViewShell) - Call external programs
PostPosted: Tue Jun 19, 2012 10:57 am  (#231) 
Offline
GimpChat Member
User avatar

Joined: Jan 13, 2011
Posts: 2639
Location: Poland
Please check the version ShellOut.
That's a lot to explain.

_________________
Image


Top
 Post subject: Re: ShellOut.py (was XNViewShell) - Call external programs
PostPosted: Tue Jun 19, 2012 11:23 am  (#232) 
Offline
GimpChat Member
User avatar

Joined: Sep 24, 2010
Posts: 12775
Thanks for pointing that out MareroQ; I, indeed, had version .4 and needed version .5 but now I get this error with Delaboratory (and even after opening a tif file like Rod outlined). :)


Attachments:
still_issue.png
still_issue.png [ 19.43 KiB | Viewed 4865 times ]

_________________
Lyle

Psalm 109:8

Image
Top
 Post subject: Re: ShellOut.py (was XNViewShell) - Call external programs
PostPosted: Tue Jun 19, 2012 11:25 am  (#233) 
Offline
GimpChat Member
User avatar

Joined: Sep 24, 2010
Posts: 12775
Just to add, I did open the resulting tif file in Irfanview and, despite the .tiff extention, Irfanview said that it is still a PNG file and additionally asked if I want to save it as a PNG. So the problem is somehow still with how shellout exports file type. :)

_________________
Lyle

Psalm 109:8

Image


Top
 Post subject: Re: ShellOut.py (was XNViewShell) - Call external programs
PostPosted: Tue Jun 19, 2012 11:31 am  (#234) 
Offline
GimpChat Member
User avatar

Joined: Jan 13, 2011
Posts: 2639
Location: Poland
ShellOut version must be 0.7 - otherwise it does not work

_________________
Image


Top
 Post subject: Re: ShellOut.py (was XNViewShell) - Call external programs
PostPosted: Tue Jun 19, 2012 11:33 am  (#235) 
Offline
GimpChat Member
User avatar

Joined: Sep 24, 2010
Posts: 12775
I guess I need to visit RobA's site since only 0.5 (released in April) is available at the Registry. Thanks for the extra info MareroQ; will look for 0.7. :)

_________________
Lyle

Psalm 109:8

Image


Top
 Post subject: Re: ShellOut.py (was XNViewShell) - Call external programs
PostPosted: Tue Jun 19, 2012 11:44 am  (#236) 
Offline
GimpChat Member
User avatar

Joined: Sep 24, 2010
Posts: 12775
OK; I've tried to find 0.7 of shellout but can't MareroQ; have a link by chance? :)

_________________
Lyle

Psalm 109:8

Image


Top
 Post subject: Re: ShellOut.py (was XNViewShell) - Call external programs
PostPosted: Tue Jun 19, 2012 1:01 pm  (#237) 
Offline
GimpChat Member
User avatar

Joined: Nov 16, 2011
Posts: 5127
Location: Metro Vancouver, BC
Try the second link here.
viewtopic.php?f=9&t=970&start=220#p56490

_________________
Image
Gimp 2.8.18, Linux, median user
Gimp Chat Tutorials Index
Spirit Bear (Kermode)


Top
 Post subject: Re: ShellOut.py (was XNViewShell) - Call external programs
PostPosted: Tue Jun 19, 2012 1:10 pm  (#238) 
Offline
Script Coder
User avatar

Joined: Jul 14, 2010
Posts: 697
Thanks for the wake-up!

I've updated the version at the GPR http://registry.gimp.org/node/24977 to be the latest version to fix the "saving non-png files as png files with the wrong extension" bug.

Sorry for the confusion this has caused.

-Rob A>

_________________
Image
Fantasy Cartography and Mapping by RobA


Top
 Post subject: Re: ShellOut.py (was XNViewShell) - Call external programs
PostPosted: Tue Jun 19, 2012 1:33 pm  (#239) 
Offline
GimpChat Member
User avatar

Joined: Sep 24, 2010
Posts: 12775
Thanks a heap Rob; that fixed this issue. :)

_________________
Lyle

Psalm 109:8

Image


Top
 Post subject: Re: ShellOut.py (was XNViewShell) - Call external programs
PostPosted: Tue Jun 19, 2012 3:38 pm  (#240) 
Offline
GimpChat Member
User avatar

Joined: Nov 16, 2011
Posts: 5127
Location: Metro Vancouver, BC
Great Rob. Delaboratory 0.7.3.1, Gimp 2.8 and Vista32 works both ways using ShellOut :yes

===
I'm still having a problem sending to Gimp 2.8 from Delaboratory 0.7.3.1, if I first open an image in Delaboratory, so I'll not do that again unless anyone has any ideas? The following error message comes up in Delaboratory trying to send, jpg, tiff and raw. The only difference in the error messages is the file name, the extension is always .tiff.


Attachments:
File comment: Delaboratory Error
delaboratory-Error-2012-06-19_132705.png
delaboratory-Error-2012-06-19_132705.png [ 8.69 KiB | Viewed 5237 times ]

_________________
Image
Gimp 2.8.18, Linux, median user
Gimp Chat Tutorials Index
Spirit Bear (Kermode)
Top
Post new topic Reply to topic  [ 295 posts ]  Go to page Previous  1 ... 9, 10, 11, 12, 13, 14, 15  Next

All times are UTC - 5 hours [ DST ]



* Login  



Powered by phpBB3 © phpBB Group