[Gimp-user] Assigning shortcuts for previous/next color in palette + airbrush rate

2005-08-09 Thread Rene Jensen
Just a query to hear the status on this:

I know from bugzilla that there are plenty of procedures that we can not
yet assign to keyboard shortcuts. I for one would like to be able to
control the airbrush's rate and to move to the next or previous color in
the current palette with a single keypress.

-Regards,
Rene Jensen


___
Gimp-user mailing list
Gimp-user@lists.xcf.berkeley.edu
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user


Re: Comic Book retro style dots [Re: [Gimp-user] Camera to Comic Book]

2005-05-29 Thread Rene Jensen
Oups, Alan already mentioned the Cartoon filter :)



On Sun, 2005-05-29 at 16:44 +0100, Alan Horkan wrote:
> The more detail you provide in your question the better chance you have of
> getting exactly the answer you want.  If you want an effect like that seen
> in the Rhino picture you need to learn about Halftones, which is very much
> retro comic book style as opposed to some of the other simplrer more
> straighforward Cartoon effects like:
> 
> Filters,
>   Artistic,
> Cartoon...


___
Gimp-user mailing list
Gimp-user@lists.xcf.berkeley.edu
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user


Re: Comic Book retro style dots [Re: [Gimp-user] Camera to Comic Book]

2005-05-29 Thread Rene Jensen
I really like this technique!


Besides the mentioned Newsprint filter there's Gimp's own
Filters/Artistic/Cartoon which can help a lot with the black parts. Edge
detection on a desaturated version of the layer can also help with
delineating the contours



The link that Jad Madi supplied also referenced the original Photoshop
tutorial at
http://www.macmerc.com/sections.php?op=viewarticle&artid=209&page=1

Some of the methods that are used must be done differently in Gimp, but
apart from that it's the same moves. Admittedly I can't get my attempts
to turn out as nice as theirs.

