It is currently Fri Jun 21, 2024 12:58 am


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 12 posts ] 
Author Message
 Post subject: Symetrize with LIVE PREVIEW
PostPosted: Wed Mar 06, 2024 2:21 pm  (#1) 
Offline
GimpChat Member
User avatar

Joined: Jan 13, 2011
Posts: 2260
Location: Poland
I started with fill-rotate.py by Tin Tran (because I like it and find it very useful) - can only be used for this purpose.

For comparison, standard Rotate with fill-rotate:
Image

Image

The rest is a small addition (although over 700 lines of code) by copy-paste (with small corrections required by Live Preview).

Can be downloaded from:
https://www.gimpscripts.net/2024/03/sym ... eview.html


Source code Live Preview: Tin Tran
Based by codes Tin Tran fill_rotate.py and Ofnuts ofn-symmetries.py

In menu: Filters ➤ Combine ➤ Symetrize with Live Preview...


Attachments:
Symetrize - 5.jpg
Symetrize - 5.jpg [ 148.15 KiB | Viewed 4975 times ]
Symetrize - 4.jpg
Symetrize - 4.jpg [ 89.07 KiB | Viewed 4975 times ]
Symetrize - 3.jpg
Symetrize - 3.jpg [ 87.32 KiB | Viewed 4975 times ]

_________________
Image

Slava
Ukraini!


Last edited by MareroQ on Wed May 01, 2024 9:18 am, edited 1 time in total.
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: Symetrize with LIVE PREVIEW
PostPosted: Thu Mar 07, 2024 2:34 am  (#2) 
Offline
Global Moderator
User avatar

Joined: Apr 01, 2012
Posts: 7740
Location: On the other side of this screen
I know they have eight eyes but the cat looks more like a spider now ;) Thank you

_________________


Top
 Post subject: Re: Symetrize with LIVE PREVIEW
PostPosted: Thu Mar 07, 2024 2:51 am  (#3) 
Offline
Global Moderator
User avatar

Joined: Apr 01, 2012
Posts: 7740
Location: On the other side of this screen
Do I need the other two plugins/scripts as well? I cannot find it in my gimp. I have placed it in my user files in plugins and closed gimp down and restarted it

_________________


Top
 Post subject: Re: Symetrize with LIVE PREVIEW
PostPosted: Thu Mar 07, 2024 3:52 am  (#4) 
Offline
GimpChat Member
User avatar

Joined: Jan 13, 2011
Posts: 2260
Location: Poland
Hi Sallyanne,

This plugin requires nothing more than gtk2, Python-2.7 and Unicode support (which is all in Windows but may be problematic on some Linux distributions).
In menu: Filters ➤ Combine ➤ Symetrize with Live Preview...
I didn't mention that it's very easy to create seamless textures using this plugin.


Attachments:
Eight eyes ordered.png
Eight eyes ordered.png [ 563.16 KiB | Viewed 4923 times ]

_________________
Image

Slava
Ukraini!
Top
 Post subject: Re: Symetrize with LIVE PREVIEW
PostPosted: Fri Mar 08, 2024 4:08 am  (#5) 
Offline
Global Moderator
User avatar

Joined: Apr 01, 2012
Posts: 7740
Location: On the other side of this screen
lol to your pic.
I still cannot see it. have move the plugin to another 2.10 folder plugins, refreshed. Closed gimp and restated and still no joy. Maybe I am just not meant to have it. Thanks for answering the other question.

_________________


Top
 Post subject: Re: Symetrize with LIVE PREVIEW
PostPosted: Sat Apr 27, 2024 9:11 am  (#6) 
Offline
GimpChat Member
User avatar

Joined: Jan 13, 2011
Posts: 2260
Location: Poland
Version 1.1.
Bug fix (logical):
"Mirroring through the central axis" does not require preparing a square - if the length of the side is not divisible (without remainder) by 2 - it is cropped by 1 pixel.

Sample girl.png shared by Lylejk (GPL3) - Thank you very much.
Image


Attachments:
Sample girl-2.jpg
Sample girl-2.jpg [ 121.3 KiB | Viewed 4638 times ]
Sample girl-1.jpg
Sample girl-1.jpg [ 142.65 KiB | Viewed 4638 times ]
MrQ_Symetrize_with_Live_Preview.zip [5.24 KiB]
Downloaded 18 times

_________________
Image

Slava
Ukraini!
Top
 Post subject: Re: Symetrize with LIVE PREVIEW
PostPosted: Sun Apr 28, 2024 7:55 pm  (#7) 
Offline
GimpChat Member
User avatar

Joined: May 24, 2021
Posts: 785
Location: SEA - South East Asia
While trying it, I got some fun with "tigroo" "Gmicky" :hehe
:tyspin Marek.

Attachment:
screenshot_20240429-085259.jpg
screenshot_20240429-085259.jpg [ 114.7 KiB | Viewed 4576 times ]


Attachment:
screenshot_20240429-085303.jpg
screenshot_20240429-085303.jpg [ 113.41 KiB | Viewed 4576 times ]

_________________
Patrice


Top
 Post subject: Re: Symetrize with LIVE PREVIEW
PostPosted: Mon Apr 29, 2024 10:02 pm  (#8) 
Offline
Global Moderator
User avatar

Joined: Apr 01, 2012
Posts: 7740
Location: On the other side of this screen
Well I'll be. Thanks for bumping this thread up Pix. I Checked and do have the Symmetrize Mr Q
Dont know if I tried it before but here is one from a pocket watch.
Image

_________________


Top
 Post subject: Re: Symetrize with LIVE PREVIEW
PostPosted: Mon Apr 29, 2024 10:17 pm  (#9) 
Offline
Global Moderator
User avatar

Joined: Apr 01, 2012
Posts: 7740
Location: On the other side of this screen
And the Prussian Kingdom logo
Image

_________________


Top
 Post subject: Re: Symetrize with LIVE PREVIEW
PostPosted: Tue Apr 30, 2024 5:42 am  (#10) 
Offline
GimpChat Member
User avatar

Joined: Jul 04, 2019
Posts: 135
Location: Lake Havasu City, Arizona, USA
Sallyanne,
I feel inspired. Nice work (#9).

_________________
Charles


Top
 Post subject: Re: Symetrize with LIVE PREVIEW
PostPosted: Wed May 01, 2024 9:21 am  (#11) 
Offline
GimpChat Member
User avatar

Joined: Jan 13, 2011
Posts: 2260
Location: Poland
Thank you all for testing.

Changes in Version 1.2:
- added code for handling layers with transparency and the ability to undo "SYMMETRY BY DIAGONAL",
- add a space to the result name when you click OK (in case you want to run the plugin again).

Source image:
Image


Attachments:
Sym-2.png
Sym-2.png [ 290.83 KiB | Viewed 4394 times ]
Sym-1.png
Sym-1.png [ 327.66 KiB | Viewed 4394 times ]
MrQ_Symetrize_with_Live_Preview.zip [5.41 KiB]
Downloaded 10 times

_________________
Image

Slava
Ukraini!
Top
 Post subject: Re: Symetrize with LIVE PREVIEW
PostPosted: Fri May 03, 2024 2:36 am  (#12) 
Offline
GimpChat Member
User avatar

Joined: Jan 13, 2011
Posts: 2260
Location: Poland
Ver 1.3

Changes:
- for "SYMMETRY BY DIAGONAL" add pdb.gimp_selection_shrink (this prevents partially transparent pixels),
Image
- added center guide and guides for created square,
- added option " Visible only TOP layer? (only useful if there is more than one layer and the active (initial) layer is with transparency)."

Guides can be useful when you want to move a layer the next time you use it.
Image
When you use offset you must perform the following operation:
Layer to Image Size
Image

The plugin currently does not work for a layer group.


Attachments:
Guides for ver.1.3.png
Guides for ver.1.3.png [ 655.35 KiB | Viewed 4282 times ]
MrQ_Symetrize_with_Live_Preview.zip [5.79 KiB]
Downloaded 10 times

_________________
Image

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

All times are UTC - 5 hours [ DST ]


   Similar Topics   Replies 
No new posts Attachment(s) Potrace with LIVE PREVIEW

0

No new posts Attachment(s) Distort with LIVE PREVIEW

5

No new posts Attachment(s) AutoTrace with LIVE PREVIEW

14

No new posts Attachment(s) Path Waves with LIVE PREVIEW

5

No new posts Attachment(s) Apply Selection to Layer with LIVE PREVIEW

6



* Login  



Powered by phpBB3 © phpBB Group