Re: [Gimp-user] Command line scripting to perform auto level and resize?

2004-08-29 Thread Sven Neumann
Hi,

roger [EMAIL PROTECTED] writes:

 I would like to know if there is a way, method to do the following
 (in order):
 
 1) colors  levels  auto level
 2) resize to 800x600
 
 I'm performing this task on a batch of photos prior to publishing to my
 website.
 
 Should I stick with gimp (2.0) or would Imagemagick convert -level
 provide an optional method?

You can write yourself a simple script in Script-Fu, Perl or Python
and call that from the command-line as explained in
http://adrian.gimp.org/batch/batch.html. This tutorial is rather old
but still valid in most points.


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


Re: [Gimp-user] Fonts and The Gimp

2004-08-29 Thread Sven Neumann
Hi,

Peter L. Berghold [EMAIL PROTECTED] writes:

 I hope I'm not asking a FAQ here...

 I loaded some True Type fonts on my (linux) machine and I can get
 X11 to see them, but when I try and select them from the font dialog
 in Gimp I see the message Font Not Available
 
 What am I missing? 

http://gimp.org/unix/fonts.html


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


Re: [Gimp-user] Locking a Layer

2004-08-29 Thread Sven Neumann
Hi,

Asif Lodhi [EMAIL PROTECTED] writes:

 I am currently exploring GIMP (and graphics) and want
 to know if there is a way to lock lower layers in a
 layer stack to make accidentally moving a layer
 impossible.

No, that feature is not yet available. See also
http://bugzilla.gnome.org/show_bug.cgi?id=61019
 

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


Re: [Gimp-user] Fonts and The Gimp

2004-08-29 Thread Peter L. Berghold
On Sun, 2004-08-29 at 04:40, Sven Neumann wrote:
 http://gimp.org/unix/fonts.html


Thank-you kindly I guess I'd better go through the pain of upgrading
my IBM issued laptop so I can run gimp-2.x. 


-- 

Peter L. Berghold[EMAIL PROTECTED]
Dog event enthusiast, brewer of Belgian (style) Ales.  Happiness is
having your contented dog at your side and a Belgian Ale in your glass.



signature.asc
Description: This is a digitally signed message part


Re: [Gimp-user] diagonal erase

2004-08-29 Thread David Neary
Hi,

Neil Watson wrote:
 How would I go about creating a diagonal brush stroke, that erases to
 the background,  through a coloured box? I tried using the path tool to
 create the diagonal line but, I can't seem to get a stroke to appear.

If all you want is a diagonal brush stroke, select the
appropriate brush, and the eraser tool, click the start point,
and constrain your brush stroke to a diagonal (actually, it
constrains to 15° angles) by holding Control. You already know
that you can draw a straight line with any of the paint tools by
clicking the start point, holding down shift and clicking the end
point. The Control key just constrains the operation while you're
doing this.

Alternatively, if you really want to stroke, you can always
select the eraser tool, then stroke with that (see the Stroke
with paintbrush section at the bottom of the stroke dialog).

Cheers,
Dave.

-- 
David Neary,
Lyon, France
   E-Mail: [EMAIL PROTECTED]
CV: http://dneary.free.fr/CV/
___
Gimp-user mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user


[Gimp-user] rotating and making 'polar array'

2004-08-29 Thread Neil Watson
Back in my autocad days, I used a tool called 'array'.  Using the polar
option I could rotate an object around a centre point making copies.
Is there a way to do this using the Gimp?
--
Neil Watson   | Gentoo Linux
Network Administrator | Uptime  14:46:54 up  1:45,  4 users,  load average: 0.17, 
0.14, 0.11
http://watson-wilson.ca   | 2.6.5 AMD Athlon(tm) MP 2000+ x 2
___
Gimp-user mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user


[Gimp-user] Windows compilation of RawPhoto 0.7

