It is currently Fri Apr 19, 2024 2:57 am


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 50 posts ]  Go to page Previous  1, 2, 3  Next
Author Message
 Post subject: Re: Alphabetical updates for GMIC
PostPosted: Wed Dec 12, 2012 10:26 am  (#21) 
Offline
GimpChat Member
User avatar

Joined: Jan 03, 2011
Posts: 1656
Small update of the filter list (alphabetical ordering was not always correct) : http://pastebin.com/Q9wbHt2j

Updated source code for the G'MIC command that produces the output : http://pastebin.com/pRQSif80


Top
 Post subject: Re: Alphabetical updates for GMIC
PostPosted: Wed Dec 12, 2012 10:38 am  (#22) 
Offline
Retired Staff
User avatar

Joined: May 22, 2008
Posts: 6947
Location: Somewhere in GIMP
Wonderful! Thank you, David. :clap

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


Top
 Post subject: Re: Alphabetical updates for GMIC
PostPosted: Thu Dec 13, 2012 12:19 pm  (#23) 
Offline
GimpChat Member
User avatar

Joined: Jan 13, 2011
Posts: 2240
Location: Poland
Thank you, David.
Just to refresh (because it already was ...)
#!/usr/bin/env python
# -*- coding: utf-8 -*-

# Only for convenience - open sheet in another program.
# How to use: http://www.gimpchat.com/viewtopic.php?f=8&t=3779
# The idea taken from RobA Shellout: http://registry.gimp.org/node/24977
# G'MIC: http://gmic.sourceforge.net/reference.shtml

from gimpfu import *
import shlex
import subprocess
import os, sys

def plugin_main(img, drawable):
  command = "\"c:\\Documents and Settings\\USER_HOME\\.gimp-2.8\\plug-ins\\GMIC-Alphabetical list of filters.bat\""  #<<--EDIT
  args = shlex.split(command)
  child = subprocess.Popen(args, shell=True)

register(
        "python_fu_gmic_list",
        "gmic_gimp",
        "gmic_gimp",
        "GimpChat",
        "MrQ",
        "2012",
        "<Image>/Filters/G'MIC: Alphabetical",
        "*",
        [],
        [],
        plugin_main,
        )

main()


@echo off
echo *** Do Not Close this Window ***
echo Temp File: %1
start "exe" "c:\\Documents and Settings\\USER_HOME\\.gimp-2.8\\plug-ins\\GMIC-Alphabetical list of filters.ods" %1   #<<--EDIT


edit:Removed redundant old file -a newer version of the spreadsheet is the end of the story


Attachments:
GMIC-Alphabetical.png
GMIC-Alphabetical.png [ 111.18 KiB | Viewed 3509 times ]

_________________
Image

Slava
Ukraini!


Last edited by MareroQ on Mon Jan 14, 2013 1:40 pm, edited 1 time in total.
Top
 Post subject: Re: Alphabetical updates for GMIC
PostPosted: Thu Dec 13, 2012 4:04 pm  (#24) 
Offline
GimpChat Member
User avatar

Joined: Jan 03, 2011
Posts: 1656
Well, that's interesting MareroQ, thanks !
But how did you create the list of filters before ? Was it done manually ?


Top
 Post subject: Re: Alphabetical updates for GMIC
PostPosted: Thu Dec 13, 2012 4:48 pm  (#25) 
Offline
GimpChat Member
User avatar

Joined: Sep 24, 2010
Posts: 12516
Changed the paths and tried to run your python plugin MareroQ, but nothing happens. The spreadsheet that you included is cool though. :)

_________________
Lyle

Psalm 109:8

Image


Top
 Post subject: Re: Alphabetical updates for GMIC
PostPosted: Thu Dec 13, 2012 11:18 pm  (#26) 
Offline
GimpChat Member
User avatar

Joined: Jan 13, 2011
Posts: 2240
Location: Poland
The file GMIC-Alphabetical list of filters.bat enter the correct path and remove the # << - EDIT (same file GMIC-Alphabetical list of filters.py).
The previous list did manually - now just a quick conversion ...

@echo off
echo *** Do Not Close this Window ***
echo Temp File: %1
start "exe" "c:\\Documents and Settings\\Marek\\.gimp-2.8\\plug-ins\\GMIC-Alphabetical list of filters.ods" %1

_________________
Image

Slava
Ukraini!


Top
 Post subject: Re: Alphabetical updates for GMIC
PostPosted: Thu Dec 13, 2012 11:32 pm  (#27) 
Offline
GimpChat Member
User avatar

Joined: Sep 24, 2010
Posts: 12516
OK; that seems to work. It launches Excel now. I thought it would update the list too but there's no indication that the ODS file gets updated when you run the python plugin. Still, very cool info to have. Thanks MareroQ. :)

_________________
Lyle

Psalm 109:8

Image


Top
 Post subject: Re: Alphabetical updates for GMIC
PostPosted: Fri Dec 14, 2012 1:22 am  (#28) 
Offline
Script Coder
User avatar

Joined: Feb 18, 2011
Posts: 4827
Location: Bendigo Vic. Australia
I don't think the list is updating as its date is still the 12-12 and the version number is not mine

Also there was no txt-file to explain where to place the files so I put them all in my plugins folder

As a side note how does it know where the GMIC files are located as mine are not in the plugins folder

_________________
Image
No matter how much you push the envelope, it'll still be stationery.


Top
 Post subject: Re: Alphabetical updates for GMIC
PostPosted: Thu Dec 27, 2012 12:22 pm  (#29) 
Offline
GimpChat Member
User avatar

Joined: Jan 13, 2011
Posts: 2240
Location: Poland
Small update - as at 27.12.2012.
Two files - for Excel (xls) and LibreOffice (ods).
Marked a new filters - blue color.

ps.
Moderators!
Please (again) with a new section:FORUM - G'MIC.
Why does this topic have to be found in "Other Graphics Applications"?
Why the GMIC is scattered on all Forum ?


Attachments:
As at 27.12.2012.png
As at 27.12.2012.png [ 194.07 KiB | Viewed 3367 times ]

_________________
Image

Slava
Ukraini!


Last edited by MareroQ on Mon Jan 14, 2013 1:32 pm, edited 1 time in total.
Top
 Post subject: Re: Alphabetical updates for GMIC
PostPosted: Thu Dec 27, 2012 3:12 pm  (#30) 
Offline
GimpChat Member
User avatar

Joined: Sep 24, 2010
Posts: 12516
Now, I only see the new files and not the old. I used an online ods convertor (haven't re-installed Open Office since I upgraded to Win7) and it only showed the old presets and never the new. How do you get your preset to show all the updates MareroQ? Do I need to re-convert the ODS to XLS and merge everything somehow? Just curious. :)

_________________
Lyle

Psalm 109:8

Image


Top
 Post subject: Re: Alphabetical updates for GMIC
PostPosted: Thu Dec 27, 2012 5:18 pm  (#31) 
Offline
Global Moderator
User avatar

Joined: Nov 16, 2011
Posts: 5128
Location: Metro Vancouver, BC
lylejk wrote:
Now, I only see the new files and not the old. I used an online ods convertor (haven't re-installed Open Office since I upgraded to Win7) and it only showed the old presets and never the new. How do you get your preset to show all the updates MareroQ? Do I need to re-convert the ODS to XLS and merge everything somehow? Just curious. :)
Lyle, Here's an xls file with the original 12.12.12 version and 12.12.26 in a new workbook. I hope that helps.


Attachments:
File comment: XLS - v12.12.12 plus v12.12.26 update
GMIC-Alphabetical list of filters-updated.zip [220.3 KiB]
Downloaded 142 times

_________________
Image
Gimp 2.8.18, Linux, median user
Gimp Chat Tutorials Index
Spirit Bear (Kermode)
Top
 Post subject: Re: Alphabetical updates for GMIC
PostPosted: Thu Dec 27, 2012 6:52 pm  (#32) 
Offline
GimpChat Member
User avatar

Joined: Sep 24, 2010
Posts: 12516
Had to merge the old with the new, but it looks like it works now Odin; thanks. :)

_________________
Lyle

Psalm 109:8

Image


Top
 Post subject: Re: Alphabetical updates for GMIC
PostPosted: Thu Dec 27, 2012 7:06 pm  (#33) 
Offline
Global Moderator
User avatar

Joined: Nov 16, 2011
Posts: 5128
Location: Metro Vancouver, BC
lylejk wrote:
Had to merge the old with the new, but it looks like it works now Odin; thanks. :)
That should have had both versions in one XLS file already. I put the 12.12.26 addition in a new workbook so with future updates you only need to add or remove a (MS)workbook/(OO)sheet to the original file.

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


Top
 Post subject: Re: Alphabetical updates for GMIC
PostPosted: Fri Dec 28, 2012 12:19 pm  (#34) 
Offline
GimpChat Member
User avatar

Joined: Jan 13, 2011
Posts: 2240
Location: Poland
I in this sheet used option "Autofiltr" - to it can will sort easily (according to numerous criteria) and to find.
Click (1) and mark all (2)
Doesn't this work ?

ps. Samji - is great - new filter - update (28.12.2012)
pss. Removed redundant old file -a newer version of the spreadsheet is the end of the story


Attachments:
GMIC-Sort.png
GMIC-Sort.png [ 56.44 KiB | Viewed 2380 times ]

_________________
Image

Slava
Ukraini!


Last edited by MareroQ on Mon Jan 14, 2013 1:34 pm, edited 1 time in total.
Top
 Post subject: Re: Alphabetical updates for GMIC
PostPosted: Fri Dec 28, 2012 3:39 pm  (#35) 
Offline
GimpChat Member
User avatar

Joined: Jan 03, 2011
Posts: 1656
Would it be interesting for someone to have access to an ASCII file somewhere on the G'MIC web page that would contain the list of available filters for the plug-in, updated every day ?
I can probably do this in an automatic way.


Top
 Post subject: Re: Alphabetical updates for GMIC
PostPosted: Fri Dec 28, 2012 5:32 pm  (#36) 
Offline
GimpChat Member
User avatar

Joined: Sep 24, 2010
Posts: 12516
Hey MareroQ; doesn't appear that your plugin gets the updates from G'MIC; not sure why. Not seeing samj's update for instance. Just curious. Maybe I'm misunderstanding how your plugin works. :)

_________________
Lyle

Psalm 109:8

Image


Top
 Post subject: Re: Alphabetical updates for GMIC
PostPosted: Fri Dec 28, 2012 6:23 pm  (#37) 
Offline
Global Moderator
User avatar

Joined: Nov 16, 2011
Posts: 5128
Location: Metro Vancouver, BC
Ronounours wrote:
Would it be interesting for someone to have access to an ASCII file somewhere on the G'MIC web page that would contain the list of available filters for the plug-in, updated every day ?
I can probably do this in an automatic way.
A ASCII file would be a great idea, anyone could format it to their liking.

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


Top
 Post subject: Re: Alphabetical updates for GMIC
PostPosted: Fri Dec 28, 2012 10:19 pm  (#38) 
Offline
GimpChat Member
User avatar

Joined: Jan 13, 2011
Posts: 2240
Location: Poland
Misunderstanding (by my bad English).
The sheet is created by hand - but he has options: AutoFilter (advanced selection - easy option - but not for artists :) ) and links to GMIC.
A ASCII file would be a great idea - updated for new filters.

ps. Perhaps the creation date and author ?

_________________
Image

Slava
Ukraini!


Top
 Post subject: Re: Alphabetical updates for GMIC
PostPosted: Sat Dec 29, 2012 2:12 am  (#39) 
Offline
Script Coder
User avatar

Joined: Feb 18, 2011
Posts: 4827
Location: Bendigo Vic. Australia
With these spreadsheets from MareroQ how do you add additional entries in the correct alphabetical order, I have no Idea how to use spreadsheets.

But I would like to try and keep mine up to date.

_________________
Image
No matter how much you push the envelope, it'll still be stationery.


Top
 Post subject: Re: Alphabetical updates for GMIC
PostPosted: Sat Dec 29, 2012 3:51 pm  (#40) 
Offline
Global Moderator
User avatar

Joined: Nov 16, 2011
Posts: 5128
Location: Metro Vancouver, BC
Graechan wrote:
With these spreadsheets from MareroQ how do you add additional entries in the correct alphabetical order, I have no Idea how to use spreadsheets.

But I would like to try and keep mine up to date.
Are you using Excel or OO Cal? They both have a sort option so you can see all the GMIC filters in MareroQ updated list.

In Excel use the filter drop down to the right of New, check Select All, OK.
MareroQ shows the Excel filter, have a look at his graphic.
viewtopic.php?f=9&t=5973&start=30#p75829

In OO Cal, use the Name drop down, select Standard Filter...
Image

Change NEW to Name, Condition =, Value - not empty -, OK.
Image

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


Top
Post new topic Reply to topic  [ 50 posts ]  Go to page Previous  1, 2, 3  Next

All times are UTC - 5 hours [ DST ]


   Similar Topics   Replies 
No new posts Gmic

2

No new posts Attachment(s) GMIC not installing

2

No new posts Attachment(s) GMIC Challenge

24

No new posts Attachment(s) GMIC in the menu

10

No new posts Anyone have an exe file of GMIC 1.79 64 bit?

0



* Login  



Powered by phpBB3 © phpBB Group