It is currently Sun May 19, 2013 11:54 am


Latest GIMP Scripts & Plug-ins

All times are UTC - 5 hours [ DST ]




Post new topic Reply to topic  [ 35 posts ]  Go to page 1, 2, 3, 4  Next
Author Message
 Post subject: Hi to all
PostPosted: Thu Feb 23, 2012 9:25 am  (#1) 
Offline
GimpChat Member

Joined: Feb 22, 2012
Posts: 160
Location: Germany
Hi.

First of all, please excuse my not so very good english, it's not my native language.
I use gimp on Windows for several years. I use it for retouch my pictures. Not much...
I tried some other graphic programs, but I like the way, gimp deals with things.
What I'm missing are adjustment layers and 16bit possibilities.
I manged to compile an own verion of gimp-2.7.5. I did this, because the brush options
are not optimal. The optios are hard coded, so there was no other possibility to change
the options.The other reason was to change the iwarp plugin. I changed ist, because
sometimes I need a very small selection to warp. The plugin didn't scale up the small
selection - now it does...

That's all for now.

Greetings
Hatti


Share on Facebook Share on Twitter Share on Orkut Share on Digg Share on MySpace Share on Delicious Share on Technorati
Top
 Profile  
 

 Post subject: Re: Hi to all
PostPosted: Thu Feb 23, 2012 9:37 am  (#2) 
Offline
GimpChat Member
User avatar

Joined: Sep 24, 2010
Posts: 4994
Cool stuff Hatti. You and PhotoComix need to get together and share the tweaks. He's done a few with the previews too. Rod has also successfully compiled GIMP. I'm not that adventureous. lol

Welcome here too Hatti; hope to see some of your stuff soon. :)

_________________
Lyle

Psalm 109:8

Image


Top
 Profile  
 
 Post subject: Re: Hi to all
PostPosted: Thu Feb 23, 2012 9:48 am  (#3) 
Offline
Global Moderator
User avatar

Joined: Nov 16, 2011
Posts: 1684
Location: Metro Vancouver, BC
Welcome Hatti! You seem like a natural script writer. There are some good ones around here.

_________________
Image
Gimp 2.8.4, Vista 32, Ubuntu 12x, median user
Gimp Chat Tutorials Index


Top
 Profile  
 
 Post subject: Re: Hi to all
PostPosted: Thu Feb 23, 2012 1:09 pm  (#4) 
Offline
GimpChat Member
User avatar

Joined: Aug 24, 2011
Posts: 1776
Location: Dallas, TX
Welcome to Gimp Chat Hatti!

_________________
Image


Top
 Profile  
 
 Post subject: Re: Hi to all
PostPosted: Thu Feb 23, 2012 1:23 pm  (#5) 
Offline
Global Moderator
User avatar

Joined: May 16, 2010
Posts: 8936
Location: "Looking for my eraser" =P
Would you mind uploading the your changed iwarp plugin exe and src files in a zip for me so i can check it out? :)

_________________
Image
Gimp Rocks Blog
Simply Gimp Tutorials
"Once your in the cloud, you're in the net"
____________
OK, . . . . so what's the speed of dark?


Top
 Profile  
 
 Post subject: Re: Hi to all
PostPosted: Thu Feb 23, 2012 1:39 pm  (#6) 
Offline
Global Moderator
User avatar

Joined: Apr 07, 2010
Posts: 6943
I wouldn't mind seeing that too Rod, I can't seem to make iwarp work well for me, I can use it but can't seem to be able to control it. IMO, it needs a revamp.

_________________
Image


Top
 Profile  
 
 Post subject: Re: Hi to all
PostPosted: Thu Feb 23, 2012 2:55 pm  (#7) 
Offline
GimpChat Member

Joined: Feb 22, 2012
Posts: 160
Location: Germany
Hi.

Oh, it wasn't that much. Most of the time I spent exploring, what the plugin was working.
I concentrated on the method

static void iwarp_preview_init (void)

It is called several times, and I just commented out

// if (dx <= 1.0 && dy <= 1.0)
// pre2img = 1.0;

That means, if the image is greater than the preview window, then scale it to size of preview,
otherwise, do nothing.
With the comments, any image will be scaled to the size of the preview. Thats it. It works.
In

static gboolean iwarp_dialog (void)

I commented out

// iwarp_animate_dialog (dlg, notebook);

because I don't need the animation stuff.
In

static iwarp_vals_t iwarp_vals =

I changed the "FALSE" to "TRUE", that enables the "adaptive supersampling" by default,
I get better results.

Then some plays with other parameters:

static gint max_current_preview_width = 640;
static gint max_current_preview_height = 640;

doubling the maximum size of the preview.

near

g_signal_connect (button, "toggled",
G_CALLBACK (gimp_toggle_button_update),
&iwarp_vals.do_bilinear);

frame = gimp_frame_new (NULL);
gtk_box_pack_start (GTK_BOX (vbox), frame, FALSE, FALSE, 0);
gtk_widget_show (frame);

in my version from 2.7.4(5) source it is line 1182, I added right after this block:

gtk_widget_set_size_request(vbox, 400,200);

but thats not neccessary. It makes the settings area smaller, it was
too large for me. So now I have more space for the enlarged preview.
On some places (Oh, I see, I forgot one), I changed the name from "iwarp" to
"liquify", so I can have both of two good worlds.
The rest of it is pure iwarp, so I don't know, if I can send you the source, because
there are just some changes, that fits my needs.
Ahh, one thing that I hoped:
The "Radius" of operation refers to the size of the preview, not of the (now scaled) image.
So, for instance, Ihave a picture with a very nice lady, but sadly she has a bumply nose,
if you know what I mean. So with IWarp, I made a selection from the nose, and the nose
was shown as large as the 100% crop of the image in the upper left corner.
Now, with my changes, the nose is shown as big as the preview area, and i can "move"
out the bumple mch more exact.

Hatti


Top
 Profile  
 

 Post subject: Re: Hi to all
PostPosted: Thu Feb 23, 2012 3:13 pm  (#8) 
Offline
Global Moderator
User avatar

Joined: May 16, 2010
Posts: 8936
Location: "Looking for my eraser" =P
That sounds pretty good. :)
Can you upload the binary then? I would love to test it out.
You will have to zip it in a compressed folder for the site to let you attach it though.Just a heads up.

_________________
Image
Gimp Rocks Blog
Simply Gimp Tutorials
"Once your in the cloud, you're in the net"
____________
OK, . . . . so what's the speed of dark?


Top
 Profile  
 
 Post subject: Re: Hi to all
PostPosted: Thu Feb 23, 2012 3:31 pm  (#9) 
Offline
GimpChat Member

Joined: Feb 22, 2012
Posts: 160
Location: Germany
Hi Rod

Here it is. In Plugins folder. You will find it in Filters/Distorts (or similar). It calls "Liquify"

Hatti

[attachment deleted]


Last edited by Onkel Hatti on Fri Feb 24, 2012 2:22 am, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: Hi to all
PostPosted: Thu Feb 23, 2012 3:43 pm  (#10) 
Offline
Global Moderator
User avatar

Joined: Apr 07, 2010
Posts: 6943
Darn, I don't think I can use that in Fedora. We can't use .exe files in our plug-ins. just .py files. I think I remember a liquify filter in Photoshop and it worked very well.

_________________
Image


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 35 posts ]  Go to page 1, 2, 3, 4  Next

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

* Login   * Subscribe to RSS Feed


Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group