Re: [Gimp-user] Problems Installing gmic_gimp plug-in

2010-07-07 Thread Jeff Trefftzs
On Wed, 2010-07-07 at 10:48 +0200, Torsten Neuer wrote:

 Try open Gimp from the command line.
 If GMic crashes during initialization, you will most probably see some 
 descriptive error message there.

Thanks, Torsten.  That worked.  (I was missing fftw).  I'll remember to
try the command line next time.

-- 
Jeff Trefftzs
http://www.trefftzs.org

___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


[Gimp-user] Problems Installing gmic_gimp plug-in

2010-07-06 Thread Jeff Trefftzs
I've just come back to the GIMP after some years absence,  but thought I
knew what I was doing.  However -- I downloaded the gmic_gimp plugin for
64-bit Linux, and installed it (I thought) by unzipping the binary into
$HOME/.gimp-2.6/plug-ins.  It's there, it's a 64-bit ELF binary, etc.
But the GIMP never seems to find it.  

So, I tried it again in the global
library:  /usr/lib64/gimp/2.0/plug-ins.  Still no luck.  It doesn't show
up in the filters menu, nor does it appear in the plug-in browser. 

Has anyone gotten this plug-in working?  

System:  Dual-core Athlon II,
OS:  Fedora Core 11 (very recent installation).
GIIMP:  2.6.8 (came with distro).

-- 
Jeff Trefftzs
http://www.trefftzs.org

___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] Problems Installing gmic_gimp plug-in

2010-07-06 Thread Jeff Trefftzs
On Tue, 2010-07-06 at 19:54 +0200, Jernej Simončič wrote:

 Make sure it's got executable bit set.

-rwxr-xr-x. 1 jeff jeff 2749352 2010-06-30 01:37 gmic_gimp

(From /usr/lib64/gimp/2.0/plug-ins).  Executable by everyone.

Any other suggestions?  
 
-- 
Jeff Trefftzs
http://www.trefftzs.org

___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] wilbert

2006-03-30 Thread Jeff Trefftzs
On Thu, 2006-03-30 at 23:13 +0100, sam ende wrote:
 where is he ?, i am looking for a wilbert i saw some time ago, he had a 
 hat on and a paintbrush in his mouth, dratted if i can find that image 
 age, any ideas ?

His name's really Wilber (no 't'), and you can find numerous versions
if you google for wilber construction kit.

HTH
-- 
Jeff


___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] text decoration

2006-01-14 Thread Jeff Trefftzs
On Sat, 2006-01-14 at 20:59 -0800, Alan Wolfe wrote:
 Hey guys,
  
 I was wondering, is there a way to style text like you can in
 photoshop ie add gradients, patterns, outlines, etc?

Oodles of ways, actually.  Start by selecting the text.  If it's on its
own layer, try alpha to selection.  Once it's selected, you can fill it
with patterns, gradients, or whatever else suits your fancy.  For more
information, check out the tutorials at

http://www.gimp.org  or
http://http://gug.sunsite.dk/?
page=tutorialsPHPSESSID=8cd86ef0b5a6b689d501fdc95faf7905

For more examples, look at the script-fu source for the various logos.

HTH

-- 
Jeff


___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] Can't get this image sharp with GIMP. Any suggestions?

2005-11-02 Thread Jeff Trefftzs
On Wed, 2005-11-02 at 14:19 +0100, qeldroma wrote:

 No matter how, because EVERY image get's blured. It could be summer in the 
 desert and it would get blured ;)
 
 It's just a 2MPix handy-cam, so that's the reason, but i don't need PERFECT 
 results, just a little bit better results, i know i know, it's just a 
 handy ;)
 The lens is clean, though.

Every image?!  Perhaps you have the camera set to soft-focus -
sometimes  suggested for taking romanticized portrait photos.  Have you
checked this setting?

-- 
Jeff


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


Re: [Gimp-user] Automating scaling tasks

2005-04-02 Thread Jeff Trefftzs
On Sat, 2005-04-02 at 15:26 -0800, Richard C. Steffens wrote:
 Is there a set of instructions for automating the task of scaling images?
 
 I have a large number of images that I want to scale to three different 
 sizes. 
 I successfully do this manually, and it doesn't take too long, but I'd like 
 to find (or create -- but I can't imagine someone hasn't already done this) a 
 script to run that will do this for me. 
 
 I would point the Gimp to a directory containing links to images, and have 
 the 
 script cycle through all the images, creating three copies of each image, 
 each scaled to a different size and leaving them in that directory. To get 
 even fancier, I'd save each size in a sub-directory.
 
 Thanks for helping a Gimp newbie.
 
ImageMagick is your friend here.  It's specifically designed for just
the type of batch operations you're wanting.  Check out

man convert
man mogrify
and 
man ImageMagick for more details.

Basically you would write a quick shell script along these lines:

#!/bin/bash
indir=/directory/with/original/pix
bigpix=/direceory/with/big/output
medpix=/directory/with/med/pix
thumbpix=/directory/with/thumbnail/pix
thisdir=`pwd`

cd $indir
for $img in *.jpg
do
convert -size 800x800 -resize 800x800 $img $bigpix/$img_big.jpg
convert -size 640x640 -resize 640x640 $img $medpix/$img_med.jpg
convert -size 120x120 -resize 120x120 $img $thumbpix/$img_thumb.jpg
done
cd $thisdir

#  end of bash script

HTH,

-- 
Jeff


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


Re: [Gimp-user] simple question

2005-03-24 Thread Jeff Trefftzs
On Thu, 2005-03-24 at 13:42 -0300, timmy wrote:
 Hello list, 
 
 Where is the option 'Darken Only' on gimp 2.2.4? I mean, EXACTLY
 wheres it. =P (ie.: under layers dialog, mode, the 4th from bottom to
 top... =P)

Sixth from the bottom.

-- 
Jeff


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


Re: [Gimp-user] fail to configure gimp-2.2.0

2005-03-21 Thread Jeff Trefftzs
On Mon, 2005-03-21 at 14:33 -0500, Micheal LeVine wrote:
 I have been trying to build GIMP 2.2.0 from source, since the RPM for 
 my OS (Redhat 9) is way out of date.
 
 The configure command fails:
 ==
 checking for GLIB - version = 2.4.5...
 *** 'pkg-config --modversion glib-2.0' returned 2.4.8, but GLIB (2.2.1)
 *** was found! If pkg-config was correct, then it is best
 *** to remove the old version of GLib. You may also be able to fix the 
 error
 *** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing
 *** /etc/ld.so.conf. Make sure you have run ldconfig if that is
 *** required on your system.
 *** If pkg-config was wrong, set the environment variable 
 PKG_CONFIG_PATH
 *** to point to the correct configuration files
 no
 configure: error: Test for GLIB failed. See the file 'INSTALL' for help.
 
 
 
 I have configured, made and  installed GLIB and have corrected 
 LD_LIBRARY_PATH and PKG_CONFIG_PATH.  I cannot get past this problem 
 with the version conflicts in GLIB.
 
 Any help will be appreciated

Looks like you're hitting the dependency hell problem.  Your old glib
came from rpms, your new one from source.  Can you track down the
appropriate rpms for the later glib and install them instead?  I'd
suggest first doing a make uninstall of the fresh new glib that you
just spent all that time building.  

The problem is that you have the new glib installed in /usr/local
(probably), but still have the old rpm installed in /usr.  

HTH,
-- 
Jeff


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


Re: [Gimp-user] Gimp-2.2.x very slow to load image

2005-03-13 Thread Jeff Trefftzs
On Sat, 2005-03-12 at 23:46 -0800, Manish Singh wrote:

 Upgrade to the latest gtk2 in Fedora. GTK+ versions prior to 2.4.14 had
 rather inefficient GtkUIManager code. The stalls you are seeing is the
 time it takes the build the large number of menu items GIMP has with
 its image windows.

Thanks, Yosh.  That did it.  Whew!

-- 
Jeff


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


[Gimp-user] Gimp-2.2.x very slow to load image

2005-03-12 Thread Jeff Trefftzs
I recently upgraded to gimp-2.2.4 (and .3 before that), just after I
installed Red Hat Fedora Core 3 as my new latest-and-greatest operating
system.  I'm running it on an AMD K6 processor, 450 Mhz, 256MB of RAM,
plenty of HD space.

Whereas in gimp-2.0.x images would load promptly, I find that with 2.2.x
that there is an approximately 40 second delay between the time the
progress bar says the image is ready and the time it appears on the
screen.  I use the Gimp a lot for tweaking digital photos, usually
loading the original photo and then immediately duplicating it so I
don't mess up my 'negative'.  (I'm sure you can guess why).  But now I
find that it takes 40+ seconds to load the original image (1600x1200 px,
maybe a couple of hundred MB), and another 40 sec or so to duplicate it.

Eeek!  What's happened here?  I have tried boosting the tile cache t0
160Mb and stripping the executable, but with no result.  Has anyone else
seen this problem, and have y'all any suggestions?  Since I haven't
noticed anyone else having this problem, it's probably something I'm
doing (or not doing), but I don't know what it might be.

All advice gratefully welcomed -

-- 
Jeff


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


Re: [Gimp-user] Alpha to Logo problem

2005-01-27 Thread Jeff Trefftzs
On Thu, 2005-01-27 at 08:44, Jim Clark wrote:
 I am having trouble getting this to work as I think it shouldWhen
 a use a text layer and process it with these tools, any drop shadows
 or blurs on the far right edge are chopped off. It takes the text
 layer, makes that the width of the manipulated image, and anything
 that might be to the right of that is gone.
 
 So the blurs looks great until we get to the chopped right edge. Any
 suggestions--or am I doing something wrong?

Try the Layer to Image Size function in the layers and channels menu.
(Right click on the Layers and Channels Dialog to get the menu).  This
will expand the text layer to make room for the drop shadow.

HTH,
-- 
Jeff


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


Re: [Gimp-user] Alpha to Logo problem

2005-01-27 Thread Jeff Trefftzs
On Thu, 2005-01-27 at 11:49, Jim Clark wrote:
 I tried that before sending my original message, but it did not work.
 I posted some screenshots and more explanation at:
 
 http://www.llywelyn.net/gimp/gimp.html
 

