Switch to full style
Post all Gimp scripts and script writing questions here
Post a reply

Symetrize with LIVE PREVIEW

Wed Mar 06, 2024 2:21 pm

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...

Re: Symetrize with LIVE PREVIEW

Thu Mar 07, 2024 2:34 am

I know they have eight eyes but the cat looks more like a spider now ;) Thank you

Re: Symetrize with LIVE PREVIEW

Thu Mar 07, 2024 2:51 am

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

Re: Symetrize with LIVE PREVIEW

Thu Mar 07, 2024 3:52 am

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.

Re: Symetrize with LIVE PREVIEW

Fri Mar 08, 2024 4:08 am

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.

Re: Symetrize with LIVE PREVIEW

Sat Apr 27, 2024 9:11 am

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

Re: Symetrize with LIVE PREVIEW

Sun Apr 28, 2024 7:55 pm

While trying it, I got some fun with "tigroo" "Gmicky" :hehe
:tyspin Marek.

screenshot_20240429-085259.jpg
screenshot_20240429-085259.jpg (114.7 KiB) Viewed 4591 times


screenshot_20240429-085303.jpg
screenshot_20240429-085303.jpg (113.41 KiB) Viewed 4591 times

Re: Symetrize with LIVE PREVIEW

Mon Apr 29, 2024 10:02 pm

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

Re: Symetrize with LIVE PREVIEW

Mon Apr 29, 2024 10:17 pm

And the Prussian Kingdom logo
Image

Re: Symetrize with LIVE PREVIEW

Tue Apr 30, 2024 5:42 am

Sallyanne,
I feel inspired. Nice work (#9).

Re: Symetrize with LIVE PREVIEW

Wed May 01, 2024 9:21 am

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

Re: Symetrize with LIVE PREVIEW

Fri May 03, 2024 2:36 am

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.
Post a reply