GIMP Chat http://gimpchat.com/ |
|
ShellOut.py (was XNViewShell) - Call external programs http://gimpchat.com/viewtopic.php?f=9&t=970 |
Page 4 of 15 |
Author: | Rod [ Mon Jan 17, 2011 10:53 am ] |
Post subject: | Re: XNViewShell |
Well that's okay i like Deep Paint's filter menu better. (works like Gimps) Thanks though PM. ![]() |
Author: | mahvin [ Wed Jan 19, 2011 2:53 pm ] |
Post subject: | Re: XNViewShell |
Hey Rob: I finally managed to get this script loaded on my Ubuntu 64 machine and this was the result: Traceback (most recent call last): File "/usr/lib/gimp/2.0/python/gimpfu.py", line 692, in response dialog.res = run_script(params) File "/usr/lib/gimp/2.0/python/gimpfu.py", line 353, in run_script return apply(function, params) File "/home/mahvin/.gimp-2.6/plug-ins/XNViewShell.py", line 74, in plugin_main pdb.file_png_save_defaults(tempimage, tempdrawable, tempfilename, tempfilename) error: procedure not found UPDATE: The link you offer on the Registry to the file for Linux is actually the wrong file. I borrowed the correct one from my laptop because you changed all the zips in this thread. But just to avoid confusing anyone I will point you to the code of significance here: http://gimpchat.com/viewtopic.php?f=9&t ... =20#p10508 The tempfilename has to be declared for XnView as noted in the command seen on that post. The new zips seem to cover Windows only. |
Author: | MareroQ [ Wed Jan 19, 2011 3:28 pm ] |
Post subject: | Re: XNViewShell |
Maybe the point is that APNG is installed - there is a conflict So I had in XP - until you restored png Traceback (most recent call last): File "C:\Program Files\GIMP-2.0\lib\gimp\2.0\python\gimpfu.py", line 692, in response dialog.res = run_script(params) File "C:\Program Files\GIMP-2.0\lib\gimp\2.0\python\gimpfu.py", line 353, in run_script return apply(function, params) File "C:\Documents and Settings\MarQ\.gimp-2.7\plug-ins\XNViewShell_PL.py", line 74, in plugin_main pdb.file_png_save_defaults(tempimage, tempdrawable, tempfilename, tempfilename) error: procedure not found |
Author: | mahvin [ Wed Jan 19, 2011 3:43 pm ] |
Post subject: | Re: XNViewShell |
MareroQ: You were actually right on the money about APNG, I had to move file-png back into the plug-ins folder in order to get it to work, but the actual zip file Rob links to on the Registry (for Linux users) will not work because it's coded for Windows. Linux users need this code: Code: Select all |
Author: | PhotoMaster [ Thu Jan 20, 2011 10:28 pm ] | ||
Post subject: | Re: XNViewShell | ||
My Deep Paint code decided to stop working on me. I'm not sure why, but I'm still playing with it. I also modified a copy for IrfanView. Now this is where things get wierd. When I run my NIK ColorEfex Pro plugin with PSPI, it runs ok as long as the image has no alpha channel. If there is an alpha channel, the image becomes just an empty image. If I run the same filter in XnView, it just get's scrambled regardless of alpha channel. The filter works correctly in IrfanView, but IrfanView doesn't return the image. I can copy the image in IrfanView and paste it in Gimp, and that works. This all has me incredibly confused. I tested it with my generic test image and this is what I got. The IrfanView and PSPI images are correct.
|
Author: | PhotoMaster [ Thu Jan 20, 2011 10:31 pm ] |
Post subject: | Re: XNViewShell |
Oh yeah, I forgot to mention that when I run Deep Paint on an image and use the NIK plugin, Deep Paint blows up completely. Photobie runs the plugin but doesn't actually apply it to the image. |
Author: | lylejk [ Fri Jan 21, 2011 1:20 am ] |
Post subject: | Re: XNViewShell |
Not sure, but I believe when you open the image in Irfanview, it strips the alpha channel so that is why you get a clean instead of garbaged result. ![]() |
Author: | MareroQ [ Fri Jan 21, 2011 11:53 am ] | |||
Post subject: | Re: XNViewShell | |||
Question : " The filter works correctly in IrfanView, but IrfanView doesn't return the image" ? IrfanView return the image to Gimp including alpha channel !
|
Author: | Rod [ Fri Jan 21, 2011 1:00 pm ] |
Post subject: | Re: XNViewShell |
its all weird =) |
Author: | MareroQ [ Fri Jan 21, 2011 1:49 pm ] | ||||
Post subject: | Re: XNViewShell | ||||
Insisted on the application Impresjonist. 8bf in Ubuntu - and it is possible
|
Author: | PhotoMaster [ Fri Jan 21, 2011 1:51 pm ] |
Post subject: | Re: XNViewShell |
It does everything it's supposed to do, except return the image. It says it saved but Gimp never sees it. |
Author: | MareroQ [ Fri Jan 21, 2011 2:06 pm ] |
Post subject: | Re: XNViewShell |
Sorry for my english- still learning - but scroll Irfan 3.png in Ubuntu, however, suggests that such |
Author: | PhotoMaster [ Fri Jan 21, 2011 3:22 pm ] |
Post subject: | Re: XNViewShell |
It appears that the Irfanview script, and Irfanview, saves the resulting image but Gimp isn't loading it. I did a line by line comparison of the XnView script and the Irfanview script and they are the same except for the path and program name. I am confuuuuused. |
Author: | MareroQ [ Fri Jan 21, 2011 4:37 pm ] |
Post subject: | Re: XNViewShell |
I did the same thing but I had a mechanical errors when: the path and program name: in Windows: command = "\"C:\\Program Files\\IrfanView\\Irfanview.exe\" \"" + tempfilename + "\"" - no command = "\"C:\\Program Files\\IrfanView\\i_view32.exe\" \"" + tempfilename + "\"" - yes In IrfanView: Save as - no Save (original folder) - yes And nothing more to work ... each computer is different ? |
Author: | MareroQ [ Thu Feb 03, 2011 4:54 pm ] | ||||
Post subject: | Re: XNViewShell | ||||
In Linux works great plugin plugin-trace.py (in Windows for me, broken) http://registry.gimp.org/node/21349 Png files using XNViewShell can be processed in Inkscape (Shell_Inkscape in annexes) Does anyone know if how to export (using xnviewshel) svg from Gimp to Inkscape?
|
Author: | lylejk [ Thu Feb 03, 2011 8:54 pm ] |
Post subject: | Re: XNViewShell |
When I went from WinXP to Win7 64-bit, Autotrace no longer worked (still works in my XP VM though). I have no idea why it doesn't work. Potrace still does work though. They have not updated Autotrace for a long time, and am not holding my breath that they will. ![]() |
Author: | PhotoMaster [ Thu Feb 03, 2011 9:12 pm ] |
Post subject: | Re: XNViewShell |
MareroQ wrote: command = "\"C:\\Program Files\\IrfanView\\Irfanview.exe\" \"" + tempfilename + "\"" - no command = "\"C:\\Program Files\\IrfanView\\i_view32.exe\" \"" + tempfilename + "\"" - yes These command lines return the following errors. Global name no is not defined Global name yes is not defined |
Author: | Rod [ Fri Feb 04, 2011 2:45 am ] |
Post subject: | Re: XNViewShell |
I got Deep Paint and XnView to run together in the Plug-ins folder. I'll give Inkscape a try, and get back to you. |
Author: | Rod [ Fri Feb 04, 2011 3:11 am ] |
Post subject: | Re: XNViewShell |
Think this will do it. Copy and paste in notepad ++ or an text editor then name it - InkscapeShell.py - then place it in your Plug-ins folder. You will find it under Filters/Call/Inkscape Code: Select all #!/usr/bin/env python Yup works for me. ![]() ![]() |
Author: | Rod [ Fri Feb 04, 2011 3:21 am ] |
Post subject: | Re: XNViewShell |
Yes to be sure it worked i created a small red vector square on the gimp temp image Be sure and save as svg it will revert back to a jpg or whatever format it was. Also be sure and save it as the exact name you opened it in Inkscape as. (same ending number) Image: after export back to Gimp ![]() |
Page 4 of 15 | All times are UTC - 5 hours [ DST ] |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |