It is currently Sun May 05, 2024 1:50 am


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 30 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: Re: Script Requests/Suggestions for gimp chat members
PostPosted: Wed Jun 04, 2014 8:13 am  (#11) 
Offline
GimpChat Member
User avatar

Joined: Mar 01, 2014
Posts: 12668
Location: Spain, Aragón
RobA what a great idea yours. I've tried to do that, but how I get round ones along the edge? Do you know? Thank you so much :clap


Attachments:
's idea.png
's idea.png [ 122.99 KiB | Viewed 1847 times ]

_________________
Image

Gimp 2.10.30(samj) portable _ OS Windows 10 Home_ 64bits
Don’t be afraid to start over. It’s a new chance to rebuild what you want.
Top
 Post subject: Re: Script Requests/Suggestions for gimp chat members
PostPosted: Wed Jun 04, 2014 8:25 am  (#12) 
Offline
GimpChat Member
User avatar

Joined: Mar 01, 2014
Posts: 12668
Location: Spain, Aragón
After making the question, I thought how I could do it. Thanks Rob for your idea.


Attachments:
I got it.png
I got it.png [ 104.61 KiB | Viewed 1844 times ]

_________________
Image

Gimp 2.10.30(samj) portable _ OS Windows 10 Home_ 64bits
Don’t be afraid to start over. It’s a new chance to rebuild what you want.
Top
 Post subject: Re: Script Requests/Suggestions for gimp chat members
PostPosted: Wed Jun 04, 2014 8:30 am  (#13) 
Offline
Global Moderator
User avatar

Joined: Apr 07, 2010
Posts: 14182
Very nice Issabella, love the color combination. This would look cute on a flower basket.

_________________
Image


Top
 Post subject: Re: Script Requests/Suggestions for gimp chat members
PostPosted: Wed Jun 04, 2014 8:46 am  (#14) 
Offline
GimpChat Member
User avatar

Joined: Jul 17, 2012
Posts: 2770
Image


Top
 Post subject: Re: Script Requests/Suggestions for gimp chat members
PostPosted: Wed Jun 04, 2014 9:05 am  (#15) 
Offline
GimpChat Member
User avatar

Joined: Mar 01, 2014
Posts: 12668
Location: Spain, Aragón
Yes, Esper. You're right. :jumpclap

Molly, I'll put it on a basket, sure. ;)


Attachments:
Esper.png
Esper.png [ 53.48 KiB | Viewed 1837 times ]

_________________
Image

Gimp 2.10.30(samj) portable _ OS Windows 10 Home_ 64bits
Don’t be afraid to start over. It’s a new chance to rebuild what you want.
Top
 Post subject: Re: Script Requests/Suggestions for gimp chat members
PostPosted: Wed Jun 04, 2014 10:26 am  (#16) 
Offline
GimpChat Member
User avatar

Joined: Feb 14, 2012
Posts: 426
I've often wondered if a script could be made to:

1. run the "Height Offset by Value" script with a setting of x offset 125 and invert.

Image

2. Decrease the image width by half.

Image

3. And then run the Emboss filter on it with an azimuth value of 30.

Image

So that I can easily get a good 3D visual image of height map images.

But maybe also give 4 different options for viewing angles. Now this first one gives a good lighting effect for the right angle but to get a left angle it would start with the "Height Offset by Value" with a setting of -125 in the x offset and an azimuth of 220 in the emboss filter. Then the top view would by an "Height Offset by Value" of -125 in the y field and an azimuth of 110. And the bottom view would have a "Height Offset by Value" of 125 in the y field and an azimuth of 300. The azimuths are 0+30, 90+30, 180+30 and 270+30. The resulting images are good representations of 3D values that can be zoomed in and out of.

Image

colorizing the result would be cool too.

Image



PegLeg


Top
 Post subject: Re: Script Requests/Suggestions for gimp chat members
PostPosted: Wed Jun 04, 2014 11:03 am  (#17) 
Offline
Global Moderator
User avatar

Joined: Apr 07, 2010
Posts: 14182
Very nice PegLeg. It has very good depth.

_________________
Image


Top
 Post subject: split
PostPosted: Wed Jun 04, 2014 11:09 am  (#18) 
Offline
GimpChat Member
User avatar

Joined: Jan 13, 2011
Posts: 2254
Location: Poland
Request new scripts/plugins
As for layers - only for Paths:
Select the Paths:
- All
- Invert
- Clear
- Reverse

_________________
Image

Slava
Ukraini!


Top
 Post subject: Re: Script Requests/Suggestions for gimp chat members
PostPosted: Wed Jun 04, 2014 11:31 am  (#19) 
Offline
Global Moderator
User avatar

Joined: Apr 01, 2012
Posts: 7722
Location: On the other side of this screen
Issabella wrote:
Graechan's script is great! it runs perfect and no problems at all. :clap :paint :bump

That is very good. Graechan's script should also show up in scriptfu - alpha to logo - frost crystals.
Image

Have you seen the filter in File - Create - Logos - MS ice cube. I have attached it if you don't have it.
Works a treat if you use it on an appropriate text. I used 'ice sticks'
Image


Attachments:
ice-cube-logo.scm [8.21 KiB]
Downloaded 88 times

_________________
Top
 Post subject: Re: split
PostPosted: Wed Jun 04, 2014 2:51 pm  (#20) 
Offline
Script Coder
User avatar

Joined: Oct 25, 2010
Posts: 4739
MareroQ wrote:
Request new scripts/plugins
As for layers - only for Paths:
Select the Paths:
- All
- Invert
- Clear
- Reverse


What would "Select all" or "Clear" do? What is the difference between "Invert" and "Reverse" (by the way there is a "reverse-strokes" script in my collection).

_________________
Image


Top
 Post subject: Re: Script Requests/Suggestions for gimp chat members
PostPosted: Wed Jun 04, 2014 2:54 pm  (#21) 
Offline
Global Moderator
User avatar

Joined: Apr 07, 2010
Posts: 14182
I love the look of that flower Issabella.

_________________
Image


Top
 Post subject: Re: Script Requests/Suggestions for gimp chat members
PostPosted: Wed Jun 04, 2014 7:40 pm  (#22) 
Offline
Script Coder
User avatar

Joined: May 07, 2014
Posts: 3975
Location: Canada
Pegleg44,
try this script found here: http://gimpchat.com/viewtopic.php?f=9&t=10478

_________________
TinT


Top
 Post subject: Re: Script Requests/Suggestions for gimp chat members
PostPosted: Thu Jun 05, 2014 10:26 am  (#23) 
Offline
GimpChat Member
User avatar

Joined: Jan 13, 2011
Posts: 2254
Location: Poland
ofnuts wrote:
MareroQ wrote:
Request new scripts/plugins
As for layers - only for Paths:
Select the Paths:
- All
- Invert
- Clear
- Reverse


What would "Select all" or "Clear" do? What is the difference between "Invert" and "Reverse" (by the way there is a "reverse-strokes" script in my collection).


Attachments:
Pathcomander.png
Pathcomander.png [ 41.58 KiB | Viewed 2241 times ]

_________________
Image

Slava
Ukraini!
Top
 Post subject: Re: Script Requests/Suggestions for gimp chat members
PostPosted: Thu Jun 05, 2014 12:11 pm  (#24) 
Offline
Script Coder
User avatar

Joined: Oct 25, 2010
Posts: 4739
If you shift-click on an eye icon, the click applies to all so its very easy to change the state of all paths, so All/None above are already there. Invert is easy to obtain the same way if there is only one Path that should be the opposite of the others.

Reverse would be a different animal but I don't see the purpose of reordering the paths? According to the doc of the Raise/Lower buttons "The position of a path in the list has no functional significance, so this is simply a convenience to help you keep things organized.". And if you reverse the order, the organization remains the same...

So that leaves us with toggling the visibility of several (but not all) paths together.

_________________
Image


Top
 Post subject: Re: Script Requests/Suggestions for gimp chat members
PostPosted: Mon Jun 09, 2014 11:25 am  (#25) 
Offline
Script Coder
User avatar

Joined: May 07, 2014
Posts: 3975
Location: Canada
is there a script-fu procedure to set white/black/mid gray points in levels?

I want to write a script that does this http://blog.patdavid.net/2011/06/getting-around-in-gimp-color-correction.html

by getting pixel values and comparing RGB values to see which points are whitest/darkest/grayest but can't see a procedure in script-fu for setting these white/black/mid gray points.

_________________
TinT


Top
 Post subject: Re: Script Requests/Suggestions for gimp chat members
PostPosted: Mon Jun 09, 2014 12:26 pm  (#26) 
Offline
Script Coder
User avatar

Joined: Jun 22, 2010
Posts: 1171
Location: Here and there
trandoductin wrote:
is there a script-fu procedure to set white/black/mid gray points in levels?

I want to write a script that does this http://blog.patdavid.net/2011/06/getting-around-in-gimp-color-correction.html

by getting pixel values and comparing RGB values to see which points are whitest/darkest/grayest but can't see a procedure in script-fu for setting these white/black/mid gray points.


Maybe gimp-levels:
Attachment:
Untitled.png
Untitled.png [ 30.1 KiB | Viewed 2160 times ]


Top
 Post subject: Re: Script Requests/Suggestions for gimp chat members
PostPosted: Mon Jun 09, 2014 12:30 pm  (#27) 
Offline
Script Coder
User avatar

Joined: May 07, 2014
Posts: 3975
Location: Canada
paynekj wrote:
trandoductin wrote:
is there a script-fu procedure to set white/black/mid gray points in levels?

I want to write a script that does this http://blog.patdavid.net/2011/06/getting-around-in-gimp-color-correction.html

by getting pixel values and comparing RGB values to see which points are whitest/darkest/grayest but can't see a procedure in script-fu for setting these white/black/mid gray points.


Maybe gimp-levels:
Attachment:
Untitled.png


but how do you tell it like this is the white point and this is the black point and this is the gray point like the eye dropper that the user uses to choose these points?

Okay so I can set each Red/Green/Blue Channel in levels to black and white points, but what about the middle gray? what's the math behind gamma?

_________________
TinT


Top
 Post subject: Re: Script Requests/Suggestions for gimp chat members
PostPosted: Mon Jun 09, 2014 1:40 pm  (#28) 
Offline
Script Coder
User avatar

Joined: Apr 23, 2010
Posts: 1553
Location: not from Guildford after all
trandoductin wrote:
Okay so I can set each Red/Green/Blue Channel in levels to black and white points, but what about the middle gray? what's the math behind gamma?

You should double-check things, but I believe gamma can be calculated as follows:

; gray-color is the RGB value of the gray point: (list red green blue)
; gray-pt is value of the particular channel's gray point
; black-pt is value of the particular channel's black point
; white-pt is value of the particular channel's white point

(define (gray-pt->gamma gray-color gray-pt black-pt white-pt)
  (let ((luminosity (+ (* (car gray-color) 0.2126)
                       (* (cadr gray-color) 0.7152)
                       (* (caddr gray-color) 0.0722) ))
        (range (- white-pt black-pt))
        (offset (- gray-pt black-pt)) )
    (/ (log (/ offset range))
       (log (/ luminosity range)) )))

_________________
Any sufficiently primitive technology is indistinguishable from a rock.


Top
 Post subject: Re: Script Requests/Suggestions for gimp chat members
PostPosted: Mon Jun 09, 2014 1:45 pm  (#29) 
Offline
Script Coder
User avatar

Joined: May 07, 2014
Posts: 3975
Location: Canada
thanks alot!
I'll try it see what i get.

_________________
TinT


Top
 Post subject: Re: Script Requests/Suggestions for gimp chat members
PostPosted: Mon Jun 09, 2014 2:02 pm  (#30) 
Offline
Script Coder
User avatar

Joined: Oct 25, 2010
Posts: 4739
I use Luca Dealfaro's scripts to correct colors. He uses curves, so his code would be a very good example.

_________________
Image


Top
Post new topic Reply to topic  [ 30 posts ]  Go to page 1, 2  Next

All times are UTC - 5 hours [ DST ]


   Similar Topics   Replies 
No new posts Attachment(s) Sympathy for Our "Down Under" Members

53

No new posts Attachment(s) Thanks to Gimp Chat

14

No new posts Welcome to Font Chat

6



* Login  



Powered by phpBB3 © phpBB Group