2004-08-29 Thread Matthew H. Plough
Hi everyone --
I have compiled Pawe T. Jochym's RawPhoto 0.7 ( 
http://ptj.rozeta.com.pl/Soft/RawPhoto ) for Windows, and need people to 
test it. The plugin works perfectly on my computer, but I don't know if 
this will be the case elsewhere. The plugin acts as a GIMP 2.0 front end 
for dcraw (Windows binary at http://www.insflug.org/raw/ ), which 
processes RAW digital camera images.

Would anyone be willing to test this plugin on Windows and give me 
feedback as to how well it works? My compilation is located at 
http://www.princeton.edu/~mplough/tmp/rawphoto-windows-0.7.zip . I also 
have a sample image (of a Coast Guard cutter shot from a cruise in 
Alaska) at http://www.princeton.edu/~mplough/tmp/CRW_0092.CRW .

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


[Gimp-user] xsane/xscanimage doe not work in gimp2-2.0.1

2004-08-29 Thread Patrick Shanahan

I cannot access my epson perfection 2400 scanner from gimp2

SuSE 9.0
gimp2-2.0.1-100.SuSE.ulb.1
sane-1.0.13-0.pm.3
xsane-0.95-0.pm.0



/opt/gnome/lib/gimp/2.0/plug-ins/xsane - /usr/X11R6/bin/xsane*

process starts: 
 /opt/gnome/lib/gimp/2.0/plug-ins/xscanimage -gimp 12 10 -run 0
but no interface window appears



/opt/gnome/lib/gimp/2.0/plug-ins/xscanimage - /usr/X11R6/bin/xscanimage*

process starts:
 /opt/gnome/lib/gimp/2.0/plug-ins/xsane -gimp 10 8 -run 0
but no interface window appears 


Both xsane and xscanimage will start directly w/o gimp2 and function
as expected.  What have I done/not done that does not allow me to
access my scanner from within the gimp2?

tks,
-- 
Patrick ShanahanRegistered Linux User #207535
http://wahoo.no-ip.org@ http://counter.li.org
HOG # US1244711   Photo Album:  http://wahoo.no-ip.org/photos
___
Gimp-user mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user


[Gimp-user] GIMP Vs. Photoshop

2004-08-29 Thread Asif Lodhi
Hi All

I always read posts regarding GIMP vs. Photoshop.

As far as I have explored PS, there are lots of great
quick-and-easy filters available and lots of tutorials
to match on the Internet - however, many filters are
missing the parameteric touch that GIMP does have -
you get the same result out of a PS filter and if you
want the result to be different, you start looking for
another filter.  In PS, it seems that for everything,
there is a filter while GIMP gives you the basic
building blocks that help you achieve the results
through application of a combination of those building
blocks.

I am reading Carey Bunks' excellent book Grokking the
Gimp and recommend it to all new GIMP users as well
as PS users because many fine aspects of computer
graphics have been covered in sufficient depth here. 
Particularly, the section on Color Spaces (or models)
such as RGB, CMYK, HSV and Blending Modes is really
excellent and I haven't yet seen that kind of quality
PS stuff elsewhere.  Yes, lots of good tutorials
illustrating lots of 3rd party  built-in filters and
good techniques but no technical tutorial about
blending modes, color theory and the like illustrating
why a particular mode or a color model functions in a
particular way, for example.  In fact, this gives you
great insight into the color theory and helps you a
great deal in developing solid effects or filters.

Further, a couple of days ago, I happened to use PS
(7) and I couldn't find a Selection/Shrink
command/function in PS though a Selection/Grow was
there (may be there is a key combination for shrink -
I don't know!).  The point is:  GIMP's menu structure
and placement of functions is very intuitive and easy
plus, though, it doesn't offer lots of quick-and-easy
filters, it does give you a feel of being in the know
of what exactly you are doing (if you have gone
through good references such as GIMP's online
reference and Carey Bunks' book) and helps you produce
the results through application of various available
facilities - filters, curves, modes, etc - you can
automate and create your own plugins if you can.  In
addition, though minor things like key assignments
seem to have changed from previous versions, core
functionality has been greatly improved and somehow
one can make do through user lists, online references
and other resources.

In my humble opinion, references to PS functionality
or filters can serve as new functional specifications
that voluntary developers might implement in future
releases (if they do find that kind of time, of
course).  Further, such references can serve as 
marketing tools for GIMP if the same results/effects
can be achieved in GIMP in a different fashion using a
combination of GIMP facilities that educate the PS
user a lot about computer graphics.  In addition,
there is enough material available on the Internet
that very clearly positions the GIMP amongst other
re-touching tools - GIMP has its own niche.

I hope this long post is not considered as spam.

My apologies in advance!

Best regards

Asif




__
Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!
http://promotions.yahoo.com/new_mail 
___
Gimp-user mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user


[Gimp-user] Netpbm bugs

2004-08-29 Thread roger
I was getting invalid options with gimp-2* and trying to run a perl-fu
script via command line.

ie 

--no-splash-image, and --enable-stack-trace options not available. 
(They're gone in gimp-2*!)  ... might be wise to remove this (see below
diff)

--- /usr/lib/perl5/site_perl/5.8.2/i686-linux/Gimp/Net.pm.orig 
2004-08-29 20:22:35.927069848 -0400
+++ /usr/lib/perl5/site_perl/5.8.2/i686-linux/Gimp/Net.pm  
2004-08-29 20:23:31.739585056 -0400
@@ -176,8 +176,6 @@
   { # block to suppress warning with broken perls (e.g. 5.004)
  exec $Gimp::Config{GIMP},
   --no-splash,
-  --no-splash-image,
-  --enable-stack-trace, never,
   --console-messages,
   @args,
   -b,
-- 

Roger
http://www.eskimo.com/~roger/index.html

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


Re: [Gimp-user] GIMP Vs. Photoshop

2004-08-29 Thread Tom Williams
Asif Lodhi wrote:
Hi All
I always read posts regarding GIMP vs. Photoshop.
 

Wow!  Interesting comments!  How do you feel about comments comparing 
GIMP and PhotoShop like this:

http://developers.slashdot.org/article.pl?sid=04/04/30/217225tid=92tid=152tid=8
Peace...
Tom
___
Gimp-user mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user


[Gimp-user] Dang protocol error (1) at ... Net.pm line 66. error!

2004-08-29 Thread roger


I'm trying to run a perl script(s) from the command line (on a single
laptop here) and keep getting the following with media-gfx/gimp-2.0.4!

All scripts in the gimp manual also complain!!

X is running! (w/ nvidia drivers ;-)

~/PHOTO_SYNC/work $ ./test.perl -v
pict0006.jpg   

trying to start gimp with options 
INIT: gimp_load_config
Parsing '/etc/gimp/2.0/gimprc'
Parsing '/home/roger/.gimp-2.0/gimprc'
gimp_composite: use=yes, verbose=no
Processor instruction sets: +mmx +sse -sse2 -3dnow -altivec -vis
INIT: gimp_initialize
INIT: gimp_real_initialize
INIT: gimp_restore
INIT: gimp_real_restore
Initializing plug-in: '/usr/lib/gimp/2.0/plug-ins/mrw'
Starting extension: 'extension_script_fu'
GIMP: extension_perl_server not available: unable to start the perl
server

EXIT: gimp_exit
EXIT: gimp_real_exit
EXIT: batch_exit_after_callback
test.perl: protocol error (1) at
/usr/lib/perl5/site_perl/5.8.2/i686-linux/Gimp/Net.pm line 66. (ERROR)
trying to start gimp with options 
INIT: gimp_load_config
Parsing '/etc/gimp/2.0/gimprc'
Parsing '/home/roger/.gimp-2.0/gimprc'
gimp_composite: use=yes, verbose=no
Processor instruction sets: +mmx +sse -sse2 -3dnow -altivec -vis
INIT: gimp_initialize
INIT: gimp_real_initialize
INIT: gimp_restore
INIT: gimp_real_restore
Initializing plug-in: '/usr/lib/gimp/2.0/plug-ins/mrw'
Starting extension: 'extension_script_fu'
GIMP: extension_perl_server not available: unable to start the perl
server

EXIT: gimp_exit
EXIT: gimp_real_exit
EXIT: batch_exit_after_callback
protocol error (1) at
/usr/lib/perl5/site_perl/5.8.2/i686-linux/Gimp/Net.pm line 66.



Just for kicks, here's the script:

# Copyright (C) 2002 Laurent HOUDARD

#use strict;  -- I unset this option as gimp-levels-auto refused to
work with it!

use Gimp;
use Gimp::Fu;

#Gimp::set_trace (TRACE_ALL);
Gimp::init;

my ($input, $output);

foreach $input (@ARGV) 
{
print processing $input...\n;
my $img = Gimp-file_jpeg_load ($input, $input);
my $drw = $img-get_active_layer ();

# Plugin details here!
#$drw-plug_in_dimage_color (1,  # gamma and tone correction
#   0); # default tone correction curve

$drw-gimp-levels-auto

($output = $input) =~ s/(.*)\.jpg/$1_dc_fixed\.jpg/;

print writing $output\n;
$drw-file_jpeg_save ($output, $output, 
  0.75, # quality
  0.0,  # smoothing
  1,# optimize
  0,# progressive
  ,   # comment
  0,# subsampling
  1,# baseline
  0,# restart
  0);   # DCT
}
-- 

Roger
http://www.eskimo.com/~roger/index.html

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


[Gimp-user] Command line python-fu scripts?

2004-08-29 Thread roger
Ok. done with the searching google. :-/

Does anybody have the syntax of a python-fu script which runs from the
command line?

(From reading some articles, this is possible.)
-- 

Roger
http://www.eskimo.com/~roger/index.html

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


Re: [Gimp-user] GIMP Vs. Photoshop

2004-08-29 Thread Asif Lodhi
:)

You have to weigh in a number of factors -
cost/benefit ratio, availability on a number of
platforms, number of free plug-ins/filters, labor of
love regarding creating one's own pattern/effect vs.
getting one churned out of a filter, etc :)

Though I am not fighting tool wars here ;), I would
certainly like to present my humble replies to the
honorary views presented by the poster on Slashdot.

