GIMP Chat
http://gimpchat.com/

Rotate Hue Script
http://gimpchat.com/viewtopic.php?f=9&t=20420
Page 3 of 4

Author:  MareroQ [ Thu Jun 29, 2023 2:00 pm ]
Post subject:  Re: Different Effects Gimp Text (Show us yours using gimp)

I think it would be good if the moderator (if he has time) moved the recent posts to a new thread: Gimp Scripts and Plugins/Rotate Hue. (Done!)

@PixLab
I think you misunderstood the proverb.
Just wanted to say that I should have added more information right away. :yes

@Teapot.
There is no code of good rules for writing plugins.
The ones I've written about are by plugin guru Saul Goode (they're available in various old posts), but no one is forcing anyone to use them (sometimes I forget too).
Saul also wrote that the original image should always be preserved.
Typical solutions:
1. Execute the code on the duplicated layer (often unacceptable for animation - but you found a solution: when hue=0 it doesn't change the layer itself, only its name).
2. Move the active layer to the new image (requires adding a few lines of code).

You didn't write anything about Gegl?
Maybe consider an option:
(PF_OPTION,   'type_h',   'Type hue:', 0, ["Hue Chroma","Hue Saturation"]),


Image

You are using the Apache license version 2.0 (I don't know the details, but there will be no more comments or ready-made solutions from me - sorry Tas_mania).

However, I can post my simple code that anyone can use:
moves the active layer to the new image, removing the layer name extension (if any). In the menu: Layer ➤ Active Layer to New Image

Attachments:
Active layer to new image.zip [701 Bytes]
Downloaded 190 times

Author:  diagrajamal1 [ Thu Jun 29, 2023 3:52 pm ]
Post subject:  Re: Different Effects Gimp Text (Show us yours using gimp)

Attachment:
colorize.gif
colorize.gif [ 1.84 MiB | Viewed 23647 times ]

Author:  teapot [ Thu Jun 29, 2023 5:19 pm ]
Post subject:  Re: Different Effects Gimp Text (Show us yours using gimp)

MareroQ, Thnak you for your reply :tyspin

MareroQ wrote:
You didn't write anything about Gegl?
Maybe consider an option:
(PF_OPTION,   'type_h',   'Type hue:', 0, ["Hue Chroma","Hue Saturation"]),

Thank you for your help with this, I've still got it to do but have had limited time available these last two days.

MareroQ wrote:
You are using the Apache license version 2.0 (I don't know the details, but there will be no more comments or ready-made solutions from me - sorry Tas_mania).

The Apache license version 2.0 is a standard open source license, is there a problem with it?

Author:  Tas_mania [ Sat Jul 01, 2023 8:19 pm ]
Post subject:  Re: Rotate Hue Script

Image


An experiment using V2 of the rotatehue script. Original image from here.
Thanks teapot. :bigthup

Author:  teapot [ Sat Jul 01, 2023 8:24 pm ]
Post subject:  Re: Rotate Hue Script

:wow Tas_mania that's awesome.

Author:  PixLab [ Sat Jul 01, 2023 11:15 pm ]
Post subject:  Re: Rotate Hue Script

Woww Tas_mania, great idea and well done!

Author:  teapot [ Sun Jul 02, 2023 9:49 am ]
Post subject:  Re: Rotate Hue Script

Here's version 3. Additions are:

An option to use hue chroma to change the hue which needs gegl_command.py from here:
viewtopic.php?f=9&t=18040&start=30p264354

Hue saturation works anyway so if you just want that option you can skip installing gegl_command.py.

A choice to have the layers output to a new image. If not chosen the layers are output to the original image as before.

Allows indexed as well as RGB image types.

Attachment:
rotatehue-3.0.0.zip [2.05 KiB]
Downloaded 214 times

Author:  PixLab [ Sun Jul 02, 2023 9:11 pm ]
Post subject:  Re: Rotate Hue Script

teapot wrote:
Here's version 3.
Attachment:
rotatehue-3.0.0.zip


Hi teapot,
If I may, perhaps you should put it in the thread's very first post (as well as V1 and V2), visitors might not go/read up to the 5th page and surely are not aware of the different versions. :mrgreen:

Author:  Tas_mania [ Sun Jul 02, 2023 11:48 pm ]
Post subject:  Re: Rotate Hue Script

Quote:
If I may, perhaps you should put it in the thread's very first post (as well as V1 and V2)

Yes, V3 replaces V1 and V2. They all have the same name so maybe just replace the previous ones?

BTW thanks guys for appreciating my refracted light gif :)

Author:  teapot [ Mon Jul 03, 2023 10:26 am ]
Post subject:  Re: Rotate Hue Script

Thank you PixLab and Tas_mania.

I've updated the first post with links to the versions so as to preserve the history and download numbers.

Author:  Jappaloe63 [ Mon Jul 03, 2023 12:45 pm ]
Post subject:  Re: Rotate Hue Script

Twig

Attachments:
twig.gif
twig.gif [ 1.2 MiB | Viewed 27953 times ]

Author:  MareroQ [ Wed Aug 02, 2023 2:23 pm ]
Post subject:  Re: Rotate Hue Script

The plugin was working perfectly fine and all of a sudden this error:
Image
I clearly determined for me that the cause of the problem is the installation of the Beaver [contrast_] plugin
gegleffectspending.dll 163 099 b dated version 01.08.2023 and 23.07.2023 (in menu: GEGL Effects Continual Version).

This breaks all python plugins that use Gegl.

Removing the dll file solves the problem.
Contrast_ doesn't deign to answer my questions so I won't report any more bugs and comments to him either.

Attachments:
Gegl Error.jpg
Gegl Error.jpg [ 75.54 KiB | Viewed 27762 times ]

Author:  ofnuts [ Wed Aug 02, 2023 4:17 pm ]
Post subject:  Re: Rotate Hue Script

MareroQ wrote:
The plugin was working perfectly fine and all of a sudden this error:
[ Image ]
I clearly determined for me that the cause of the problem is the installation of the Beaver [contrast_] plugin
gegleffectspending.dll 163 099 b dated version 01.08.2023 and 23.07.2023 (in menu: GEGL Effects Continual Version).

This breaks all python plugins that use Gegl.

Removing the dll file solves the problem.
Contrast_ doesn't deign to answer my questions so I won't report any more bugs and comments to him either.


Did you report the problem on hos GitHub project?

Author:  MareroQ [ Wed Aug 02, 2023 4:32 pm ]
Post subject:  Re: Rotate Hue Script

@Ofnuts.

No, I didn't report it because
gegl_command by Kevin Payne and Claude Lion [cli345]: viewtopic.php?f=9&t=18040&start=30#p264354
is not an official version and I don't quite understand how one affects the other (but it is and maybe only for Windows)

Author:  ofnuts [ Wed Aug 02, 2023 8:00 pm ]
Post subject:  Re: Rotate Hue Script

MareroQ wrote:
@Ofnuts.

No, I didn't report it because
gegl_command by Kevin Payne and Claude Lion [cli345]: viewtopic.php?f=9&t=18040&start=30#p264354
is not an official version and I don't quite understand how one affects the other (but it is and maybe only for Windows)


Beaver's code isn't official either. It is likely a packaging conflict. Since he touts himself as a GEGL expert, he can either fix it on his side or tell what should be fixed on the other.

Author:  contrast_ [ Fri Aug 25, 2023 10:21 pm ]
Post subject:  Re: Rotate Hue Script

*August 26 update to fix a conflict with gegl_command.py (said update applies to both stable and experimental GEGL Effects)
FIX HERE
https://github.com/LinuxBeaver/GEGL-Eff ... L/releases

---original post--

I have no clue what is causing this. It doesn't make sense how a python plugin and a gegl plugin can interact.

GEGL Effects and a lot of other GEGL plugins call Gimp only blend modes like hsv hue. A Hue rotator.

If that crashes it then so will
https://github.com/LinuxBeaver/GEGL-Col ... ing-Fusion



I don't know how to investigate, I'll ask someone who might be able to help me though.

Author:  contrast_ [ Fri Aug 25, 2023 10:23 pm ]
Post subject:  Re: Rotate Hue Script

*August 26 update to fix a conflict with gegl_command.py (said update applies to both stable and experimental GEGL Effects)
FIX HERE
https://github.com/LinuxBeaver/GEGL-Eff ... L/releases

---original post--

GEGL Effects is my main plugin so I find this trouble some. INVESTIGATING NOW

Author:  contrast_ [ Fri Aug 25, 2023 10:34 pm ]
Post subject:  Re: Rotate Hue Script

*August 26 update to fix a conflict with gegl_command.py (said update applies to both stable and experimental GEGL Effects)
FIX HERE
https://github.com/LinuxBeaver/GEGL-Eff ... L/releases

---original post--

Mine works with Hue Saturation but crashes on Hue Chroma and out of all 50 something plugins of mine GEGL Effects is the only one that crashes it and it is the most complex of all my plugins. (figures)

INVESTIGATING

Author:  MareroQ [ Fri Aug 25, 2023 10:52 pm ]
Post subject:  Re: Rotate Hue Script

Only Hue Chroma based on gegl-command.py.

I've said it before - but I'll repeat it:
this is the only conflicting Beaver plugin and therefore the issue seems to be not with gegl-command.py but with gegleffectspending.dll

Author:  contrast_ [ Fri Aug 25, 2023 10:52 pm ]
Post subject:  Re: Rotate Hue Script

*August 26 update to fix a conflict with gegl_command.py (said update applies to both stable and experimental GEGL Effects)
FIX HERE
https://github.com/LinuxBeaver/GEGL-Eff ... L/releases

---original post--

I just confirmed that GEGL Effects June 10th and up has the problem. Before June tenth it was fine. Downgrade is here.

YOU CAN ONLY HAVE ONE VERSION OF GEGL EFFECTS AND YOU HAVE TO OVERWRITE ALL OF ITS BINARIES NOT JUST ONE VERSION.
https://github.com/LinuxBeaver/GEGL-Eff ... _final.zip


Attachment:
investigate.png
investigate.png [ 50.58 KiB | Viewed 27591 times ]


I am looking for a fix actively. The biggest change to GEGL Effects in June 10th was the addition of "Glass on Text" as part of it.

Page 3 of 4 All times are UTC - 5 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/