Re: [Gimp-user] Information

2002-03-21 Thread John Beppu

[  date  ] 2002/03/21 | Thursday | 07:26 PM
[ author ] [EMAIL PROTECTED] [EMAIL PROTECTED] 

 When I save a image with .pnm extension and later I open this image with od
 top see bitmap, the first byte is P6. What that is mean? Is it GIMP version?

From the ppm man page:

Each PPM image consists of the following:

- A  magic  number for identifying the file type.  A ppm
  image's magic number is the two characters P6.

Similarly:

format  magic number
--  
PBM P4
PGM P5
PPM P6


pnm -+
 +- pbm
 +- pgm
 +- ppm

PNM is like a general term for the PBM, PGM, and PPM formats.
 ^
 |
 +-- N is like a wildcard for B, G, or P.

 
-- 
package wuv'apqvjgt;($_=join('',(*PgtnHcemgt))) # print map beppu\@$_\n, qw(
=~ s/([HaP])(?!e)/ \U$1/g;s/^.|:| (?=A)|//g;y # cpan.org  lbox.org  binq.org
/c-z/a-u/;printJ$_\n;#$^%$^X@.^ !-- japh -- # oss.lineo.com codepoet.org);
___
Gimp-user mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user



Re: [Gimp-user] Console problem

2002-02-20 Thread John Beppu

[  date  ] 2002/02/19 | Tuesday | 09:32 AM
[ author ] Mike McIntyre [EMAIL PROTECTED] 

 
 It's getting the first command done okay, but none of the subsequent 
 ones. What simple but important thing am I missing ?


Try wrapping all those s-expressions inside a begin.
For example:

; gimp-quit will not be executed this time...
;
gimp -c -i -b '(set! x 5) (gimp-quit 0)'


; however, if you wrap it all in a begin,
; everything will run
;
gimp -c -i -b '(begin (set! x 5) (gimp-quit 0))'

The docs aren't really clear on this, but the -b option
only takes one top-level s-expression.  The Script-Fu
Server is similar in that only one top-level s-expression
is executed per request.


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



Re: [Gimp-user] Help to Write How To Compile the GIMP Stable Tarball

2002-02-12 Thread John Beppu

[  date  ] 2002/02/12 | Tuesday | 09:51 AM
[ author ] Tom Williams [EMAIL PROTECTED] 

 I tend to keep my ssytem fairly up-to-date so I don't have a lot of 
 problems with missing libs (outside of NOT having the Parse:Descent Perl 
 module installed which prevents Scheme support).

What's this about not having Parse::RecDescent preventing Scheme from
working?  Can someone clue me in?

FYI, Parse::RecDescent can be automagically installed using 
the following one-liner:

perl -MCPAN -e 'install Parse::RecDescent'

If you want to manually install it, it can be downloaded from:

http://search.cpan.org/search?dist=Parse-RecDescent

and installation is just a matter of untarring it and doing:

perl *PL
make
make test
make install# as root


--beppu

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