First off, one has to use a tool sufficiently enough
before presenting conclusions as to its
standard/non-standard GUI, non-/intuitive interface,
etc.  I think Gimp's interface is not very much
different from PS - very intuitive, on the contrary. 
Besides, you can't afford developing different GUIs
for different platforms to cater to the needs of a few
users.

According to the GIMP stuff/books I have read so far,
Gimp is not very good with large files.  However, if
you do want to work with large files, you, probably,
should go for CinePaint (filmGimp) as it does have
support for higher bit-depth images and movie-grade
re-touching capabilities (I am going to use it).

Gimp tools/filters are the core building blocks in the
right hands - you have to play with and understand
various parameters of various tools - no one-touch
results here - albeit good customized effects after
wielding some tool parameters.  It also matters
whether you drive satisfactions out of understanding
and learning about those parameters.  Such posters
should visit GUG, GimpGuru, etc. to learn how to use
various filters/tools to yield the desired effect.

I think, text quality is very much dependent on the
font quality and Gimp is simply not the tool for
drawing lines and shapes - though you can draw
lines/shapes using Path/GFig/Selections, etc.  One
should use a vector tool for high-quality line art. 
As to the support aspect,  I have continuously been
witnessing (and receiving, of course) the free support
on this user list - coming from so many Gimp users. 
May be questions related to very rare scenarios are
not answered here or the persons volunteering don't
find enough time for those support queries because of
the magnitude of efforts involved in experimenting,
testing, etc.

