It is currently Mon Apr 15, 2024 8:07 am


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Help...i need a script to clean up renders
PostPosted: Tue Jan 08, 2013 4:22 pm  (#1) 
Offline
GimpChat Member

Joined: Apr 12, 2010
Posts: 5870
Perfect to clean up BIG png cut,(i.e my favourite Poser renders often more then WP size ) but may be useful also for more little renders ,
the script will require Unsharpmask2 or gmic (gmic unsharp )

what should automate

1 Layer/transparency/selection to alpha
2 selection/invert
3 selection/grow (1px no more no less )
4 gaussian blur , default 8 , possible user value : 0(here 0=SKIP) or >0
5 selection/grow =1px
6 gaussian blur , default 4 , possible user value : 0 (here 0 = SKIP ) OR 1:2 of 4
7 selection/grow =1px
6 gaussian blur , default 2 , possible user value : 0 (here 0 = SKIP ) OR 1:2 of 6
7 selection/grow =1px
8 selection/invert
9 selection/shrink=1 px
9 selection/feather=2 px
10 Unsharpmask2 ( or gmic Unsharp ) if possible call in iterative mode BUT with a preset
(for sure this is possible with GMIC "unsharp" not sure if is possible with the Unsharp2 plugin )
11 Select /none
12 Output = active layer OR new layer
13 only IF Output = new Layer ,
Layer modes =1 Normal , 2 Soft Light , 3 Multiply , Opacity >0 , default 75

(13 may help much for render "faded" by dramatic scaling down, sometimes i saved so renders to scale down from 10 to 1 :yes )

Any help ?
are a lot of boring steps to do manually but the result is excellent , very often it not only give smooth and clean edges but also add lot of depth more (a sort of DOF effect but the blur is not consciously perceptible because just allow a better merge with the BG, while unsharp mask make the rest pop out )

----------------------
note at the first gaussian blur step often the blur is applied or to ...nothing or to fringes, the other 2 gaussian blur steps instead blur only the most extreme periphery then there is a seamless transition with the sharpening effect

Again this works well on BIG png cut, but if little it is usually just needed to skip 1 blur step

(yes i giving away all my secret formula :lol )

please..help :gaah

_________________
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


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: Help...i need a script to clean up renders
PostPosted: Tue Jan 08, 2013 9:50 pm  (#2) 
Offline
GimpChat Member

Joined: Sep 13, 2011
Posts: 77
I just recently started with Python-fu. There are much better scripters out here surely...

_________________
Using Windows Vista 32 bits, 3GBRAM, Intel core 2 Quad Q6600 2.4Ghz, Radeon HD 3450 graphics card, Lambda Lexicon USB audio interface.


Top
 Post subject: Re: Help...i need a script to clean up renders
PostPosted: Wed Jan 09, 2013 1:16 pm  (#3) 
Offline
GimpChat Member

Joined: Apr 12, 2010
Posts: 5870
I was wandering if i can do as Gmic filters

The problem is that gmic can do directly much on selection, but anyway may read and edit the alpha channels and create and use (internally) mask and that may be equivalent

But in those days i really can set my mind in coding, for me is always difficult but now will be even more ...

_________________
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 new topic Reply to topic  [ 3 posts ] 

All times are UTC - 5 hours [ DST ]


   Similar Topics   Replies 
No new posts Attachment(s) Exploding Planet / Planet Renders

16

No new posts Attachment(s) Looking for Script Coder to make Script of my VHS effect

2

No new posts Attachment(s) Cannot run test script-fu script via console

7

No new posts Attachment(s) A liitle Start Help with a Script-Fu Script

3

No new posts Attachment(s) Script-fu

6



* Login  



Powered by phpBB3 © phpBB Group