It is currently Wed Sep 02, 2026 5:15 am


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 42 posts ]  Go to page Previous  1, 2, 3  Next
Author Message
 Post subject: Re: Competing in a market that uses ChatGPT
PostPosted: Mon Oct 14, 2024 1:08 pm  (#21) 
Offline
Script Coder
User avatar

Joined: May 07, 2014
Posts: 4528
Location: Canada
I tried asking chatGPT for gegl filter for GIMP and it started giving me this xml
<?xml version="1.0" ?>
<gegl-operation>
  <name>gegl:inner-glow</name>
  <title>Inner Glow</title>
  <categories>light</categories>
  <description>Adds an inner glow effect to an image or shape.</description>
 
  <params>
    <!-- Color for the glow -->
    <param name="glow-color" type="color" default="1.0, 1.0, 0.0, 1.0">
      <description>Glow Color</description>
    </param>
   
    <!-- Glow intensity (blur radius) -->
    <param name="radius" type="double" default="10.0">
      <description>Glow Radius</description>
    </param>
   
    <!-- Blend mode for applying the glow -->
    <param name="blend-mode" type="string" default="normal">
      <description>Blend Mode</description>
    </param>
   
    <!-- Glow opacity -->
    <param name="opacity" type="double" default="0.8">
      <description>Glow Opacity</description>
    </param>
  </params>
 
  <input-pad name="input" />
  <output-pad name="output" />

  <operation-chain>
    <!-- Create the inner glow by blurring and blending -->
   
    <!-- 1. Create an alpha mask from the input image -->
    <gegl:extract-alpha />
   
    <!-- 2. Blur the alpha mask for the inner glow effect -->
    <gegl:gaussian-blur radius="${radius}" />
   
    <!-- 3. Add color to the blurred alpha mask -->
    <gegl:color-to-alpha color="${glow-color}" />
   
    <!-- 4. Blend the glow effect back onto the original image -->
    <gegl:over opacity="${opacity}" mode="${blend-mode}" />
  </operation-chain>
</gegl-operation>

does this mean anything to you. I just know it's xml and it gave these instructions:
Explanation of the filter:
glow-color: The color of the glow inside the object.
radius: The intensity of the glow, achieved by blurring the alpha mask.
blend-mode: The mode used to blend the inner glow onto the original image.
opacity: The opacity of the glow effect.
Steps to install and use the filter in GIMP:
Save the above XML code as gegl-inner-glow.xml in the ~/.local/share/gegl-0.4/operations/ directory (on Linux). For Windows, place it in C:\Users\[YourUsername]\AppData\Local\gegl-0.4\operations\.

Restart GIMP.

You should now see "Inner Glow" in the GEGL operation stack or through the search functionality.

Would you like to modify or extend this filter? Let me know what tweaks you want!

_________________
TinT


Top
 Post subject: Re: Competing in a market that uses ChatGPT
PostPosted: Mon Oct 14, 2024 3:05 pm  (#22) 
Offline
Script Coder
User avatar

Joined: Oct 25, 2010
Posts: 4812
Rod wrote:
quietreader wrote:
None of the old python2 stuff will work as is.


I am pretty sure Gimp-2.99.19 and Gimp-3.0 use Python 3.


It's much more than a language version difference. The API has significantly changed.

_________________
Image


Top
 Post subject: Re: Competing in a market that uses ChatGPT
PostPosted: Tue Oct 15, 2024 11:18 am  (#23) 
Offline
Global Moderator
User avatar

Joined: May 16, 2010
Posts: 16169
ofnuts wrote:
Rod wrote:
quietreader wrote:
None of the old python2 stuff will work as is.


I am pretty sure Gimp-2.99.19 and Gimp-3.0 use Python 3.


It's much more than a language version difference. The API has significantly changed.

Yeah it's going to be an adventure for sure. but i will give it my best. :bigthup

BTW it's great to see you again ofnuts.

_________________
Image


Top
 Post subject: Re: Competing in a market that uses ChatGPT
PostPosted: Tue Oct 15, 2024 1:37 pm  (#24) 
Offline
Script Coder
User avatar

Joined: May 07, 2014
Posts: 4528
Location: Canada
I will look toward ChatGPT for help with making GIMP 3 plugins

_________________
TinT


Top
 Post subject: Re: Competing in a market that uses ChatGPT
PostPosted: Wed Oct 16, 2024 5:02 am  (#25) 
Offline
Script Coder
User avatar

Joined: Oct 25, 2010
Posts: 4812
trandoductin wrote:
I will look toward ChatGPT for help with making GIMP 3 plugins


Good luck with that. ChatGPT won't find how to write these by itself. It will know how to do so only once there are enough examples of code in the wild. I don't expect it to "know" the Gimp2.x/Gimp3 differences until 2030.

_________________
Image


Top
 Post subject: Re: Competing in a market that uses ChatGPT
PostPosted: Wed Oct 16, 2024 7:25 am  (#26) 
Offline
Script Coder
User avatar

Joined: May 07, 2014
Posts: 4528
Location: Canada
I thought it since it has reasoning it can read instructions from documentation and write them I don't for sure though

_________________
TinT


Top
 Post subject: Re: Competing in a market that uses ChatGPT
PostPosted: Wed Oct 16, 2024 10:12 am  (#27) 
Offline
GimpChat Member

Joined: Dec 28, 2023
Posts: 67
trandoductin: It doesn't have "reasoning", that's just a marketing term. :)

I don't know about 2030, but currently its training set contains many examples for GIMP 2.10 plug-ins and very few from GIMP 3.0 (especially since its API is not finalized). Based on the frequency of examples in its training data, it's more likely to produce 2.10 syntax than 3.0. That will change over time as more people make and document 3.0 plug-ins (so it can train on them), but that's the current state of things.


Top
 Post subject: Re: Competing in a market that uses ChatGPT
PostPosted: Wed Oct 16, 2024 12:43 pm  (#28) 
Offline
Script Coder
User avatar

Joined: May 07, 2014
Posts: 4528
Location: Canada
Are you saying they're faking reasoning? hmmm.

_________________
TinT


Top
 Post subject: Re: Competing in a market that uses ChatGPT
PostPosted: Wed Oct 16, 2024 12:51 pm  (#29) 
Offline
GimpChat Member
User avatar

Joined: Mar 23, 2012
Posts: 7388
Location: Göteborg at last!
Why bother living when AI can do it for us?


Top
 Post subject: Re: Competing in a market that uses ChatGPT
PostPosted: Wed Oct 16, 2024 1:28 pm  (#30) 
Offline
Script Coder
User avatar

Joined: May 07, 2014
Posts: 4528
Location: Canada
I think it's the same as why bother if there's someone better than us. The answer is up to us individually I think and when we're stuck we ask an expert with AI the AI just happens to be the expert in a lot of cases.

_________________
TinT


Top
 Post subject: Re: Competing in a market that uses ChatGPT
PostPosted: Wed Oct 16, 2024 2:21 pm  (#31) 
Offline
GimpChat Member

Joined: Dec 28, 2023
Posts: 67
trandoductin wrote:
Are you saying they're faking reasoning? hmmm.


Sure - not to say that AI tools aren't impressive, but there's plenty of misinformation too. For instance, the CEO of Google claimed a while back that Bard learned Bengali without actually training on it. It turned out that the model actually had been trained on the language.

Regarding "reasoning", my understanding (at a high level) is that internally it runs your prompt multiple times, weighs the various responses, then picks the "best" solution according to its weights. That can definitely produce better responses, but it hasn't evolved or anything. :)


Top
 Post subject: Re: Competing in a market that uses ChatGPT
PostPosted: Wed Oct 16, 2024 2:40 pm  (#32) 
Offline
Script Coder
User avatar

Joined: May 07, 2014
Posts: 4528
Location: Canada
hahah runs multiple times and picks the best one....that's funny sounds like the infinite monkeys on keyboards story theory.

_________________
TinT


Top
 Post subject: Re: Competing in a market that uses ChatGPT
PostPosted: Thu Oct 17, 2024 3:59 am  (#33) 
Offline
Global Moderator
User avatar

Joined: Apr 01, 2012
Posts: 8468
Location: On the other side of your screen
Doesn't think AI will EVER be better than people. Even though it may look like it sometimes.
Yes, just like a monkey learning what it has been taught but will never have the imagination or innovation of a human.

_________________
Image
Free Fun Photo Editing & resources
Poems from the Lord
Gimp Newby
Gimp version 3.2.4 and GMIC-Qt 4.0.2 OS :- Windows 10 Home 64


Top
 Post subject: Re: Competing in a market that uses ChatGPT
PostPosted: Thu Oct 17, 2024 5:38 am  (#34) 
Offline
Script Coder
User avatar

Joined: Oct 25, 2010
Posts: 4812
trandoductin wrote:
Are you saying they're faking reasoning? hmmm.

This is just very intensive statistics. These things are called "Large Language Models". They don't know that Gimp is an image editor. They just noted that 'image editor' appears a lot more than other things in the terabytes of text that they have used for the training.

Two interesting videos (some math inside, but even if you don't understand that, you'll get the gist):

www.youtube.com Video from : www.youtube.com


www.youtube.com Video from : www.youtube.com

_________________
Image


Top
 Post subject: Re: Competing in a market that uses ChatGPT
PostPosted: Thu Oct 17, 2024 8:02 am  (#35) 
Offline
Global Moderator
User avatar

Joined: May 16, 2010
Posts: 16169
I'll tell you what. I used to program and run robotic welders.One was an RJ 2 and the other was older, an RG.
I could have programmed them to smack a coworker in the head but i did not and never would have.

They only do what the programmer tells them to do. They cannot learn by themselves UNLESS someone programs them to.That's AI (artificial intelligence).

You know, like a drone that goes out and kills innocent people.

_________________
Image


Top
 Post subject: Re: Competing in a market that uses ChatGPT
PostPosted: Thu Oct 17, 2024 9:35 pm  (#36) 
Offline
Global Moderator
User avatar

Joined: Apr 01, 2012
Posts: 8468
Location: On the other side of your screen
They only do what the programmer tells them to do. They cannot learn by themselves UNLESS someone programs them to.That's AI (artificial intelligence).

How can it learn by itself even if programmed to? How could it be programmed to have human imagination? Not all human imagination is the same or even logical which it would need to be?

_________________
Image
Free Fun Photo Editing & resources
Poems from the Lord
Gimp Newby
Gimp version 3.2.4 and GMIC-Qt 4.0.2 OS :- Windows 10 Home 64


Top
 Post subject: Re: Competing in a market that uses ChatGPT
PostPosted: Fri Oct 18, 2024 2:24 am  (#37) 
Offline
Script Coder
User avatar

Joined: Oct 25, 2010
Posts: 4812
sallyanne wrote:
How could it be programmed to have human imagination? Not all human imagination is the same or even logical which it would need to be?


We don't know. But if you consider that intelligence is recognizing patterns and reapplying them, it may just be a matter of the "depth" of patterns. For instance, image generators when from the first generation "any number of sausage shapes side by side" to the second "5 shapes, with 3 joints each". We humans recognize the hand pattern in animal paws and claws, and even in dolphin flippers and fishes fins, but also in robots and claw machines.

_________________
Image


Top
 Post subject: Re: Competing in a market that uses ChatGPT
PostPosted: Fri Oct 18, 2024 3:57 am  (#38) 
Offline
GimpChat Member
User avatar

Joined: Mar 23, 2012
Posts: 7388
Location: Göteborg at last!
The issue would be the recognition of what looks good and the desire to improve results. These things would have to come from a human being even if we manage to fully understand and program intelligence and imagination. AI is, and always will be soulless.


Top
 Post subject: Re: Competing in a market that uses ChatGPT
PostPosted: Fri Oct 18, 2024 6:01 am  (#39) 
Offline
Global Moderator
User avatar

Joined: Apr 01, 2012
Posts: 8468
Location: On the other side of your screen
That's what is scary Erisian too, which mean's it would probably be merciless.

_________________
Image
Free Fun Photo Editing & resources
Poems from the Lord
Gimp Newby
Gimp version 3.2.4 and GMIC-Qt 4.0.2 OS :- Windows 10 Home 64


Top
 Post subject: Re: Competing in a market that uses ChatGPT
PostPosted: Sat Oct 19, 2024 2:12 pm  (#40) 
Offline
Script Coder
User avatar

Joined: May 07, 2014
Posts: 4528
Location: Canada
I have had experience with ChatGPT where sometimes it works flawlessly, other times, it would write code like as if functions and parameters exist when they're all hallucinated by it.

hallucinations in code either breaks it or might cause major problems later down if not tested properly.
Worse case I can imagine is if the physical robots start hallucinating and do stuff that it think is serving people when they're just hallucinations that would be really scary.

_________________
TinT


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

All times are UTC - 5 hours [ DST ]



* Login  



Powered by phpBB3 © phpBB Group