1) The crosshatching technique in the dark areas is very essential to
this. I'm sure real Gimp-wizzes can achieve spectacular results with the
GIMPressionist or whatever but I'm a novice at that.
.. New layer
.. Drag the pattern 'Stripes 48x48' onto the layer
.. Filters/Map/Displace: In X and Y displace source menuboxes choose the
original layer
.. Add layer mask to the layer which should be distorted now (right
click on the layer in the layer menu
.. Copy original layer (select layer, Ctrl+C) and paste to the mask
(left click on mask, Ctrl-X, Ctrl-H)
.. Apply Curves to the mask (Layer/Color/Curves). Set the curve to
something like this: `\_  or   ``|__

2) He often uses a combination of Photoshop's Threshold (for making
something black-white) and a Diffuse filter which does anisotropic
filtering. I can only guess what it does as I don't have Photoshop, but
I think that Diffuse+anisotropic == Filters/Noise/Spread with a bit of
antialiasing to soften up the hard threshold. You should get the same
effect by copying the layer to a new image, double the size, applying
Spread, downscaling with Cubic interpolation and copying back again.
Anybody who knows a better technique?

3) His Filter/Artistic/Poster Edges is somewhat of a riddle to me,
especially since he sets Edge Thickness and Edge Intensity to 0.

4) Then comes my biggest problem: He uses Filter/Artistic/Cutout which
has it's closest sibling in Gimp's Image/Mode/Indexed (applyed to a copy
of the layer - set dithering to None, not Floyd-Steinberg, and a low
color count) or perhaps Layers/Colors/Posterize.
HOWEVER this renders very noisy borders between color bands. How to
simplify the borders is beyond me, unless one does a
Filters/Blur/Gaussian Blur first, but is that good?
Perhaps use Filters/Noise/Spread a bit to loosen up on the sharp color
areas

5) He uses the original layer with blend-mode 'Color' for changing the
colors of his posterized layer. I don't think that Gimp and Photoshop
uses the same blend-scheme because he recommends changing both the
saturation and lightness of the color-layer for cartoonish style.
Nothing happens in Gimp when I change the layers saturation. But making
a second layer with mode set to 'Saturate' does somewhat the same.


That's what I can think of right know..

Regards
Centipede





On Sun, 2005-05-29 at 16:44 +0100, Alan Horkan wrote:
> The more detail you provide in your question the better chance you have of
> getting exactly the answer you want.  If you want an effect like that seen
> in the Rhino picture you need to learn about Halftones, which is very much
> retro comic book style as opposed to some of the other simplrer more
> straighforward Cartoon effects like:
> 
> Filters,
>   Artistic,
> Cartoon...
> 
> The wikipedia page isn't a bad place to start if you want to learn more
> about Halftones:
> http://en.wikipedia.org/wiki/Halftone
> 
> There is also a plugin for the gimp that can achieve this effect but it
> was confusingly called "Newsprint".  The Newsprint plugin failed to
> mention the term Halftone in the short description so even when I knew
> what I was looking for it still took me ages to actually find the gimp
> version.
> 
> http://bugzilla.gnome.org/show_bug.cgi?id=301201
> Thanks to Michael Natter the next version of the gimp Plugin
> Browser has a more flexible search tool which will hopefully make
> things easier to find in future but I still think the Newsprint plugin
> could benefit from an overhaul/rename/improved documentation.
> 
> 
> Here's an example from the RedHat Getting started guide which uses the
> Newsprint plugin
> http://www.redhat.com/docs/manuals/enterprise/RHEL-3-Manual/step-guide/s1-images-gimp.html
> 
> Gimp User Manual, examples of Plugins including an example of Newsprint
> http://www.mhatt.aps.anl.gov/dohn/software/gimp/GUMC/#918427
> 
> A GUG tutorial that makes various text effects using the Newsprint plugin
> http://gug.sunsite.dk/tutorials/tomcat2/
> 
> 
> Sincerely
> 
> Alan Horkan
> 
> Inkscape http://inkscape.org
> Open Clip Art http://OpenClipArt.org
> Dia http://gnome.org/projects/dia/
> 
> 
> On Sun, 29 May 2005, Donncha O Caoimh wrote:
> 
> > Date: Sun, 29 May 2005 00:04:34 +0100
> > From: Donncha O Caoimh <[EMAIL PROTECTED]>
> > To: Jad Madi <[EMAIL PROTECTED]>
> > Cc: gimp-user@lists.xcf.berkeley.edu
> > Subject: Re: [Gimp-user] Camera to Comic Book
> >
> > Here's a metho

Re: [Gimp-user] A couple of game oriented plug-ins

2005-05-26 Thread Rene Jensen
Dude, you're right! Thanks! I forgot that I changed my local files in
the gimp dir and nowhere else. Well roared, maestro!

New package fixed and uploaded at
http://www.artcamilla.dk/vaultage/cornucopia/gimp-cgt-v0.1-20050526.tgz


-Rene Jensen


> I'm not sure I understand your answer (english is not my native
> language) so I try do describe better the problem.
> Brushes have two "names": filename like other files and "brushname",
> that is the name that appears in the brushes dialog. When the script
> searches for CGT.* brushes it looks at the "brushname".
> Filenames of brushes in you archive starts with CGT, instead their
> "brushname" starts with OMG, so IMHO I think is necessary to modify
> script or "brushname". 
> 
> > > A second issue is that "load" and "save" button seem to do nothing :(
> > 
> > Sorry, they haven't been implemented yet. Give me a week or two. The
> > settings are saved with your image. Loading and saving is just for
> > making "templates" so you can transfer a setup from one image/layer to
> > another.
> > 
> 
> OK
> 
> > > A third one is that Gimp crashes when I click on two of your brushes in
> > > brushes window. The brushes are OGM GV500 Rim 001 Rivets (8x8) and Rock
> > > 004 (that is the same of the first).
> > 
> > Sorry about the duplicate :)
> > Yes, I think this is a bug in GIMP actually. You have to click and
> > release fast, or else it tries to display the brush, perhaps as an
> > animation. It seems like GIMP has a problem displaying very small
> > animated brushes. I'll scan for a bugreport and if none mentions this,
> > I'll post one.
> 
> You are right I found the same problem with other small animated
> brushes.
> 
> Thanks again :)
> 
> ___
> Gimp-user mailing list
> Gimp-user@lists.xcf.berkeley.edu
> http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user

___
Gimp-user mailing list
Gimp-user@lists.xcf.berkeley.edu
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user


[Gimp-user] Sharing code between python plug-ins

2005-05-26 Thread Rene Jensen
Is there a way to share code between python-plugins? A file with common
classes and functions would greatly reduce work-overhead for me.

It would appear that the usual trick (i.e. from mycommonfile import *)
doesn't work as the python interpreter is based at the user home dir
(i.e. calling os.getcwd() returns '/home/username' or whatever). That
makes it a bit of a problem to import a file placed
at /home/username/.gimp-2.2/plug-ins, I think.

Any help appreciated.

Sincerely 
Rene Jensen



___
Gimp-user mailing list
Gimp-user@lists.xcf.berkeley.edu
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user


Re: [Gimp-user] A couple of game oriented plug-ins

2005-05-26 Thread Rene Jensen
Hi there! Thanks for trying out, and do keep the comments coming.

> Hi, I installed your plugin but I wasn't able to select brushes. I
> noticed that the names of brushes starts with OGM so I changed this line
> in your plugins:
> 
> self.config[self.name+'-brush'  ], 'CGT.*' )
> 
> into
> 
> self.config[self.name+'-brush'  ], 'OMG.*' )
> 
> and now works better :)

That's odd? I renamed the tools from 'Brainsuck O.M.G.' to 'Camilla's
Game Tools' in the last minute (guess nobody will blame me), and I've
just tested that in the archives I've uploaded, everything starts with
CGT..? I don't know, perhaps a stale version of the webpage and package
file in some web cache somewhere? Try refreshing. Oh, and do clean all
the OMG stuff out to avoid duplicates :)

I need to clean up the archives. This page will always be the most
recently updated when it comes to CGT: 

http://www.artcamilla.dk/vaultage/articles/the6502s/articles-gimp/camilla-game-tools/article.html


> A second issue is that "load" and "save" button seem to do nothing :(

Sorry, they haven't been implemented yet. Give me a week or two. The
settings are saved with your image. Loading and saving is just for
making "templates" so you can transfer a setup from one image/layer to
another.

> A third one is that Gimp crashes when I click on two of your brushes in
> brushes window. The brushes are OGM GV500 Rim 001 Rivets (8x8) and Rock
> 004 (that is the same of the first).

Sorry about the duplicate :)
Yes, I think this is a bug in GIMP actually. You have to click and
release fast, or else it tries to display the brush, perhaps as an
animation. It seems like GIMP has a problem displaying very small
animated brushes. I'll scan for a bugreport and if none mentions this,
I'll post one.


> For now I'm only "playing" with your plugins but they seem really
> useful.
> Thanks a lot, J

Have fun. They will stabilize soon :)


___
Gimp-user mailing list
Gimp-user@lists.xcf.berkeley.edu
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user


Re: [Gimp-user] Layer Style python plugin..

2005-05-09 Thread Rene Jensen
LOL! Yes, I see that it has :-]

It does look good too, very much indeed. Thanks for pointing it out,
Sven, saved me of quite a bunch of working hours.

Sorry for the many posts (and thanks those who helped). How can you work
with a 24 hour timedelay? Oh well..

See ya all
-centipede



> 
> This has been done before (and perhaps even slightly more elegantly):
> 
> http://www.deviantart.com/deviation/1872584/
> 
> 
> Sven

___
Gimp-user mailing list
Gimp-user@lists.xcf.berkeley.edu
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user


[Gimp-user] Layer Style python plugin..

2005-05-08 Thread Rene Jensen
I'm surprised nobody has hacked on that before. After all, it's all
there: Parasites that gets saved with the image/layer, a python module
that can update the editor-view live, a complete scripting language with
gtk bindings.

I spend a handful of hours trying to make a proof-of-concept. See what
you think..

http://www.artcamilla.dk/vaultage/cornucopia/gimp-plugins/layer-style.py


1) Make a test image with a background and a transparent layer with say
a filled small rectangle.

2) Python-fu / Alchemy / Layer Style

3) Drag the slider

4) Close the dialog

5) Save the image and close it

6) Reopen the image

7) Select either the original gizmo layer or the auto-generated style
layer

8) Invoke Python-fu / Alchemy / Layer Style again and play with the
slider.


There's a HUGE TODO list on that script, but the necessary basics are
proven available although IT IS SLOW! But there are room for
optimization, especially with a little help from the real pros who knows
what is fast and what is slow.

WARNING: Cheap tricks such as this will become obsolete once GEGL is
ready, I can image.. :)

Enjoy

Centipede



___
Gimp-user mailing list
Gimp-user@lists.xcf.berkeley.edu
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user


[Gimp-user] Tricks and tutorials

2005-05-06 Thread Rene Jensen
Hmm. Due to selective demand, I've begun to assemble a few articles,
tutorials and tips on how to use the aforementioned brushes, patterns
etc. but also on various other subjects.

Some of these things are old - the manual is clearly better - and some
is hurled together in a few minutes.

Well, anyway..

Articles: http://www.artcamilla.dk/vaultage/articles/index.html
Resources: http://www.artcamilla.dk/vaultage/cornucopia/

Sincerely
Rene Jensen


___
Gimp-user mailing list
Gimp-user@lists.xcf.berkeley.edu
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user


Re: [Gimp-user] Re: Yet another collection of brushes and patterns..

2005-05-04 Thread Rene Jensen
> Where exactly do i put the .py scripts so graciously shared?
> I have tried several different locations ( ~/.gimp/scripts ~/.gimp/plug-ins 
> ~/.gimp/modules) but i cant seem to find the plugin anywhere.
> The source (if i read it right) should end up under /Python-fu/Alchemy
> But all i have there is Clothify... 

I don't understand this? My files are in:

  brushes ==> .gimp-2.2/brushes
  patterns ==> .gimp-2.2/patterns
  python scripts ==> .gimp-2.2/plug-ins

and the scripts appear under (when right-clicking on an open image, not
in the generic python menu):
Python-fu/Alchemy/Brushpipe-curve/rotate-layers


> I think i have the brushes allright..
> Havent tried the patterns or textures yet (Still working out where to put 
> them)

The textures are not meant for GIMP but for 3D programs. Actually the
patterns are [possibly scaled-down] copies of the textures.

Sincerely Rene

___
Gimp-user mailing list
Gimp-user@lists.xcf.berkeley.edu
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user


Re: [Gimp-user] Yet another collection of brushes and patterns..

2005-05-02 Thread Rene Jensen

> "anything they want" is the reason to choose a license. While I can't put 
> google on it, somewhere I've read about software that wasn't protected by the 
> GPL. Later, there was a problem proving that it was indeed free software. 
> Putting your code under the GPL license allows anyone to use the code, but 
> doesn't let them place restrictions on its distribution.

I've added a Creative Commons license. If you need any further
privileges to add brushes and patterns to the native GIMP resource set
(if the developers are interested in that) then just say so.

Thank for your help btw.

Regards
Rene Jensen


___
Gimp-user mailing list
Gimp-user@lists.xcf.berkeley.edu
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user


[Gimp-user] Yet another collection of brushes and patterns..

2005-05-01 Thread Rene Jensen
Howdy folks, and thanks for a great program.

I don't know where you keep you link section for external resources, but
if you want to add my brushes and patterns, feel free to do so. All is
free and homemade so no strings attached. I use most of it for game
graphics, and it works sweet. One do have to figure out how to use them
first, though :)

I add to the collection every now and then. 

Stuff: http://www.artcamilla.dk/vaultage/cornucopia/
Examples of use: http://www.artcamilla.dk/vaultage/examples/

Have fun and keep coding, it makes the world happy..

Sincerely
Rene Jensen


___
Gimp-user mailing list
Gimp-user@lists.xcf.berkeley.edu
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user