The key is to do layer to image size on the text layer *before* you run
alpha to logo.  Then it all seems to work.  (I'm still using gimp-2.0.6
-- 2.2 is awaiting my upgrade to Fedora Core 3).

-- 
Jeff


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


Re: [Gimp-user] Tiff-library not found for gimp 2.2

2004-11-26 Thread Jeff Trefftzs
On Fri, 2004-11-26 at 10:09, Jogchum Reitsma wrote:
 Hi,
 
 Thanks for your quick reply.
 
 Frankly, I did read INSTALL, and also that section, but didn't think the 
 solution offered there would bring me luck.
 
 But after your reply I did
 
 export LDFLAGS=-L/usr/local/lib
 
 before running configure.
 
 This is what configure says:
 
 checking for TIFFReadScanline in -ltiff... no
 checking for TIFFWriteScanline in -ltiff... no
 checking for TIFFFlushData in -ltiff34... no
 configure: WARNING: *** TIFF plug-in will not be built (TIFF library not 
 found) ***
 configure: error:
 *** Checks for TIFF libary failed. You can build without it by passing
 *** --without-libtiff to configure but you won't be able to use TIFFs then.
 
 There are no more references to libtiff in the output from configure, as 
 far as I can see.
 
 Maybe I installed the wrong version of libtiff? Mine is 3.7.0: 
 /usr/local/lib reads among other:
 
 lrwxrwxrwx   1 root root 13 2004-11-26 14:46 libtiff - libtiff.3.7.0*
 lrwxrwxrwx   1 root root 13 2004-11-26 14:46 libtiff.3 - libtiff.3.7.0*
 -rwxr-xr-x   1 root root 700919 2004-11-26 14:46 libtiff.3.7.0*
 -rw-r--r--   1 root root 981630 2004-11-26 14:46 libtiff.a
 -rwxr-xr-x   1 root root783 2004-11-26 14:46 libtiff.la*
 
 I don't need the tiff-library myself, so I could give --without-libtiff 
 to configure. But since testing is my object, it would be nice to have 
 it included.

Do you have /usr/local/lib in your /etc/ld.so.conf file?  Make sure it's
there, and run ldconfig again and see what happens.

HTH,
-- 
Jeff

___
Gimp-user mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user


Re: [Gimp-user] How do I do this ?

2004-11-12 Thread Jeff Trefftzs
On Fri, 2004-11-12 at 10:42, Richard wrote:
 RGB to LAB select Lightness channel and then convert to Grayscale
 
 My photo is in RGB, how do I select LAB, and select Lightness channel,
 in Gimp ?

Filters-Colors-Decompose

HTH,
-- 
Jeff


___
Gimp-user mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user


Re: [Gimp-user] Scheme question

2004-10-18 Thread Jeff Trefftzs
On Fri, 2004-10-15 at 16:00, Steve Crane wrote:
 I have been trying to write some scripts to automate tasks but find that
 I have some trouble using scheme.  Although I am experienced in other
 languages I find scheme quite difficult to master as I can't seem to
 find any language references.  There are lots of tutorials and samples
 showing how to create scripts but nothing that I could find that
 actually describes the language, functions available, etc.

http://www.cs.indiana.edu/scheme-repository/imp/siod.html

This document describes (well, mostly) the implementation of scheme used
in the GIMP.  I have found that with this doc and occasional reference
to existing scripts I can write my own scripts with no problem.

HTH,

-- 
Jeff


___
Gimp-user mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user


Re: [Gimp-user] Old question

2004-06-25 Thread Jeff Trefftzs
On Fri, 2004-06-25 at 09:45, Jim Clark wrote:

 I want to make an equilateral septagon. There was some way to measure
 angles, but I cannot find it and cannot remember. Can someone point
 please?

You probably want to try using the gfig filter. 
Image-Filters-Render-gfig

HTH,

-- 
Jeff


___
Gimp-user mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user


Re: [Gimp-user] ANNOUNCE: GIMP 2.0.2

2004-06-16 Thread Jeff Trefftzs
On Tue, 2004-06-15 at 09:22, Sven Neumann wrote:
 Hi,
 
 GIMP version 2.0.2 is now available from ...

I justs downloaded patch-2.0.2.bz2 and applied it to my gimp-2.0.1
sources (upgraded with the 2.0.1 patch from gimp-2.0.0).  It mostly
worked, except for gimp-tips.xml:

75 out of 75 hunks FAILED -- saving rejects to file 
tips/gimp-tips.xml.rej

Is this a known problem or is it something I'm missing?

-- 
Jeff



___
Gimp-user mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user


Re: [Gimp-user] how to change colors

2004-06-13 Thread Jeff Trefftzs
On Sun, 2004-06-13 at 11:45, Rick Pasotto wrote:
 I have a fairly simple gif image that has various shades of brown. I'd
 like to have the same image but with various shades of grey instead.
 What would be the easiest way of doing this? Is there an algorithmic way
 of converting the brown range to a grey range? Given that I could easily
 change the values in the colormap.

You have several options.  

1.  Image:Mode:Grayscale  this will convert your gif to grayscale
You can then convert it back to GIF (e.g. Image:Mode:Indexed, and save
with the .gif extension)

2.  Image:Mode:RGB  convert the image to RGB, then
Layer:Colors:Desaturate  will give you grayscale.
Image:Mode:Indexed to get it back to indexed, and save with .gif
extension as before.

HTH,
-- 
Jeff


___
Gimp-user mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user


Re: [Gimp-user] color and grey-scale.

2004-02-15 Thread Jeff Trefftzs
On Sun, 2004-02-15 at 08:52, Adam Gautier wrote:
 I have a newbie question; so please be forgiving with
 my terminology.  I want to take a color image and make
 it one color.  Basically, any color red, yellow, ...
 would be made say, blue.  Any transparent or white
 pixels are transparent. 
 

Have you tried this?

1.  Duplicate the layer you want to play with.
2.  In the duplicate layer, use Image/Colors/Desaturate to make it a
pseudo grayscale image.
3.  Select a monochrome gradient (e.g., blue to white or blue to
transparent).
4.  Use Filters/Colors/MAP/Gradient Map
and hey, presto!

You may wish to start by using the color-to-alpha filter first to
convert the white pixels to transparent, say as step 2a, if you really
want transparency.

HTH,
-- 

--Jeff

Jeff Trefftzs [EMAIL PROTECTED]
http://www.tcsn.net/trefftzsHome Page
http://gug.sunsite.dk/gallery.php?artist=68 Gimp Gallery
http://trefftzs.topcities.com/  Photo Gallery 

___
Gimp-user mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user


Re: [Gimp-user] Resizing *many* images?

2003-11-13 Thread Jeff Trefftzs
On Thu, 2003-11-13 at 15:00, Nick Wilson wrote:
 Hi everyone, 
 
 Does anyone know if there is a way to 'batch resize'? - I have about
 1000 images that all need to be 20% of the original size...
 
 Many thanks!

man ImageMagick
man convert
man mogrify

etc.

ImageMagick is your friend for this kind of job.  It will convert
batches of images with a simple command line interface.  

For example:

for pic in *.jpg
do
convert -resize 20%x20% $pic small_$pic
done

HTH,
-- 

--Jeff

Jeff Trefftzs [EMAIL PROTECTED]
http://www.tcsn.net/trefftzsHome Page
http://gug.sunsite.dk/gallery.php?artist=68 Gimp Gallery
http://trefftzs.topcities.com/  Photo Gallery 

___
Gimp-user mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user


Re: [Gimp-user] Extracting text from a cover.

2003-09-26 Thread Jeff Trefftzs
On Fri, 2003-09-26 at 08:43, John Culleton wrote:
  I have a cover image in JPEG format from a client. I want to extract just
   the typeset material (dark blue) from the jpg file, convert to grayscale 
   and use it for the interior title pages. What is the quickest way to do
   this?

 Here is the jpg:
 http://wexfordpress.com/Cover3.jpg

I tried the simplest thing:  select by color, clicking on the text, and
it selected the text and only the text.  Then I copied the selection and
pasted it back on a white background in a new layer. 
Image/Colors/Desaturate makes it black on white; or you could change the
image mode to grayscale.  Or you could paste the original selection on a
transparent background ... (or even into a new image).

Is this what you were looking for?

-- 

--Jeff

Jeff Trefftzs [EMAIL PROTECTED]
http://www.tcsn.net/trefftzsHome Page
http://gug.sunsite.dk/gallery.php?artist=68 Gimp Gallery
http://trefftzs.topcities.com/  Photo Gallery 

___
Gimp-user mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user


Re: [Gimp-user] Script-Fu Help

2003-09-26 Thread Jeff Trefftzs
On Thu, 2003-09-25 at 23:20, Zeke Lightwave wrote:
 I'm trying to edit the 3D-Outline script so I can change the background 
 to being something non-white, can anybody help me with this? I've looked 
 at the source and tried changing the colors where it set's the bg/fg, 
 but that didn't help . . TIA.