CinePaint is popular for its high-end features - it is
just a good guess but may be it has full 16-bit (or
higher) channel support - I don't know, anyway!

I think Gimp's Crop, Rotate and other transformation
tools are very good and am very comfortable with all
of what is available.  I, frankly, haven't used any of
PS.

It also matters what media you are targeting -
online/web or print?  Use PS if CMYK support is
required! Not available in Gimp presently.

Frankly speaking, both Gimp and PS have their own
niches and merits/de-merits and a good computer artist
would use both of them for their particular features. 
I, for one, am more inclined towards using Gimp as the
core tool as trying out combinations of different
parameters, filters, plug-ins to create my own effects
gives me work satisfaction and enhances my
understanding of the color model/mode/filter usage -
labor of love :).

I _think_ I have answered most, if not all, of the
points mentioned in the post you referred me to - in
the interest of helping people understand Gimp better.
 

I think new users must go through Grokking the Gimp
- and the online manual - no matter how much they
refrain from reading books cover to cover.

I close here now.

No tool wars :)

Best regards 

Asif


--- Tom Williams [EMAIL PROTECTED] wrote:

 Asif Lodhi wrote:
 
 Hi All
 
 I always read posts regarding GIMP vs. Photoshop.
   
 
 
 Wow!  Interesting comments!  How do you feel about
 comments comparing 
 GIMP and PhotoShop like this:
 

