It is currently Tue Jul 23, 2024 6:17 pm


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 22 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: Proposal for a new filter
PostPosted: Thu Sep 20, 2012 3:55 pm  (#1) 
Offline
GimpChat Member

Joined: May 09, 2012
Posts: 914
Bonjour,


By doing some tests with the picture proposed by Lylejk ( viewtopic.php?f=11&t=5309 ) I realized that I could easily make a filter to create the effect on the right.

Is this interesting?


Attachments:
projet_filtre.png
projet_filtre.png [ 347.21 KiB | Viewed 1670 times ]
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: Proposal for a new filter
PostPosted: Thu Sep 20, 2012 4:03 pm  (#2) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14728
Location: USA
Looks pretty interesting to me Sam. :)
It's almost as if you are using swirlies, or ripples on the entire image but then masking all but the edges.It's a pretty cool effect in my opinion.

_________________
Image
Edmund Burke nailed it when he said, "The only thing necessary for the triumph of evil is for good men to do nothing."


Top
 Post subject: Re: Proposal for a new filter
PostPosted: Thu Sep 20, 2012 4:28 pm  (#3) 
Offline
GimpChat Member

Joined: May 09, 2012
Posts: 914
Bonjour,

Thank you for your reply Rod :)
I think if I can do something a little more original.


Top
 Post subject: Re: Proposal for a new filter
PostPosted: Thu Sep 20, 2012 4:44 pm  (#4) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14728
Location: USA
I can't wait to check out your results. :)

_________________
Image
Edmund Burke nailed it when he said, "The only thing necessary for the triumph of evil is for good men to do nothing."


Top
 Post subject: Re: Proposal for a new filter
PostPosted: Thu Sep 20, 2012 5:07 pm  (#5) 
Offline
GimpChat Member
User avatar

Joined: Sep 24, 2010
Posts: 12535
That does look cool samj; is it a GMIC preset and if so, have up uploaded it? :)

_________________
Lyle

Psalm 109:8

Image


Top
 Post subject: Re: Proposal for a new filter
PostPosted: Thu Sep 20, 2012 6:29 pm  (#6) 
Offline
GimpChat Member

Joined: May 09, 2012
Posts: 914
Thank you Lylejk :)

The filter is not yet realized.
I will create a version in a few days, it will use G'MIC.
I do not know if it will be a G'MIC filter or script-fu.


Top
 Post subject: Re: Proposal for a new filter
PostPosted: Thu Sep 20, 2012 10:21 pm  (#7) 
Offline
GimpChat Member
User avatar

Joined: Sep 24, 2010
Posts: 12535
Looking forward to it samj. :)

_________________
Lyle

Psalm 109:8

Image


Top
 Post subject: Re: Proposal for a new filter
PostPosted: Fri Sep 21, 2012 1:53 am  (#8) 
Offline
GimpChat Member
User avatar

Joined: Jan 03, 2011
Posts: 1656
Would be cool to have it as a G'MIC filter instead of a script-fu (preview...).
If you need some help to convert some GIMP operators to pure G'MIC functions, let me know Samj.


Top
 Post subject: Re: Proposal for a new filter
PostPosted: Fri Sep 21, 2012 4:07 am  (#9) 
Offline
GimpChat Member

Joined: May 09, 2012
Posts: 914
Bonjour,

Thank you for your help Ronounours, it is very nice of you :)
I'll use a script-fu because it allows you to select Gimp gradients and patterns. It also allows you to set the layer (opacity, mode, etc.).


Top
 Post subject: Re: Proposal for a new filter
PostPosted: Fri Sep 21, 2012 11:22 am  (#10) 
Offline
GimpChat Member

Joined: Apr 12, 2010
Posts: 5870
samj wrote:
Bonjour,
I'll use a script-fu because it allows you to select Gimp gradients and patterns. It also allows you to set the layer (opacity, mode, etc.).


As far to set layer opacity and mode gmic offers even more options (i.e. more modes) then Gimp.


it may be nice a script that first allow to set gradient, pattern and what else,and if needed convert them in images (new layers) that could be loaded by gmic, and then call gmic interactively so would be a preview become available to fine tune.

Edit

to clear my suggestion
1 a script that allow to chose and if needed (may be no needed for jpg,and png pattern, and always needed for gradient and .pat) export them as new layer of the active image

then giving the initial active layer and the new "gradient" and "Pattern" layers as input argument call interactively a Gmic filter

2) a new gmic filter to be called
the new filters will not depend upon the script (only vice versa) and could work or called by the script
or called from gmic, in this case it expect to the user set correctly the gmic input options and a "gradient" and "pattern" layer to load
(as the inpainting filter expect a mask layer)


I have a script from RobA that if modified could be useful:
as it is export all gradients,
but maybe be mod to export a user chosen gradient and pattern as new layer
; export_gradients.scm
; by Rob Antonishen
; http://silent9.com

; Version 1.0 (20120126)

; Description
;
; export png images of every gradient the size of the active drawable
;

; License:
;
; This program is free software; you can redistribute it and/or modify
; it under the terms of the GNU General Public License as published by
; the Free Software Foundation; either version 2 of the License, or
; (at your option) any later version.
;
; This program is distributed in the hope that it will be useful,
; but WITHOUT ANY WARRANTY; without even the implied warranty of
; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
; GNU General Public License for more details.
;
; The GNU Public License is available at
; http://www.gnu.org/copyleft/gpl.html
(define (script-fu-export_gradients img inLayer inShape inDestDir inSaveType inFileName inFileNumber)
  (let*
    (
    (width (car (gimp-image-width img)))
    (height (car (gimp-image-height img)))
    (imgTemp (car (gimp-image-duplicate img)))
    (layerTemp (car (gimp-image-flatten imgTemp)))
    (gradientlist (gimp-gradients-get-list ""))
    (counter 0)
    (saveExt (cond (( equal? inSaveType 0 ) ".png" ) (( equal? inSaveType 1 ) ".jpg" ) (( equal? inSaveType 2 ) ".bmp" )))
    (newFileName "")
    )

    ; it begins here
    (gimp-image-undo-disable imgTemp)
    (gimp-selection-none imgTemp)
 
    (gimp-layer-add-alpha layerTemp)
 
    (while (< counter (car gradientlist))
      (gimp-edit-clear layerTemp)
      (gimp-context-set-gradient (list-ref (cadr gradientlist) counter))
      (gimp-edit-blend layerTemp CUSTOM-MODE NORMAL-MODE inShape 100 0  REPEAT-NONE FALSE TRUE 3 0.20 TRUE 0 0 width 0)
     
      ;save file
      (set! newFileName (string-append inDestDir DIR-SEPARATOR inFileName (number->string (+ inFileNumber counter)) saveExt))
      (gimp-file-save RUN-NONINTERACTIVE imgTemp layerTemp newFileName newFileName)
      (set! counter (+ counter 1))
    )       

    (gimp-image-delete imgTemp)   
    (gimp-displays-flush)
  )
)

(script-fu-register "script-fu-export_gradients"
                    "<Image>/Filters/Export Gradients..."
                    "Export all gradients as images."
                    "Rob Antonishen"
                    "Rob Antonishen"
                    "Oct 2012"
                    "RGB*"
                    SF-IMAGE      "image"          0
                    SF-DRAWABLE   "drawable"       0
                    SF-OPTION     "Shape"          '("Linear")                         
               SF-DIRNAME    "Save to"        ""
                    SF-OPTION     "File Type"      '("png" "jpg" "bmp")   
                    SF-STRING     "File Base Name" "GRADIENT"
                    SF-ADJUSTMENT "Start Number"   '(0 0 9000 1 100 0 SF-SPINNER)       
)       

_________________
My 3D Gallery on Deviantart http://photocomix2.deviantart.com/
Main gallery http://www.flickriver.com/photos/photocomix-mandala/
Mandala and simmetry http://www.flickriver.com/photos/photocomix_mandala/

Image

Mrs Wilbress


Top
 Post subject: Re: Proposal for a new filter
PostPosted: Fri Sep 21, 2012 11:52 am  (#11) 
Offline
GimpChat Member

Joined: May 09, 2012
Posts: 914
Bonjour,

The Script-Fu is created, link :
http://www.aljacom.com/~gimp/dents_de_scie_2_8.scm

This script-fu is for Gimp 2.8 (Tested on Windowd and Fedora). G'MIC should be installed.

Access :
Filters > Artistic > Dents de scie...

Two examples with the image proposed by Lylejk


Attachments:
rendu_dents_de_scie_2_8.png
rendu_dents_de_scie_2_8.png [ 1.47 MiB | Viewed 1026 times ]
Top
 Post subject: Re: Proposal for a new filter
PostPosted: Fri Sep 21, 2012 12:22 pm  (#12) 
Offline
GimpChat Member
User avatar

Joined: Sep 24, 2010
Posts: 12535
Very cool samj; thanks. Took an extracted tithonia flower (not the one I shared here but another flower that I took a capture of a couple of days ago) for this result. :)


Attachments:
tithonia.jpg
tithonia.jpg [ 610.65 KiB | Viewed 1022 times ]

_________________
Lyle

Psalm 109:8

Image
Top
 Post subject: Re: Proposal for a new filter
PostPosted: Fri Sep 21, 2012 12:33 pm  (#13) 
Offline
GimpChat Member

Joined: May 09, 2012
Posts: 914
:tyspin Lylejk


Top
 Post subject: Re: Proposal for a new filter
PostPosted: Fri Sep 21, 2012 1:09 pm  (#14) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14728
Location: USA
Very nice!
Thanks Sam.

I decided to run my desktop image through it. :)
Pretty cool effect.
Image

_________________
Image
Edmund Burke nailed it when he said, "The only thing necessary for the triumph of evil is for good men to do nothing."


Top
 Post subject: Re: Proposal for a new filter
PostPosted: Fri Sep 21, 2012 5:23 pm  (#15) 
Offline
GimpChat Member

Joined: May 09, 2012
Posts: 914
:tyspin Rod


Attachments:
ThankYouRod.png
ThankYouRod.png [ 245.26 KiB | Viewed 1011 times ]
Top
 Post subject: Re: Proposal for a new filter
PostPosted: Fri Sep 21, 2012 5:31 pm  (#16) 
Offline
GimpChat Member

Joined: May 09, 2012
Posts: 914
:tyspin Lylejk


Attachments:
ThankYouLylejk.png
ThankYouLylejk.png [ 189.97 KiB | Viewed 1011 times ]
Top
 Post subject: Re: Proposal for a new filter
PostPosted: Fri Sep 21, 2012 7:31 pm  (#17) 
Offline
GimpChat Member
User avatar

Joined: Sep 24, 2010
Posts: 12535
I really like that one samj. :)

_________________
Lyle

Psalm 109:8

Image


Top
 Post subject: Re: Proposal for a new filter
PostPosted: Fri Sep 21, 2012 8:08 pm  (#18) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14728
Location: USA
lol..thats neat.

_________________
Image
Edmund Burke nailed it when he said, "The only thing necessary for the triumph of evil is for good men to do nothing."


Top
 Post subject: Re: Proposal for a new filter
PostPosted: Fri Sep 21, 2012 9:05 pm  (#19) 
Offline
GimpChat Member
User avatar

Joined: Jan 13, 2011
Posts: 2260
Location: Poland
Thank you SAMJ.
Little flower for the great plugin.


Attachments:
Dents de scie.png
Dents de scie.png [ 3.63 MiB | Viewed 1002 times ]

_________________
Image

Slava
Ukraini!
Top
 Post subject: Re: Proposal for a new filter
PostPosted: Sat Sep 22, 2012 9:17 am  (#20) 
Offline
GimpChat Member

Joined: May 09, 2012
Posts: 914
Bonjour,

:tyspin MareroQ


*****

Here is another test.

Image from digitalART2 http://www.flickr.com/photos/digitalart/1906662004/
CC BY 2.0


Attachments:
test_filtre_2.jpg
test_filtre_2.jpg [ 477.57 KiB | Viewed 987 times ]
Top
Post new topic Reply to topic  [ 22 posts ]  Go to page 1, 2  Next

All times are UTC - 5 hours [ DST ]


   Similar Topics   Replies 
No new posts Attachment(s) Proposal: a "View Topics in order of views"

32

No new posts Attachment(s) cli345's cartoon filter as a native GEGL Filter.

10

No new posts Attachment(s) Made with new filter in G'mic

23

No new posts Attachment(s) Carve.. filter

3

No new posts Attachment(s) what filter might help with this image?

7



* Login  



Powered by phpBB3 © phpBB Group