The right place to change things is in the line that looks like this:

 (gimp-palette-set-background '(255 255 255))

near the beginning of the apply-3d-outline-logo-effect function.  It's
at line 43.

For a quick-n-dirty fix, simply enter the RGB values for the background
color you want;  for a better fix, you might want to add a background
color parameter that defaults to white.

caveat I haven't tested this -- just took a quick look at the code.
/caveat

HTH,
-- 

--Jeff

Jeff Trefftzs [EMAIL PROTECTED]
http://www.tcsn.net/trefftzsHome Page
http://gug.sunsite.dk/gallery.php?artist=68 Gimp Gallery
http://trefftzs.topcities.com/  Photo Gallery 

___
Gimp-user mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user


Re: [Gimp-user] Gradient and Palette conversions

2003-09-23 Thread Jeff Trefftzs
On Tue, 2003-09-23 at 04:01, Sven Neumann wrote:
 Hi,

 
 What warnings do you get exactly? Perhaps we could suppress them or
 make them more subtle warnings that appear on the console only.
 

I'm sorry -- I didn't make myself clear (too late at night, I guess.)
The warnings were on the console, not in gimp-message boxes, and were to
the effect that the palette was not in current gimp format, falling back
to legacy mode ...   

It wa irritating because I have a large number of palettes and the
plethora of messages made it difficult to find other, possibly more
important, error messages amid the clutter.  I have successfully
converted both the gradients and the palettes and now the messages have
stopped.

-- 

--Jeff

Jeff Trefftzs [EMAIL PROTECTED]
http://www.tcsn.net/trefftzsHome Page
http://gug.sunsite.dk/gallery.php?artist=68 Gimp Gallery
http://trefftzs.topcities.com/  Photo Gallery 

___
Gimp-user mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user


Re: [Gimp-user] Gradient and Palette conversions

2003-09-22 Thread Jeff Trefftzs
On Mon, 2003-09-22 at 17:14, Sven Neumann wrote:
 Hi,
 Oh? Actually 1.3 is supposed to read the 1.2 palette and gradient
 files directly. Did we break backward compatibility? If so, this should
 better be fixed.
 
Gimp-1.3.20 seems to read the 1.2 palettes and gradients properly, but
it complains mightily about having to use the legacy format.  These are
purely for convenience and to reduce the number of warnings at load
time.

-- 

--Jeff

Jeff Trefftzs [EMAIL PROTECTED]
http://www.tcsn.net/trefftzsHome Page
http://gug.sunsite.dk/gallery.php?artist=68 Gimp Gallery
http://trefftzs.topcities.com/  Photo Gallery 

___
Gimp-user mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user


Re: [Gimp-user] Colour - Alpha

2003-09-07 Thread Jeff Trefftzs
On Thu, 2003-09-04 at 12:59, chris.danx wrote:
 Hi,
 
 Is it possible to make all pixels of a given colour transparent?  I've 
 just started playing with the gimp and am a bit stuck.  Basically I want 
 to duplicate a selection in the background layer, put it in a 
 transparent layer with only the non-white pixels opaque.  Maybe there's 
 a better way to do this?

Sorry for the delay - it's now Sunday and this post only just arrived.

Short answer:  Image/Select/Select by Color  should do it.  If you want
to make the selected (or not selected) pixels transparent, make sure you
have an alpha channel.  You can't do this on the background layer.

An alternative is the Image/Filters/Colors/Color_to_alpha plug-in.

Experiment with both of these and see what works for you.

-- 

--Jeff

Jeff Trefftzs [EMAIL PROTECTED]
http://www.tcsn.net/trefftzsHome Page
http://gug.sunsite.dk/gallery.php?artist=68 Gimp Gallery
http://trefftzs.topcities.com/  Photo Gallery 

___
Gimp-user mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user


Re: [Gimp-user] select at 0,0 + px to mm

2003-09-04 Thread Jeff Trefftzs
On Mon, 2003-09-01 at 10:41, David selby wrote:
 I am getting the hang of Gimp1.2. I use it mainly to print out
 speciality cards via my inkjet.
 When I start a fresh canvas I can and do define it in mm, set the dpi
  off I go. My questions are
 
 1. Is there an easy way to move selections to the exact edge of the
 canvas ? I end up zooming in and twitching the mouse till I get 0,0. Is
 there a quicker way ?

Here's a script to do what you want, I think.  Just copy it into your
~/.gimp-1.2/scripts directory, refresh the script-fu collection
(Toolbox/Xtns/Script-Fu/Refresh) and you're ready to go.  You'll find
the script in Image/Script-Fu/Utilities.


-- cut here --
;;;
;;; precision-select.scm
;;;
;;;
;;;  Jeff Trefftzs [EMAIL PROTECTED]

;;; 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.
;;; 
;;; You should have received a copy of the GNU General Public License
;;; along with this program; if not, write to the Free Software
;;; Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.

;;; Define the function:

(define (script-fu-precision-select inImage inLayer
inXorig inYorig
inWidth inHeight)

  (gimp-rect-select inImage 
inXorig inYorig
inWidth inHeight
REPLACE
FALSE   ; No feathering
0)

  (gimp-displays-flush)
)

(script-fu-register
 script-fu-precision-select
 _Image/Script-Fu/Utils/Precision Selection
 Precision select carefully places a rectangular selection\
of the user-specified size at the user-specified coordinates.\
I decided this would be useful after trying for the nth time\
to select just the square front of a CD cover.
 Jeff Trefftzs
 Copyright 2002, Jeff Trefftzs
 January 11, 2002
 RGB* GRAY* INDEXED*
 SF-IMAGE The Image 0
 SF-DRAWABLE The Layer 0
 SF-ADJUSTMENT X origin '(0 0  1 10 0 1)
 SF-ADJUSTMENT Y origin '(0 0  1 10 0 1)
 SF-ADJUSTMENT Width '(0 0  1 10 0 1)
 SF-ADJUSTMENT Height '(0 0  1 10 0 1)
)
- cut here --

-- 

--Jeff

Jeff Trefftzs [EMAIL PROTECTED]
http://www.tcsn.net/trefftzsHome Page
http://gug.sunsite.dk/gallery.php?artist=68 Gimp Gallery
http://trefftzs.topcities.com/  Photo Gallery 

___
Gimp-user mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user


Re: [Gimp-user] Need to write script but not sure where to start.

2003-08-24 Thread Jeff Trefftzs
Hi Walter -

Script-fu is, as you know, a bastard dialect of Scheme, which is a Lisp
variant.  One of the problems in writing script-fu is finding a good
reference manual for the Gimp's scheme implementation.  Another is
finding examples of good script-fu code.

You can find the scheme documents at
http://www.cs.indiana.edu/scheme-repository/imp/siod.html
(Note that the GIMP doesn't have all the functions listed in this
manual, but it's close enough to work).

For examples of script-fu in use, look at the scripts that come with the
GIMP:  $PREFIX/gimp/1.2/scripts/ or
$PREFIX/gimp/1.3/scripts/
where $PREFIX is the path to your gimp installation (usually /usr or
/usr/local).

There are several references to script-fu tutorials on the gimp.org
website as well.
http://www.gimp.org/scripts.html


And there is also a script-fu group on yahoo:
http://groups.yahoo.com/group/script-fu/
Post message: [EMAIL PROTECTED] Subscribe: 
[EMAIL PROTECTED] Unsubscribe: 
[EMAIL PROTECTED] List owner: 
[EMAIL PROTECTED]

For writing scripts yourself, I would recommend starting with gimp-1.2.5
(the current stable version), and utililzing the PDB Explorer to help
you figure out what arguments each function requires.  I usually have it
open in one window while I'm writing my script in an adjacent emacs
window (YMMV).  I find that the PDB Explorer is a real help, telling me
what kinds of arguments, how many, and in what order.

You should also look at the scripts that came with our gimp
distribution. That is particularly useful for learning certain idioms
(like the quickest way to anchor a floating selection, etc.)

Feel free to mail me if you have more questions.
-- 

--Jeff

Jeff Trefftzs [EMAIL PROTECTED]
http://www.tcsn.net/trefftzsHome Page
http://gug.sunsite.dk/gallery.php?artist=68 Gimp Gallery
http://trefftzs.topcities.com/  Photo Gallery 

___
Gimp-user mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user


Re: [Gimp-user] Sources of Public-Domain Photography and Images

2003-08-14 Thread Jeff Trefftzs
On Fri, 2003-08-08 at 07:51, Jonathan Bartlett wrote:
 I'm looking for public-domain photography and drawings.  Not just
 royalty-free, because I'm wanting to include them in a collection
 (although it could be creative-commonsly licensed).  Does
 anyone know where such a repository might be?  Would anyone be interested
 in contributing if I were to start one?

As you can see from the immediate responses, there seem to be lots of us
who would like to help.
 
 My main purpose is coming up with a set of GIMP-scripts to make
 communication boards for children with speech problems, and I need a large
 archive of pictures to be able to include.  However, I think open-source
 images (not just royalty-free) are also very much needed for a variety of
 reasons.

Can you tell us more about the kinds of photos you'd like?  Things?
Actions? And maybe some links to tell us more about communication
boards?

Thanx,
-- 

--Jeff

Jeff Trefftzs [EMAIL PROTECTED]
http://www.tcsn.net/trefftzsHome Page
http://gug.sunsite.dk/gallery.php?artist=68 Gimp Gallery
http://trefftzs.topcities.com/  Photo Gallery 

___
Gimp-user mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user


Re: [Gimp-user] Clouds filter

2003-07-16 Thread Jeff Trefftzs
On Wed, 2003-07-16 at 13:35, Mike Thorn wrote:
 
 Mike Thorn [EMAIL PROTECTED] writes:
 
   
 
 When I used 1.2.4 there was a pluginto make sky patterns with. It had
 colorpickers for things like clouds, shadows, sun, horizon, etc. That
 was all well and good, but I can't find it now in 1.2.5 and of course
 now I want it. What happened to it? Was it taken out and made into an
 optional plugin? Or did I miss something?
 

The plug-in was always an add-on.  It would have been installed in
/usr/local/lib/gimp/1.2/plug-ins/phymodmedia (at least on a Linux
system) so you may need to reinstall it.

Good luck,

-- 

--Jeff

Jeff Trefftzs [EMAIL PROTECTED]
http://www.tcsn.net/trefftzsHome Page
http://gug.sunsite.dk/gallery.php?artist=68 Gimp Gallery
http://trefftzs.topcities.com/  Photo Gallery 

___
Gimp-user mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user


Re: [Gimp-user] Fonts in 1.3.x

2003-07-01 Thread Jeff Trefftzs
Hi Sven,

Thanks for the illuminating explanation of the font situation.  I will
start researching font contents  formats.

Regards,
-- 

--Jeff

Jeff Trefftzs [EMAIL PROTECTED]
http://www.tcsn.net/trefftzsHome Page
http://gug.sunsite.dk/gallery.php?artist=68 Gimp Gallery
http://trefftzs.topcities.com/  Photo Gallery 

___
Gimp-user mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user


[Gimp-user] Fonts in 1.3.x

2003-06-30 Thread Jeff Trefftzs
On Fri, 2003-06-27 at 03:08, Sven Neumann wrote:

 
 This font selector dialog is likely to go away as soon as the font
 list/grid and popup widgets are good enough to replace it.
 
For some time now, on both 1.2.x and 1.3.x, I have noticed some
curiosities about the GIMP's font handling.  I have downloaded and
installed a number of true-type fonts, most of which work fine, as long
as I run xfstt to serve them up, but a few of these fonts behave
differently depending on which tool I use to view them.

In particular, using GIMP-1.2.5, the text tool by itself fails to show
any characters for several of my fonts, meaning I can't use them,
although the Freetype tool, while still not letting me use any of the
characters, will at least show them in the character grid.

In GIMP-1.3.15, I have similar problems, but now that I'm running RH-9
(a Gnome-2 system), I find that Nautilus can display *all* of my fonts,
at least to the point of popping up the gnome-font-viewer when I click
on the font file in Nautilus.  What are the plans to unify font
handling?  I realize this is a horribly hairy problem.

Regards,
-- 

--Jeff

Jeff Trefftzs [EMAIL PROTECTED]
http://www.tcsn.net/trefftzsHome Page
http://gug.sunsite.dk/gallery.php?artist=68 Gimp Gallery
http://trefftzs.topcities.com/  Photo Gallery 

___
Gimp-user mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user


Re: [Gimp-user] Bezier Curves in 1.3.16

2003-06-30 Thread Jeff Trefftzs
On Mon, 2003-06-30 at 05:17, Sven Neumann wrote:
 Hi,
 
 Jeff Trefftzs [EMAIL PROTECTED] writes:
 
  It appears that the bezier curve tool usage has changed between 1.2.x
  and 1.3.
 
 Yes, the path tool is being completely rewritten.
 
  In 1.2 I could close the curve, click inside the closed curve, and
  then proceed to edit the points, adjusting the curve to fit whatever
  object I was trying to define.  In 1.3 I seem unable to close the
  curve at all, leading me to believe I am missing something *really*
  elementary.  Can anyone point me in the right direction?
 
 You will have to wait until this feature has been implemented in the
 new tool. It's simply not there yet.

Ahhh!  No wonder.  Thanks for the news.  The more I use the newest Gimp,
the more I find myself liking it, even though it does take a bit of
getting used to ...

Regards,
-- 

--Jeff

Jeff Trefftzs [EMAIL PROTECTED]
http://www.tcsn.net/trefftzsHome Page
http://gug.sunsite.dk/gallery.php?artist=68 Gimp Gallery
http://trefftzs.topcities.com/  Photo Gallery 

___
Gimp-user mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user


[Gimp-user] Bezier Curves in 1.3.16

2003-06-28 Thread Jeff Trefftzs
Greetings, fellow gimpers -

It appears that the bezier curve tool usage has changed between 1.2.x
and 1.3.  In 1.2 I could close the curve, click inside the closed curve,
and then proceed to edit the points, adjusting the curve to fit whatever
object I was trying to define.  In 1.3 I seem unable to close the curve
at all, leading me to believe I am missing something *really*
elementary.  Can anyone point me in the right direction?

TIA,
-- 

--Jeff

Jeff Trefftzs [EMAIL PROTECTED]
http://www.tcsn.net/trefftzsHome Page
http://gug.sunsite.dk/gallery.php?artist=68 Gimp Gallery
http://trefftzs.topcities.com/  Photo Gallery 

___
Gimp-user mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user


Re: [Gimp-user] Metal tutorial

2003-06-26 Thread Jeff Trefftzs
On Thu, 2003-06-26 at 06:17, Khiraly Kalman wrote:
 Hi!
 
 Im trying to reproduce some photoshop tutorial in gimp. Im stoned at
 this tutorial:
 
 http://www.deviantart.com/tutorial/529467
 
 i have no idea how to do STEP 10 in GIMP, does anyone have some idea?
 

Hi Khiraly -

The GIMP does not (to my knowledge) have anything that *exactly* matches
PhotoShop's lighting plugin.  But you can do a lot with the GIMP's own
lighting plugin.  You just have to play with it a lot.  I seem to
remember some rumors from last year (?) that someone was working on a
new, improved GIMP lighting plug-in, but ...

Sorry I can't be more help.

Happy Gimping,
-- 

--Jeff

Jeff Trefftzs [EMAIL PROTECTED]
http://www.tcsn.net/trefftzsHome Page
http://gug.sunsite.dk/gallery.php?artist=68 Gimp Gallery
http://trefftzs.topcities.com/  Photo Gallery 

___
Gimp-user mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user


Re: [Gimp-user] Fonts in 1.3.15

2003-06-26 Thread Jeff Trefftzs
Hi Mike -

Fonts aren't quite as intuitive (or maybe we're both just set in our
ways) as in GIMP-1.2.x, but here's how it works:

1.  Double click on the text tool in the toolbox.  This will give you
the tool's own dialog box, where you can set the font, the size, the
color, and the alignment of the text you enter.
When you click on the selector button at the right of the font name, you
will get a dialog box with the six dozen liquor jugs text.  There you
can set the font style, if there are any variants.

2.  Click in the image window.  This will pop up an entry box where you
can enter your desired text, also selecting left-to-right or
right-to-left directionality.  

I think 1.3.x puts a whole lot of controls in the tools' own control
panels.  Once you've opened a single tool control panel, though, it will
reflect the controls for whatever tool is active.

HTH,
-- 

--Jeff

Jeff Trefftzs [EMAIL PROTECTED]
http://www.tcsn.net/trefftzsHome Page
http://gug.sunsite.dk/gallery.php?artist=68 Gimp Gallery
http://trefftzs.topcities.com/  Photo Gallery 

___
Gimp-user mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user


Re: [Gimp-user] installing plugins

2003-06-21 Thread Jeff Trefftzs
On Sat, 2003-06-21 at 14:58, Mike Thorn wrote:
 Hello,
 
 Being new to this list and all (just moved over from the gimpwin-users 
 list) and being new to Linux, I have a question. I recently upgraded 
 from 1.2.4 on Win2Kand Win98 to 1.2.5 on RedHat 8. I'm trying to install 
 a plugin (blade-roto.scm, http://www.baudalign.com) and I can't figure 
 it out. Forgive me if this is a stupid question...I found the list 
 archives search engine broken.
 
 If anybody can tell me what I have to do with the file let me know. I am 
 somewhat familiar with make and all that. BTW, I have GIMP installed in 
 /usr/src/gimp-1.2.5/ and I also have another folder (which I am rather 
 clueless as to its function) in /home/Irish/gimp-1.2/. On a hunch I 
 tried putting the .scm in the /scripts/ directory in both locations and 
 restarting GIMP, but no luck. Obviously I'm still a newbie.
 
 If anybody can help me I would really appreciate it!

Hi Mike -

Can you get the GIMP to run at all?  Here's what looks odd to me in your
report:

1.  gimp-1.2.5 in /usr/src  This looks very odd, unless that is the
source tree for gimp-1.2.5.  If that's the case, then cd to that
directory, (/usr/src/gimp-1.2.5) and build and install the binary.  You
will find the instructions in a file named, oddly enough, INSTALL ;).
To summarize the instructions there, you first run ./configure, to build
the makefiles according to your system's capabilities; then make, to
compile the program, and finally, make install, to actually put the
binaries somwhere in your search path.  Note that you'll probably need
to be root to actually perform the install.

2.  If /home/Irish is your home directory, you were on the right track
in putting your script somewhere in that tree, but I think you should
have put it in /home/Irish/.gimp-1.2/scripts   Note the . before gimp. 
.gimp-1.2 is the root of your personalized gimp, and lets you add
plug-ins, scripts, patterns, brushes, etc that you can use without
needing root access.  

Anyway, try these suggestions, restart the GIMP, and you should see your
script somewhere in the menus, probably under Image/Script-fu/.  
wherever it registered itself.

Good luck and good gimping!
-- 

--Jeff

Jeff Trefftzs [EMAIL PROTECTED]
http://www.tcsn.net/trefftzsHome Page
http://gug.sunsite.dk/gallery.php?artist=68 Gimp Gallery
http://trefftzs.topcities.com/  Photo Gallery 

___
Gimp-user mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user


Re: [Gimp-user] GIMP-1.2.5 Compile Fails

2003-06-15 Thread Jeff Trefftzs
Hi Gimpers -

Following up on my own post (sorry 'bout that) - there's no bug.  It was
my system configuration.  I tweaked it last night and today the compile
ran fine.  Sorry to have bothered y'all.

Regards,
-- 

--Jeff

Jeff Trefftzs [EMAIL PROTECTED]
http://www.tcsn.net/trefftzsHome Page
http://gug.sunsite.dk/gallery.php?artist=68 Gimp Gallery
http://trefftzs.topcities.com/  Photo Gallery 

___
Gimp-user mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user


[Gimp-user] GIMP-1.2.5 Compile Fails

2003-06-14 Thread Jeff Trefftzs
Hi All -

I just downloaded and began compiling the latest stable gimp, 1.2.5. 
Configure worked properly, but the compile failed with the following
output:

gcc -DHAVE_CONFIG_H -I. -I. -I..
-I..-I../intl   -I/usr/include/gtk-1.2 
-I/usr/include/glib-1.2
-I/usr/lib/glib/include -I/usr/X11R6/include
-I/usr/local/include
-DLIBDIR=\/usr/local/lib/gimp/1.2\  
-DLOCALEDIR=\/usr/local/share/locale\   -DREGEX_MALLOC 
 -DG_LOG_DOMAIN=\Gimp\  
-DGTK_DISABLE_COMPAT_H  -g -O2 -Wall -c parasitelist.c
In file included from
/usr/lib/gcc-lib/i386-redhat-linux/3.2.2/include/limits.h:132,
 from
/usr/lib/gcc-lib/i386-redhat-linux/3.2.2/include/syslimits.h:7,
 from
/usr/lib/gcc-lib/i386-redhat-linux/3.2.2/include/limits.h:11,
 from /usr/lib/glib/include/glibconfig.h:9,
 from /usr/include/glib-1.2/glib.h:66,
 from /usr/include/gtk-1.2/gdk/gdktypes.h:33,
 from /usr/include/gtk-1.2/gdk/gdk.h:31,
 from /usr/include/gtk-1.2/gtk/gtk.h:31,
 from parasitelist.c:22:
/usr/include/limits.h:-6358: internal error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.

Any ideas what might cause this?  I'm on RH9, with a previously
installed Gimp-1.2.3.  Is it my system (not impossible) or is this a
real bug?

-- 

--Jeff

Jeff Trefftzs [EMAIL PROTECTED]
http://www.tcsn.net/trefftzsHome Page
http://gug.sunsite.dk/gallery.php?artist=68 Gimp Gallery
http://trefftzs.topcities.com/  Photo Gallery 

___
Gimp-user mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user


Re: [Gimp-user] script-fu

2003-03-18 Thread Jeff Trefftzs
Hi Pablo -

Yes, indeedy.  This is a good list to post script-fu questions.  I also 
recommend the script-fu list on yahoo:  [EMAIL PROTECTED]  You may 
need to join that list to post on it, but that's relatively painless.

HTH,

-- 
--Jeff

Jeff Trefftzs [EMAIL PROTECTED]
http://www.tcsn.net/trefftzsHome Page
http://gug.sunsite.dk/gallery.php?artist=68 Gimp Gallery
http://trefftzs.topcities.com/  Photo Gallery 



___
Gimp-user mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user


Re: [Gimp-user] Contrast Autostretch ?

2003-03-15 Thread Jeff Trefftzs
Hi John -

Image/Colors/Auto/Stretch Contrast

HTH

-- 
--Jeff

Jeff Trefftzs [EMAIL PROTECTED]
http://www.tcsn.net/trefftzsHome Page
http://gug.sunsite.dk/gallery.php?artist=68 Gimp Gallery
http://trefftzs.topcities.com/  Photo Gallery 



___
Gimp-user mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user


Re: [Gimp-user] Metal effect

2003-02-22 Thread Jeff Trefftzs
Hi Alf -

Check out the chrome-text tutorial at the gug website: 

http://gug.sunsite.dk/tutorials/tomcat16/

The basic trick is to select the item(s) you want chromed, fill them with a 
gray to gray gradient, blur, bump map, and then twiddle the curves to get a 
chrome/reflection effect.

See also GGJ's neat reflection tutorial at

http://200.195.195.206/ggj/reflection3/reflection.html

These should give you some good ideas about how to proceed.  Just use your own 
selection instead of text.

HTH,

-- 
--Jeff

Jeff Trefftzs [EMAIL PROTECTED]
http://www.tcsn.net/trefftzsHome Page
http://gug.sunsite.dk/gallery.php?artist=68 Gimp Gallery
http://trefftzs.topcities.com/  Photo Gallery 



___
Gimp-user mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user


Re: [Gimp-user] layer manipulation question, scripting, etc.

2003-02-16 Thread Jeff Trefftzs
Eric wrote:

 Is there an easy way to select a rectangular area and then move (cut/paste)
 it to the same location on a different layer?  When I try normal cut  paste,
 there doesn't seem to be an obvious way to preserve the exact location.

Instead of doing a cut (^X), try doing a copy (^C) on the rectangular area.  
Then you can create a new layer (transparent, if you like) and paste the copy 
into it.  This will put the copy at the same coordinates as the original.  
Using cut as the first operation centers the resulting paste operation.  Of 
course to remove the same rectangle from the original layer you need to 
recover it, which you can do with alpha-to-selection in the layer where you 
pasted it the first time.

 Is there an easy way to save each layer to separate files?

Short answer - no.  You only save images.  Now, if you want to make only one 
layer visible, then you can save the image (Image/File/Save as ...), and 
repeat ad lib for each separate layer.  A script fu to do this might be easier.

HTH,


-- 
--Jeff

Jeff Trefftzs [EMAIL PROTECTED]
http://www.tcsn.net/trefftzsHome Page
http://gug.sunsite.dk/gallery.php?artist=68 Gimp Gallery
http://trefftzs.topcities.com/  Photo Gallery 



___
Gimp-user mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user



Re: [Gimp-user] Errors while compiling Plug-ins

2003-02-14 Thread Jeff Trefftzs
Nat -

Try this:

export CFLAGS='-D GIMP_ENABLE_COMPAT_CRUFT'

before running gimptool.  I haven't tried compiling fsdither.c, but this is 
needed for any number of the older plugins.

HTH,

-- 
--Jeff

Jeff Trefftzs [EMAIL PROTECTED]
http://www.tcsn.net/trefftzsHome Page
http://gug.sunsite.dk/gallery.php?artist=68 Gimp Gallery
http://trefftzs.topcities.com/  Photo Gallery 



___
Gimp-user mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user



Re: [Gimp-user] making outline shape.

2003-02-04 Thread Jeff Trefftzs
 I have an image of a painter's palette. I have both the original
 color version and my grayscale reproduction. What I really want is a
 line drawing of the outline. Can anyone suggest a sequence of steps to
 arrive at this? 
 

Hi John -

This counts as a Hard Problem (TM), for which there is no general solution.  I 
can suggest a variety of tricks and tactics that I have used with varying 
degrees of success - ymmv.

First, for some good background on this problem, try reading Chapters 3 and 4 
(Selections, and Channel Masks) of Grokking the Gimp, by Cary Bunks.  The book 
itself is available online at gimp-savvy.com, or you may download it.

1. The most general, and the most tedious, way to outline an object in an 
image is to use the bezier selection tool.  Personally I have never liked this 
tool, as it's way too finicky, and I keep making selection mistakes such as 
editing the path when I want to simply move a point, etc.  But, if you can 
take the time, it will outline things to any degree of detail you have the 
patience for.

2.  Other selection tools can work nicely if there is some way to discriminate 
between the object you're trying to select and its immediate background.  Try 
decomposing the original image to HSV channels, for example, and selecting 
using the magic wand in the Value or Hue channels, for example.

3.  Or try using Image/Colors/Threshold.  Sometimes this will distinguish 
nicely between useful parts of an image.

4.  And, of course, there are the various edge-detection filters:  including 
Laplacian, LoG, Sobel, etc.

Conclusion - some features of an image are more easily extracted than others.  
If you're lucky, the item you want to cut differs noticeably in color from its 
solid background, and it's easy (more or less).  If you're working with a 
normal photo, then no simple feature set distinguishes the target objedt from 
the background and you have to work a lot harder.

Good luck, and good hunting!

-- 
--Jeff

Jeff Trefftzs [EMAIL PROTECTED]
http://www.tcsn.net/trefftzsHome Page
http://gug.sunsite.dk/gallery.php?artist=68 Gimp Gallery
http://trefftzs.topcities.com/  Photo Gallery 



___
Gimp-user mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user



Re: [Gimp-user] color conversion tips?

2002-12-24 Thread Jeff Trefftzs
Selection by histogram is what you get with Image-Colors-Threshold.  You can 
either do it using a copy of your original image in RGB(A) or, to get really 
sneaky, you can decompose your image into another colorspace (HSV, for 
example) and achieve the effect you want by thresholding the appropriate Hue, 
or Value image, then using the selection on your original image.

You said you wanted to select the colors that were close to white.  To do 
this, just use threshold on the value channel and pick up only that part of 
the histogram that is close to white.  This will give you a bi-level image 
from which you can then select the white parts, using the selection on the 
original image and filling with white (or whatever other color you want).

HTH,

-- 
--Jeff


___
Gimp-user mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user



Re: [Gimp-user] text that follows a path

2002-12-12 Thread Jeff Trefftzs
Hi Rory -

There is a text along path script (actually, there are to of 'em).  
Unfortunately, I don't remember just where I got them, so they are included 
here as two attachments.  Just drop them into your .gimp-1.2/scripts directory 
and take it from there.  Better read them first, though, to find out the 
instructions.


-- 
--Jeff

Jeff Trefftzs [EMAIL PROTECTED]
http://www.tcsn.net/trefftzsHome Page
http://gug.sunsite.dk/gallery.php?artist=68 Gimp Gallery
http://trefftzs.topcities.com/  Photo Gallery 



;;;Script written by Guillaume de Sercey
;;;[EMAIL PROTECTED]

;;;What it does: writes a text following a path
;;;How does it do it:
;;;-creates an empty text layer
;;;-prints the text a letter at a time in a new layer (with the freetype plug-in)
;;;-gets a point along a path with its gradient (gimp-path-get-point-at-dist)
;;;-transform the gradient in a angle (script-fu-path-get-point-at-dist does this 
together with the previous step)
;;;-rotate the character layer by the angle (rotation around the top-left corner)
;;;-move the character layer at the position of the point on the path
;;;-merge the character layer with the text layer
;;;-repeat until a characters ahave been printed

;;;I use the freetype plug-in because it is the only text function that always align 
letters
;;;The *catch function is here in case the text is longer than the path
;;;It avoids getting an error from gimp-path-get-point-at-dist
;;;However it will also ignore any other error in the *catch form
;;;In particular, errors caused by an invalid fontname for freetype
;;;I've worked around that by using freetype to create the base text layer (a space 
character), before the catch

;;;Note: it is best to modify the argument of SF-FILENAME to match a valid font on 
your system
;;;Or at least a valid directory
;;;Saves a lot of browsing

;;;  Changelog.  20011120 Jeff changed it to use SF-FONT vice SF-FILE for
;;;  Font Selection

(define (script-fu-path-get-point-at-dist img position);a variation on 
gimp-path-get-point-at-dist where the last argument is the angle not the gradient
  (let*
  (
   (delta .1)
   (deltastart .2)
   (point (gimp-path-get-point-at-dist img position))
   (angle (atan (caddr point)));this return an angle between [-pi,+pi] and 
needs to be adjusted
   (point1 (butlast (gimp-path-get-point-at-dist img (- position deltastart
   (point2 (butlast (gimp-path-get-point-at-dist img (+ position deltastart
   
   ); end declare
(while (equal? point1 point2)
   (set! deltastart (+ deltastart delta))
   (set! point1 (butlast (gimp-path-get-point-at-dist img (- position 
deltastart
   (set! point2 (butlast (gimp-path-get-point-at-dist img (+ position 
deltastart   
   )
(if (= (car point1) (car point2));if x coords are equal
(if ( angle 0)   ;and angle negative
(if ( (cadr point1) (cadr point2));then if point1 is below point2
(set! angle (+ *pi* angle));add pi to the angle otherwise do 
nothing
) ;end true of angle negative
(if ( (cadr point 1) (cadr point2));angle is positive. if point1 is 
above point2
(set! angle (+ *pi* angle));add pi to the angle otherwise do 
nothing
) ;end false of angle negative
) ;end if angle, end true of x coords equal
(if ( (car point2) (car point1))
(set! angle (+ *pi* angle))
) ;end if point, end false of x coords equal
) ;end if x coords equal
(list (car point) (cadr point) angle)
)
  )

;;;  Here's the actual script

(define (script-fu-text-to-path2 img drw text font 
 fontsize spacing 
 antialiasing no-upsidedown)
  (if (= 0 (car (gimp-path-list img)))
  (gimp-message This script needs a path!) 
  (begin;there is a path let's go
(let*
(
 (path (car (gimp-path-get-current img)))
 (textlen (length text))
 (typea (car (gimp-drawable-type-with-alpha drw)))

;(text-layer (car (plug-in-freetype RUN-NONINTERACTIVE img 0 fontfile 
fontsize PIXELS 1 0 0 1 FALSE FALSE FALSE FALSE 0  )))

 (text-layer 
  (car 
   (gimp-layer-new img
   (car (gimp-image-width img))
   (car (gimp-image-height img))
   typea
   Text Layer
   100
   NORMAL-MODE)))

 @  (char-layer)   ; what's this???
 (charac !);a 1 character-long string
 (position 0)
 (charcount 0)
 (charwidth)
 );end variable declaration
  (if (= text-layer -1

Re: [Gimp-user] sepia

2002-11-25 Thread Jeff Trefftzs
From the old-photo script:

 (if (= inSepia TRUE)
(begin (gimp-desaturate theLayer)
   (gimp-brightness-contrast theLayer -20 -40)
   (gimp-color-balance theLayer 0 TRUE 30 0 -30)
)
()

Or, in plain text:  Start by desaturating the layer.
Adjust the brightness and contrast (Image-Colors-Brightness-Contrast) to -20 
and -40.
And then sepiaize it by Image-Colors-Color-Balance, setting the color levels 
(the top three entry boxes) to 30, 0, and -30.  In other words, increase the 
red, leave the green alone, and decrease the blue (or increase the yellow, 
depending on how you want to look at it.)  This actually does a nice job.

HTH,

-- 
--Jeff

Jeff Trefftzs [EMAIL PROTECTED]
http://www.tcsn.net/trefftzsHome Page
http://gug.sunsite.dk/gallery.php?artist=68 Gimp Gallery
http://trefftzs.topcities.com/  Photo Gallery 



___
Gimp-user mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user



Re: [Gimp-user] Script-Fu Help (beginner)

2002-09-06 Thread Jeff Trefftzs

Hi Keith -

I just tried the same thing on a Linux system - I think the problem is with 
the dynamic text layer.  Try using Layer to Imagesize on that layer first, 
before calling the alpha to logo script-fu.  I haven't had a chance to look at 
the neon script-fu code yet, but it looks like it's not handling the smaller 
layer properly.

HTH,


-- 
--Jeff

Jeff Trefftzs [EMAIL PROTECTED]
http://www.tcsn.net/trefftzsHome Page
http://gug.sunsite.dk/gallery.php?artist=68 Gimp Gallery
http://trefftzs.topcities.com/home.html Photo galleries



___
Gimp-user mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user



Re: [Gimp-user] Replace colors (beginner question)

2002-09-02 Thread Jeff Trefftzs

Are you sure that (a) you are filling with the foreground color and (b) that 
you have changed the foreground color?  I just tried this, and it worked fine 
for me.  But you do need to make sure that the foreground color has been 
changed.  If you've selected a blackish region to start with, and the fg color 
is still black, nothing will appear to have happened.


-- 
--Jeff

Jeff Trefftzs [EMAIL PROTECTED]
http://www.tcsn.net/trefftzsHome Page
http://gug.sunsite.dk/gallery.php?artist=68 Gimp Gallery
http://trefftzs.topcities.com/home.html Photo galleries



___
Gimp-user mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user



Re: [Gimp-user] Help needed with image manipulation

2002-08-27 Thread Jeff Trefftzs

Hi Tom -

Another trick is to select around the person using the free select (lasso) 
tool, and fill in the blanks with the resynthesize plugin.  Be warned, this 
can take forever, and probably won't work on large images, because you'll wind 
up swapping on practically every pixel, but for small areas in modestly-sized 
images it works wonders.

Note - this plug-in needs to be tracked down and installed separately.  It 
winds up in Image/Filters/Map/Resynthesize


-- 
--Jeff

Jeff Trefftzs [EMAIL PROTECTED]
http://www.tcsn.net/trefftzsHome Page
http://gug.sunsite.dk/gallery.php?artist=68 Gimp Gallery
http://trefftzs.topcities.com/home.html Photo galleries



___
Gimp-user mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user



Re: [Fwd: [Gimp-user] GIF support under Linux?]

2002-07-13 Thread Jeff Trefftzs

Karl Auer asks:
Under Linux, running the GIMP version 1.2.3, there is no support for the GIF file 
format. A search of the plugins repository shows up a Windows extension, but that's 
it. Can the Windows one be used for Linux, and if so, how? If not, how do I get GIF 
support into the GIMP for Linux? I'd specifically like to produce images with a 
transparent background and animations.

Please explain why you concluded that there is no GIF support.  I've been running the 
gimp since back in the  0.99 days, and I never had any trouble importing or saving as 
GIF files.  Did you make sure the image you were trying to save had been converted to 
indexed mode first?  That's usually the problem if, for example, the .gif extension is 
grayed out.

I'm currently running gimp-1.2.3 compiled from sources on a RH 7.1 system, and I don't 
remember ever having to do anything particular to get/keep GIF support.



-- 
--Jeff

Jeff Trefftzs [EMAIL PROTECTED]
http://www.tcsn.net/trefftzsHome Page
http://gug.sunsite.dk/gallery.php?artist=68 Gimp Gallery
http://trefftzs.topcities.com/home.html Photo galleries



___
Gimp-user mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user



Re: [Gimp-user] Editing masks

2002-07-09 Thread Jeff Trefftzs

Hi Steve -

In flipping between the various tabs on the layers and channels dialog I have 
found it's really easy to be looking at one thing and editing another.  When 
you want to edit a channel, make sure (a), that that channel is both visible 
and selected s the active channel; ditto for the layer mask, or the layer 
itself.  You need to select the proper thing in the layers and channels 
dialog, and then move back to the image window to do your actual modifying 
with the drawing tools.  You might want to make sure, too, that you aren't 
trying to work outside an active selection, or that you don't have preserve 
transparency turned on.  Also, make sure that the color you're using to draw 
with isn't the same as the background of the channel you're trying to draw 
into. (/me speaks from experience).


HTH,



-- 
--Jeff

Jeff Trefftzs [EMAIL PROTECTED]
http://www.tcsn.net/trefftzsHome Page
http://gug.sunsite.dk/gallery.php?artist=68 Gimp Gallery
http://trefftzs.topcities.com/home.html Photo galleries



___
Gimp-user mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user



Re: [Gimp-user] Tutorial Pointers Page in PDF format (former : Re. Good tutorial in PDF format)

2002-06-08 Thread Jeff Trefftzs

From his headers, Stephen Liu is on a windows machine, which means he may lack 
most of the nice linux/unix web tools such as wget, etc.  Are there any other 
windows users out there who have tried to download/convert the various GIMP 
tutorials?


-- 
--Jeff

Jeff Trefftzs [EMAIL PROTECTED]
http://www.tcsn.net/trefftzsHome Page
http://gug.sunsite.dk/gallery.php?artist=68 Gimp Gallery
http://trefftzs.topcities.com/home.html Photo galleries



___
Gimp-user mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user



Re: [Gimp-user] Installing additional scripts

2002-05-31 Thread Jeff Trefftzs

Hi Juliet,

To get at your new script-fu you need to do the following:

1.  Place the text file (my-new-script-fu.scm) in your own .gimp/scripts 
directory.
In my case, it's ~/.gimp-1.2/scripts
2.  In the gimp, go to Toolbox/Xtns/Script-Fu/Refresh to force a reload of 
the
scripts.

That should do it.

If problems arise, check (a) where you registered the script; (b) that there 
are no leftover editor backup files lying around; and (c) that your scheme 
code has all its proper parentheses and doesn't contain errors.

I have discovered that after long edit/test sessions with a new script that 
things often work better if I restart the GIMP.

If your script-fu is actually a perl-fu, one does it differently.  Perl 
scripts are traditionally saved in the ~/.gimp-1.2/plug-ins directory, and to 
test them from your favorite text editor you need to start the gimp's perl 
server (Toolbox/Xtns/Perl/Server), after which you can run the perl script 
from the command line in your editor.  I have discovered that editor backup 
files for perl scripts in the plug-ins directory do get loaded as plug-ins, 
and may (nay, probably will) mess up your debugging sessions.  So make sure no 
old backup files are left lying around.

I have also noticed problems when working with perl -- if the new 
plugin/script complains about something really strange like a color being bad 
or anything else that seems really off the wall, go into the Toolbox
/Xtns/Parasite_Editor and delete the entry corresponding to the misbehaving 
plug-in.  This happens usually when I have changed something in the interface 
and the parasite contains saved values from the previous version.

HTH,



-- 
--Jeff

Jeff Trefftzs [EMAIL PROTECTED]
http://www.tcsn.net/trefftzsHome Page
http://gug.sunsite.dk/gallery.php?artist=68 Gimp Gallery
http://trefftzs.topcities.com/home.html Photo galleries



___
Gimp-user mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user



Re: [Gimp-user] Scripted Gimp Protocol 1 error

2002-04-21 Thread Jeff Trefftzs

Regarding gimp-1.3.5 -- This is the highly unstable, incomplete, developers' 
version, and is not guaranteed to even compile (although I think it does, if 
all the right libs are available).  But don't even think of using it now for 
production work.  Who knows what can still change.

Everything you've posted suggests strongly that your problems lie with Apache 
or some permission conflicts, rather than with the Gimp itself.  Have you 
tried starting the gimp first, and firing up its perl server 
(Toolbox/Xtns/Perl/Server)?  At least then you know you have a running gimp.

Good luck,



-- 
--Jeff

Jeff Trefftzs [EMAIL PROTECTED]
http://www.tcsn.net/trefftzsHome Page
http://gug.sunsite.dk/gallery.php?artist=68 Gimp Gallery
http://trefftzs.topcities.com/home.html Photo galleries



___
Gimp-user mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user



Re: [Gimp-user] Invalid class name error

2002-04-18 Thread Jeff Trefftzs

Brushed metal filter works fine on my system (GIMP-1.2.3) - might it be that 
you're looking for a gradient that isn't in your collection?  On my system 
brushed-metal defaults to the Shadows_1 gradient.  Since brushed metal is a 
perl-fu script, you might go ahead and look at the source (the source and the 
executable are the same in this case.)

HTH,

-- 
--Jeff

Jeff Trefftzs [EMAIL PROTECTED]
http://www.tcsn.net/trefftzsHome Page
http://gug.sunsite.dk/gallery.php?artist=68 Gimp Gallery
http://trefftzs.topcities.com/home.html Photo galleries



___
Gimp-user mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user



Re: [Gimp-user] OpenOffice GPL'd Truetype fonts not working

2002-03-04 Thread Jeff Trefftzs

Hi David -

I downloaded and installed the fonts you're talking about on my 
RH-6.1 system, getting them from the debian site, and, once I 
got my font servers to find them, they seem to be working fine 
on with my GIMP. (1.2.3), even with the old text tool,

I'm afraid I can't duplicate your problem on my system.
-- 
--Jeff

Jeff Trefftzs [EMAIL PROTECTED]
http://www.tcsn.net/trefftzsHome Page
http://gug.sunsite.dk/gallery.php?artist=68 Gimp Gallery
http://trefftzs.topcities.com/home.html Photo galleries



___
Gimp-user mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user



Re: [Gimp-user] masks

2002-02-28 Thread Jeff Trefftzs

Hi Lee -

To get the fish behind the tree you need to have the tree on one 
layer, the fish on another layer, and the rest of the scene on 
yet another layer.

If you can cut out both the tree and the fish, then you can 
simply layer them above the original background; Grokking the 
gimp uses layer masks to partially hide those bits of the fish 
that are behind the tree.


-- 
--Jeff

Jeff Trefftzs [EMAIL PROTECTED]
http://www.tcsn.net/trefftzsHome Page
http://gug.sunsite.dk/gallery.php?artist=68 Gimp Gallery
http://trefftzs.topcities.com/home.html Photo galleries



___
Gimp-user mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user



Re: [Gimp-user] gimp perl - edge smoothing

2002-02-27 Thread Jeff Trefftzs

Hi Babak -

You want to turn off antialiasing.  The PDB entry for gimp-text 
shows it to be the seventh parameter, just before you get into 
the font specification parameters.  Set it (in your case) to 
FALSE, to avoid antialiasing.

HTH,



-- 
--Jeff

Jeff Trefftzs [EMAIL PROTECTED]
http://www.tcsn.net/trefftzsHome Page
http://gug.sunsite.dk/gallery.php?artist=68 Gimp Gallery
http://trefftzs.topcities.com/home.html Photo galleries



___
Gimp-user mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user



Re: [Gimp-user] Old Stone Plugin

2002-02-27 Thread Jeff Trefftzs

Hi João -

It's going to take some serious debugging.  This script is 
riddled with errors.  I think it dates back to an earlier 
version of the GIMP, and was never updated.
Chip Away is a similar script, and may do what you want, but 
if you can wait a few minutes, I'm debugging oldstone.scm right 
now, and I'll mail it to you when I'm done.


-- 
--Jeff

Jeff Trefftzs [EMAIL PROTECTED]
http://www.tcsn.net/trefftzsHome Page
http://gug.sunsite.dk/gallery.php?artist=68 Gimp Gallery
http://trefftzs.topcities.com/home.html Photo galleries



___
Gimp-user mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user



Re: [Gimp-user] Print plugin not loaded

2002-02-24 Thread Jeff Trefftzs

Hi Andre -

You said you were browsing the plug-ins, so ...

Have you checked Image/File/Print ... 

Also - you may want to look in /usr/lib/gimp/1.2/plug-ins

^

Not sure this is going to be any help -

-- 
--Jeff

Jeff Trefftzs [EMAIL PROTECTED]
http://www.tcsn.net/trefftzsHome Page
http://gug.sunsite.dk/gallery.php?artist=68 Gimp Gallery
http://trefftzs.topcities.com/home.html Photo galleries



___
Gimp-user mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user



Re: [Gimp-user] Console problem

2002-02-18 Thread Jeff Trefftzs

Hi Mike -

At the risk of sounding like a broken record, you really don't 
want to use
the GIMP for this task.  It's ever so much easier with 
ImageMagick.  Try something like this:

for image in *.jpg
do
convert -quality 50 $image loqual_$image
done

Read man convert for all the details.

There may be cases where it makes sense to use the GIMP in batch 
mode, but they are few and far between, and I don't think you 
have one of them here.

HTH,

-- 
--Jeff

Jeff Trefftzs [EMAIL PROTECTED]
http://www.tcsn.net/trefftzsHome Page
http://gug.sunsite.dk/gallery.php?artist=68 Gimp Gallery
http://trefftzs.topcities.com/home.html Photo galleries



___
Gimp-user mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user



Re: [Gimp-user] default gradient

2002-02-17 Thread Jeff Trefftzs

Hi Gianni -

One problem might be calling it golden.  Try

(default-gradient Golden)

At least on my system the gradient names are mostly capitalized.

HTH,

-- 
--Jeff

Jeff Trefftzs [EMAIL PROTECTED]
http://www.tcsn.net/trefftzsHome Page
http://gug.sunsite.dk/gallery.php?artist=68 Gimp Gallery
http://trefftzs.topcities.com/home.html Photo galleries



___
Gimp-user mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user



Re: [Gimp-user] fonts

2002-01-27 Thread Jeff Trefftzs

Hi Richard -

There are a number of font repositories on the web where you can 
get free fonts.  Since they come and go with alarming frequency, 
your best bet is to do a search for something like free fonts 
and see what you get.  With RH 7.2 I think you already have a 
true-type font server, so you can use anything you get from 
almost any of the free font repositories.

It's also a good idea to look up the font HOW-TO, and check on 
the web for installation tips and tricks.  I have gone through 
all the appropriate incantations myself and have true-type fonts 
working just fine on my old RH 6.1 system, but I hesitate to 
give you my cookbook recipe because I think it's easier on your 
later system.

Anyway, it's all out there, and I even have Parisian. (Well, a 
font called Paris, that is caps only, in a nice art-nouveau, 
turn-of-the-last-century font.

HTH,

-- 
--Jeff

Jeff Trefftzs [EMAIL PROTECTED]
http://www.tcsn.net/trefftzsHome Page
http://gug.sunsite.dk/gallery.php?artist=68 Gimp Gallery
http://trefftzs.topcities.com/home.html Photo galleries



___
Gimp-user mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user



Re: [Gimp-user] GIMP 1.2.3-pre2 and fonts question

2002-01-24 Thread Jeff Trefftzs

Tom -

For things like lifting a person from a jpeg and putting s/he/it 
somewhere else, there's a good series of tutorials in Grokking 
The GIMP, available online and for html download.  Follow the 
links from the GIMP's Xtns/Web Browser menu to get it.  There's 
some really good ideas on using layers, channels, and a variety 
of ways to separate the figure from the ground that will be of 
inestimable value.

Good luck, good GIMPing!

-- 
--Jeff

Jeff Trefftzs [EMAIL PROTECTED]
http://www.tcsn.net/trefftzsHome Page
http://gug.sunsite.dk/gallery.php?artist=68 Gimp Gallery
http://trefftzs.topcities.com/home.html Photo galleries



___
Gimp-user mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user



Re: [Gimp-user] clone tool no entry

2002-01-18 Thread Jeff Trefftzs

Hi John -

It's possible that you're just not interpreting the cursor 
correctly.  To use the clone tool you need to

(a) select it from the toolbar

(b)  On the image, move the cursor over the area you wish to 
clone FROM.

(c)  Ctl-left-click to set the source of the clone

(d)  Move your cursor to the area you wish to clone to, and draw 
using the left mouse button.

You will be using the current brush, btw.

HTH,

-- 
--Jeff

Jeff Trefftzs [EMAIL PROTECTED]
http://www.tcsn.net/trefftzsHome Page
http://gug.sunsite.dk/gallery.php?artist=68 Gimp Gallery
http://trefftzs.topcities.com/home.html Photo galleries



___
Gimp-user mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user



Re: [Gimp-user] polygonal selections with 'true' horizontal and vertical segments

2002-01-10 Thread Jeff Trefftzs

The rectangular selection tool may be what you want.  You can 
add and subtract from an existing selection using the shift, 
ctl, and alt keys to build up fairly complex selections with 
sides that are all either horizontal or vertical.

Another possibility is to use gfig to select arbitrary polygons. 
 But you only asked for horizontal and vertical.

HTH,

-- 
--Jeff

Jeff Trefftzs [EMAIL PROTECTED]
http://www.tcsn.net/trefftzsHome Page
http://gug.sunsite.dk/gallery.php?artist=68 Gimp Gallery
http://trefftzs.topcities.com/home.html Photo galleries



___
Gimp-user mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user



Re: [Gimp-user] creating a circled area in an image

2001-11-19 Thread Jeff Trefftzs

Another way to select a limited area by color is to use the 
Magic Wand tool - the one that selects contiguous areas.  
(Next to the lasso in the toolbox).  Whereas Select by color 
selects everything of the desired color, the magic wand selects 
only those pixels that are adjacent to the spot where you 
clicked, so it won't automatically give you multiple, 
discontinous selections.


-- 
--Jeff

Jeff Trefftzs [EMAIL PROTECTED]
http://www.tcsn.net/trefftzsHome Page
http://gug.sunsite.dk/gallery.php?artist=68 Gimp Gallery
http://trefftzs.topcities.com/home.html Photo galleries



___
Gimp-user mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user



Re: [Gimp-user] effects, simple question

2001-10-17 Thread Jeff Trefftzs

Hi Krasi -

For your emobssed text, your best bet is to look a the tutorials 
at gimp.org.
You can reach them easily by following the link from the GIMP 
Toolbox:

Toolbox/Xtns/Web Browser/GIMP Tutorials

In general the trick is to use your text (say white text on 
black background)
as a bump map.  One can play more complicated tricks with blurs 
and layer
masks, but for a quick preview try this:

1.  Create some white text on a black background.
2.  In Layers and Channels, create a new layer, just above the 
text layer.
3.  Fill this new layer with some medium gray.
4.  Image/Filters/Map/Bump Map...  Use the text layer as the 
bump map.

Play with the parameters to the Bump Map plugin - you can invert 
it, or use
linear, sinusoidal, or spherical mapping, etc.  

Your second question:  How to make an image lighter in the 
center and darker
at the edges:  one easy way to do this is to place a new layer 
over your
original image, fill the new layer with a radial gradient 
running from light (in the center) to dark (at the edges), and 
set the layer mode to SCREEN.
To make the effect even more apparent, duplicate the gradient 
layer and set the
top copy to MULTIPLY mode.  

Which leads into your third question:  how to make a layer 
partially visible.

Open up the layers and channels dialog and set the transparency 
for the
selected layer to whatever you want.

A lot of this is explained in both the GIMP User Manual and 
Grokking the Gimp,
both available on line from the Toolbox/Xtns/Web Browser 
menus.  I
strongly recommend you look at these references.  I have both 
books installed
on my system and use them heavily.

Good Gimping!


-- 
--Jeff

Jeff Trefftzs [EMAIL PROTECTED]
http://www.tcsn.net/trefftzsHome Page
http://gug.sunsite.dk/gallery.php?artist=68 Gimp Gallery
http://members4.clubphoto.com/jeff309574A photo gallery



___
Gimp-user mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user



[Gimp-user] Re: [Gimp-user]Photoshop's Channel Mixer

2001-10-07 Thread Jeff Trefftzs

Derek asked:
 Is there any gimp equivalent of photoshop's channel mixer?

Probably.  Can you describe what photoshop's channel mixer does? 
 I don't remember seeing it mentioned in the last P*S* book I 
read.


-- 
--Jeff

Jeff Trefftzs [EMAIL PROTECTED]
http://www.tcsn.net/trefftzsHome Page
http://gug.sunsite.dk/gallery.php?artist=68 Gimp Gallery
http://members4.clubphoto.com/jeff309574A photo gallery



___
Gimp-user mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user



Re: [Gimp-user] adjusting line types

2001-06-06 Thread Jeff Trefftzs

Hi Lisa -

It sounds like you're running into the difference between a 
vector graphics
and a bitmap operation.  Postscript defines vectors, and thus 
can scale nicely,
while the Gimp works on bitmaps.  Which means that information 
like line type
(e.g., dashed, dotted, etc.) isn't available to the Gimp.

Perhaps you should try importing the postscript into something 
like Sketch,
or another of the free vector editors.  Maybe even xfig?  I 
haven't tried this,
and it may or may not work.  

HTH,
-- 
--Jeff

Jeff Trefftzs [EMAIL PROTECTED]
http://www.tcsn.net/trefftzsHome Page
http://gug.sunsite.dk/gallery.php?artist=68 Gimp Gallery
http://members4.clubphoto.com/jeff309574A photo gallery



___
Gimp-user mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user



Re: [Gimp-user] jpeg comments

2001-06-02 Thread Jeff Trefftzs

 I am working on a photo gallary for my web site, and I am looking for a way 
 to extract a the comment from the jpeg files as a text string for the web 
 page.  I plan on doing all of this in perl.  Can this be done in perl?  If 
 not, what can I use to get the job done, for pages generated on a virtually 
 hosted web site?
 

man rdjpgcom

Check rdjpgcom, wrjpgcom for progs that read and write jpeg comments.  Should
be easily called from a perl proc.

-- 
--Jeff

Jeff Trefftzs [EMAIL PROTECTED]
http://www.tcsn.net/trefftzsHome Page
http://gug.sunsite.dk/gallery.php?artist=68 Gimp Gallery
http://members4.clubphoto.com/jeff309574A photo gallery



___
Gimp-user mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user



Re: [Gimp-user] Lasso Selection in Gimp 1.2

2001-05-21 Thread Jeff Trefftzs

Hi Elke -

Same results with ellipse selection, too.  I just selected an 
ellipse, cut it out using Ctl-X and anchored it back into a new 
layer.  Presto - the outline of the selection shows. Looks to me 
like someone got confused about whether the selection outline 
was in or out of the selection itself, and concluded that it was 
part of the selection for a cut, but not for a paste.  Oops!

You might try a small value of feathering as a short-term 
workaround.  And maybe a bug report.


-- 
--Jeff

Jeff Trefftzs [EMAIL PROTECTED]
http://www.tcsn.net/trefftzsHome Page
http://gug.sunsite.dk/gallery.php?artist=68 Gimp Gallery
http://members4.clubphoto.com/jeff309574A photo gallery



___
Gimp-user mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user



Re: [Gimp-user] Gimp 1.2 and perl scripts problems.

2001-05-20 Thread Jeff Trefftzs

H' . . .

I'm running something that started out as RH 6.1, but that was 
long ago.  Many tarball installs later I have Gimp 1.2.1 running 
from sources, not RPMs or Debs, and most of the Perl scripts 
seem to work.  (YinYang is definitely there, under 
Toolbox/Xtns/Render). Pixelgenerator crashes, however.

So far I haven't tried to write any perl-fu scripts.  Can you 
point me at a good tutorial for them?

Sorry if this isn't any help - but I have occasionally gone 
blind missing stuff that was right in front of me, so maybe your 
scripts are there, but under different menu items?

Note - I found the code for the perl scripts in /usr/local/lib/gi
mp/1.2/plug-ins
have you checked there?  (May be somehwere else on a debian 
system, of course).

Good luck -

-- 
--Jeff

Jeff Trefftzs [EMAIL PROTECTED]
http://www.tcsn.net/trefftzsHome Page
http://gug.sunsite.dk/gallery.php?artist=68 Gimp Gallery
http://members4.clubphoto.com/jeff309574A photo gallery



___
Gimp-user mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user



Re: [Gimp-user] changing background colours

2001-05-13 Thread Jeff Trefftzs

To change the background color in a gif so you don't wipe out 
the text there are a couple of ways to go.  But first, change 
the image to RGB instead of indexed.  You'll be able to change 
it back later.

1. If the text is all one color (not found elsewhere), try 
selecting by color and grabbing the text.  Then invert the 
selection (which should give you everythi8ng except the text).  
You can then fill/blend/pattern/whatever the selection without 
affecting the text.

2.  Conversely, if the text is varying colors and the background 
is one color,
try selecting just the bg color.  Then fill ad lib.

3.  If your computer has the same font that the text is in, you 
can rebuild the image from scratch using the text tool, or the 
dynatext filter.

4.  Or you can try playing with Image/Colors/Threshold and see 
if you can separate the text from the bg this way, then procedd 
to color as desired.

And if you want to save the resulting image as a gif, the save 
dialog will walk you through the necessary steps.

HTH,

-- 
--Jeff

Jeff Trefftzs [EMAIL PROTECTED]
http://www.tcsn.net/trefftzsHome Page
http://gug.sunsite.dk/gallery.php?artist=68 Gimp Gallery
http://members4.clubphoto.com/jeff309574A photo gallery



___
Gimp-user mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user



Re: [Gimp-user] Pre-generate preview thumbnails

2001-05-02 Thread Jeff Trefftzs

The easiest way to get your .xvpics is to use xv.  In 
particular, use the visual schnauzer, get to the directory of 
your big pictures, and click on the Update button.  In more 
detail:

$xv # fire up xv from a terminal window command line
type control-v in the xv window to start the visual schnauzer
Double click on the directory folders until you get to the 
directory you want.
Click on the Update button.

HTH,


-- 
--Jeff
Jeff Trefftzs [EMAIL PROTECTED]
http://www.tcsn.net/trefftzsHome Page
http://gug.sunsite.dk/gallery.php?artist=68 Gimp Gallery
http://members4.clubphoto.com/jeff309574A photo gallery



___
Gimp-user mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user



Re: [Gimp-user] Script-Fu command line parsing help needed

2001-04-11 Thread Jeff Trefftzs

Try escaping the embedded tick mark with a backslash:

/usr/bin/gimp -i -d -c -b '(script-fu-bla-bla "Let\'s Go\!")' 
'(gimp-quit 0)'

At a guess it's a shell problem.  You may want to escape the 
exclamation point, too.


-- 
--Jeff
Jeff Trefftzs [EMAIL PROTECTED]
http://www.tcsn.net/trefftzsHome Page
http://gug.sunsite.dk/gallery.php?artist=68 Gimp Gallery
http://members4.clubphoto.com/jeff309574A photo gallery



___
Gimp-user mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user



Re: [Gimp-user] gradient

2001-03-02 Thread Jeff Trefftzs

Seth -

I expect you're right.  I was thinking of scripts, not 
gradients.  Thanks for the clarification.  You are welcome to 
convert the scripts to gimp-perl.  Let me know when you're done.


-- 
--Jeff
Jeff Trefftzs [EMAIL PROTECTED]
http://www.tcsn.net/trefftzsHome Page
http://gug.sunsite.dk/gallery.phpartist=68 Gimp Gallery
http://members4.clubphoto.com/jeff309574A photo gallery
http://www.photos4all.net/jefftzs   Another photo gallery



___
Gimp-user mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user