http://developers.slashdot.org/article.pl?sid=04/04/30/217225tid=92tid=152tid=8
 
 Peace...
 
 Tom
 ___
 Gimp-user mailing list
 [EMAIL PROTECTED]

http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user
 




___
Do you Yahoo!?
Win 1 of 4,000 free domain names from Yahoo! Enter now.
http://promotions.yahoo.com/goldrush
___
Gimp-user mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user


Re: [Gimp-user] GIMP Vs. Photoshop

2004-08-29 Thread Tom Williams
Asif Lodhi wrote:
Though I am not fighting tool wars here ;), I would
certainly like to present my humble replies to the
honorary views presented by the poster on Slashdot.
 

Thanks for the commentary!  :)
Peace...
Tom
___
Gimp-user mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user


Re: [Gimp-user] GIMP Vs. Photoshop

2004-08-29 Thread Alan Bailward
On Sun, 29 Aug 2004 16:46:09 -0700 (PDT), Asif Lodhi
[EMAIL PROTECTED] wrote:
 Hi All
 
 I always read posts regarding GIMP vs. Photoshop.

Just a couple of comments here, from slightly on the other side. First
of all, I'm a linux user and linux lover and have been a gimp user
since the pre-1.0 days, heck, from back when you had to either have
motif or mootif (free version) because GTK didn't exist yet.

Anyway, I used to say that the gimp was just as good as photoshop and
had everything it had, and laughed at the users who didn't even have
an 'undo' command (back in the ps5 or 6 days when the history dialoge
was just a sparkle in some Adobe developers eyes).  Well, lately I've
found I'm wrong.  I recently got into digital photography and because
at the time I didn't know that dcraw existed to read my Pentax RAW
files, started using photoshop to do importing and manipulation of the
images.  Later on I borrowed a color spyder to match up my monitor
colors to image colors so that I knew that what I saw on my screen was
as close as possible to the right colors.  I also purchased
photoshop CS for photographers (an excellent book btw).

Anyway, the point of this is that as I went along I started to learn
more about photoshop, which I didn't really know much about before,
compared to the gimp.   Because I was actually *using* it, instead of
jumping in and out I began learning some of the locations of tools,
shortcut keys, etc, and found that they were superior to the GIMP in
many ways.

Sorry, but it's true.  I was disturbed by this as well actually :) 
It's of course MHO, but let me justify it and bring this all back
around.

Like Asif and others said, the gimp provides building blocks, which is
great, but what PS does, among other things, is refine the tools to
make the VERY user friendly and helpful.  Just a couple of examples,
both pretty easy to do in the GIMP, but just haven't been done yet.

 - crop tool greys out cropped areas, giving you a bit of a better
idea of what the finished image would look like
 - a shortcut for 'fit in view', meaning I can hit ctrl-0 and have my
image resized so it fits fully on the screen, instead of hitting '-'
and '+' until it fit as well as it could
 - the zoom key has a shortcut (this is missing in the latest version
of gimp 2.1.x that I have)
 - LAB color, which allows some nifty stuff with luminesence layers to
allow some cool black and white conversion stuff
 - effects and manipulation layers, which means that you can adjust
colors, layers, levels, and just about everything in a layer, so that
the original image is untouched.
 - no auto thumbnailing of images
 - the filter menu structure is better (IMHO) than the GIMPs in some
ways.  IE: no separate menus for script-fu, perl-fu, python-fu, and
filters; unsharp mask is in filter-sharpen which makes more sense
than filter-enhance

That's just a few.  Of course the GIMP is a mostly volunteer effort,
and a lot of the PS features have limited appeal to people outside
printing press users (CMYK type stuff).  However, my point is that
while the gimp is awsome, it can definately learn from PS (as you
noted).

Actually, I have yet to find one perfect image tool.  Even
Microsoft's picture it has a feature that I have yet to find as easy
to use as the 'straighten picture' function.  You click on one point
(on the horizon say) and then draw a line that is a straight line on
the image.  The program then automatically rotates and crops the image
to those specifications.  Of course you can do this using the
transform tool in corrective mode, and crop by hand, but it's making
the boring jobs non-existant to the user which makes a tool powerful.

Not sure why I got off on a long rant, but I just wanted to give some
perspective from the other side.  BTW, this too is not a flame,
honest!

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