It is currently Fri Apr 19, 2024 11:10 am


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 8 posts ] 
Author Message
 Post subject: PoincareSwitch
PostPosted: Sat Jan 24, 2015 5:04 am  (#1) 
Offline
GimpChat Member
User avatar

Joined: Jan 13, 2011
Posts: 2241
Location: Poland
Poincare (photographic tiling of the poincaré disk) program website: SourceForge
Because of malware being found in SourceForge downloads, this link has been removed.

Examples of effects: http://gimpchat.com/viewtopic.php?f=22&t=1825&start=0

In menu GIMP: Filters -> Render -> Poincare

For edit parameters: download notepad2 - free and open source Notepad2 (Copyright © 2004-2011 Florian Balmer): http://www.flos-freeware.ch/notepad2.html unzip (756 kb) and instal to C:\Notepad2.

Unzip PoincareSwith to location:

Program Poinare -> C:\Poincare
PoincareSwith.py to Gimp plug-ins.

Use tear-off menus - help page: http://docs.gimp.org/en/menus.html#gimp-menus-introduction


Attachments:
Poincare.png
Poincare.png [ 410.05 KiB | Viewed 5507 times ]
PoincareSwitch.zip [896.78 KiB]
Downloaded 258 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: PoincareSwitch
PostPosted: Sat Jan 24, 2015 5:48 am  (#2) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14709
Location: USA
Sweet! Thanks man. :)

Image

_________________
Image
Edmund Burke nailed it when he said, "The only thing necessary for the triumph of evil is for good men to do nothing."


Top
 Post subject: Re: PoincareSwitch
PostPosted: Sat Jan 24, 2015 5:32 pm  (#3) 
Offline
GimpChat Member
User avatar

Joined: Mar 10, 2014
Posts: 845
I installed, here the first output ( thanks MareroQ for your excellent job)
Image


Top
 Post subject: Re: PoincareSwitch
PostPosted: Thu Mar 26, 2015 4:49 am  (#4) 
Offline
New Member

Joined: Mar 24, 2015
Posts: 4
Bonjour,
(Linux KxStudio)
I get this message ...
Thanks

Traceback (most recent call last):
File "/usr/lib/gimp/2.0/python/gimpfu.py", line 735, in response
dialog.res = run_script(params)
File "/usr/lib/gimp/2.0/python/gimpfu.py", line 361, in run_script
return apply(function, params)
File "/home/blade-runner/.gimp-2.8/plug-ins/PoincareSwitch.py", line 17, in plugin_main_save_orig
child = subprocess.Popen(args, shell=False)
File "/usr/lib/python2.7/subprocess.py", line 710, in __init__
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1327, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory


Top
 Post subject: Re: PoincareSwitch
PostPosted: Fri Jul 31, 2015 10:04 pm  (#5) 
Offline
GimpChat Member

Joined: Dec 09, 2011
Posts: 5
I may have missed a step. I can't seem to get this to work. I was really hoping it would since I haven't managed to get it working any other way either.


Top
 Post subject: Re: PoincareSwitch
PostPosted: Sun Aug 25, 2019 8:49 am  (#6) 
Offline
GimpChat Member
User avatar

Joined: Jan 13, 2011
Posts: 2241
Location: Poland
It's a very old topic and an old plugin.
Thanks to little progress in Python learning, I've simplified the plugin a little by reducing 5 Steps to one.

Poincare disc Ver. 2

Still only for Windows and Gimp 32bit.

Annex contains:
- poincare.exe
- FreeImage.dll
- poincare.py
- mask.txt
- Notepad2.exe
- doc (description parameters.pdf)
- COPYING licenses GPL

In menu Gimp: Filters -> Render -> Poincare disc...

Everything in the Poincare catalog which after unpacking should be placed in the plug-ins catalog.

After launching the plugin, the mask.txt file will open in Notepad2 and here, in addition to the parameters, you must edit (once) lines 7 and 8 by entering the correct path to the Poincare location, e.g .:
infile = "c:\Users\YOR NAME\AppData\Roaming\GIMP\2.10\plug-ins\Poincare\image_orig.jpg"
outfile = "c:\Users\YOR NAME\AppData\Roaming\GIMP\2.10\plug-ins\Poincare\image_mask.jpg"

or for the portable version:
infile = "d:\GIMP-2.10.12_Portable-32bit-Win-V2\Preferences\plug-ins\Poincare\image_orig.jpg"
outfile = "d:\GIMP-2.10.12_Portable-32bit-Win-V2\Preferences\plug-ins\Poincare\image_mask.jpg"


(image_orig.jpg and image_mask.jpg will be created from the active layer by the plugin in the Poincare directory.

While the plugin is running, the Poincare window will appear (do not close it) - it will close itself after rendering.


Attachments:
New poincare disc.png
New poincare disc.png [ 291.45 KiB | Viewed 3748 times ]
Poincare V2_Win_32bit.zip [1.41 MiB]
Downloaded 159 times

_________________
Image

Slava
Ukraini!
Top
 Post subject: Re: PoincareSwitch
PostPosted: Sun Aug 25, 2019 1:14 pm  (#7) 
Offline
GimpChat Member
User avatar

Joined: Jan 13, 2011
Posts: 2241
Location: Poland
I would like to add two more information:

- after editing mask.txt, save the changes and close the notepad,
- if "Add original image to layer mask" = Yes, the image name will change from Untitled to Image_orig.jpg.

Why?
This is a small convenience if you want to design Poincare from scratch (yes - Lylejk method).

In brief:
- select the black color and remove,
- invert the selection and remove,
- delete the alpha channel,
- paint your own design in the active selection,
- export as image_orig.jpg (and Gimp should find the save directory),
- run the plugin.


Attachments:
Metod Lyle.png
Metod Lyle.png [ 1.32 MiB | Viewed 3704 times ]

_________________
Image

Slava
Ukraini!
Top
 Post subject: Re: PoincareSwitch
PostPosted: Sun Aug 25, 2019 10:58 pm  (#8) 
Offline
GimpChat Member
User avatar

Joined: Sep 24, 2010
Posts: 12516
Brings back some great memories, MareroQ. Just wish Bill would have posted that update; oh well. :)

_________________
Lyle

Psalm 109:8

Image


Top
Post new topic Reply to topic  [ 8 posts ] 

All times are UTC - 5 hours [ DST ]



* Login  



Powered by phpBB3 © phpBB Group