Re: [Gimp-user] Publishing Gimp book

2005-09-06 Thread Jonathan Bartlett
 Sorry for asking a probably stupid question, but what means self-
 publishing? Writing and contributing to/with a license that allowes
 everybody to download a book and to sell the printed version parallel?


Self-publishing simply means that the author is the publisher.  This can
be for any kind of book.  I personally self-publish a GFDL book, and can
provide guidance for anyone wanting to do something similar.  Open
licenses means that micro-publishers (which include self-publishers) can
publish books that they have not paid to write.  Technically, anyone could
download my book and publish it on their own.  In fact, I believe that is
actually happening for translations.  Most people do not because it would
be a waste of time to simply re-publish under another title what someone
else is already the de facto seller of.  If anyone is interested in my
book, see:

http://www.cafeshops.com/bartlettpublish.8640017

If anyone would like assistance self-publishing, you can email me at
[EMAIL PROTECTED]

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


Re: [Gimp-user] Gimp Vs Mathematica handling EPS files

2005-07-19 Thread Jonathan Bartlett
 I'm quite surprised with some results. I had some mathematica
 plots which I just exported into EPS and inserted into a LaTeX
 document. They are excellent. One of them I had to edit so I
 used Gimp and when I saved in EPS, the result was terrible.
 Alot of alias. I do imagine its about resolution but I'm not
 sure. Has anyone had a similar issue? Can someone help me out
 edit a EPS image in Gimp with at least comparable results of
 Mathematica?

I think the issue is vector versus raster.  GIMP is a raster program.
Since Mathematica is dealing with the curves directly, it probably simply
translates the equations into a vector, which can then be handled by
Postscript native elements, and likewise, TeX.

You can definitely make this better by increasing the resolution.  I would
suggest 300DPI as a starting point.

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


Re: [Gimp-user] Scheme question

2004-10-20 Thread Jonathan Bartlett
  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.
 

The big problem w/ Gimp's scheme is that they use a version that is not
really respected by anyone and that's horribly out-of-date.  I think they
did that in the spirit of keeping things simple, but it's horribly
backfired.

Scheme is one of the most ingenious languages around.  I'll be describing
some of its more interesting features this coming year in several IBM
DeveloperWorks articles.  Unfortunately, many of these features aren't
available on GIMP's scheme.

For learning scheme as a language, some good books are:

Teach Yourself Scheme in Fixnum Days (available on the web somewhere)
How to Design Programs
Simply Scheme

a more advanced introduction, which every serious programmer should read
sometime in their life, is

Structure and Interpretation of Computer Programs

In addition, the scheme standard is only 50 pages, and is a pretty easy
read.  You can get it online at schemers.org or a hardcopy from my website
at http://www.cafepress.com/bartlettpublish.9174125

Jon

Learn to program using Linux assembly language
http://www.cafeshops.com/bartlettpublish.8640017
___
Gimp-user mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user


Re: [Gimp-user] transparent backgrounds and windows explorer

2004-07-02 Thread Jonathan Bartlett
If you're using PNG it's because Internet Explorer SUCKS at rendering
PNGs.  IE can only do binary transparency, it cannot do a full alpha
channel.

Jon

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


Re: [Gimp-user] Noise reduction

2003-09-26 Thread Jonathan Bartlett
 Are there any built-in functions or scripts for the GIMP that can be
 used to remove or reduce noise in digital photographs?  Does anyone have
 a set of steps to follow to remove noise?  There are several stand-alone
 programs available for Windows that do this but I haven't found any for
 Linux yet.  Anyone know of any?

Try blurring the R, G, and B channels separately.

Go into layers-channels, de-select all but one channel, and then run your
blur.  Do that on each channel.

Jon

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


Re: [Gimp-user] scripts newby

2003-08-30 Thread Jonathan Bartlett
 Second and last, I have tried to save a picture as jpg with gimp_file_save non
 interractively. The image was saved with 0 quality, is there a way to set the
 jpg settings without using file_jpeg_save and without interractivity?

Why do you need to do this?  What's wrong with file_jpeg_save?

Jon



 thx

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


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


[Gimp-user] Net-Fu

2003-08-18 Thread Jonathan Bartlett
Does net-fu still exist?  All links to any pages about it seem to be dead.
I was interested in using it, but just didn't know how to get started.

Secondly, is there any way to force a script to run as the first scheme
script?  I wanted to define functions used in multiple scripts, and I
needed to get them loaded first (Basically, in case I can't get net-fu to
work, I want to be able to replace it, but I would need to replace
script-fu-register first).

Jon

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


Re: [Gimp-user] GLIB not found in RH9 - Advice please?

2003-08-14 Thread Jonathan Bartlett
Did you install the -devel packages?

Jon

On Fri, 8 Aug 2003, Nick Wilson wrote:

 Hi all,

 I tried compiling 1.3.9 on my RedHat9 system and it couldn't find GLIB
 2.0 or higher. I do appear to have GLIB in /usr/lib/glib and I'm fairly
 sure it's the latest version.

 Could someone please point me in the right direction?

 Many thanks...
 --
 Nick W


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


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


Re: [Gimp-user] Plugin examples - link broken on Gimp web site.

2003-08-14 Thread Jonathan Bartlett
 Also,   I want to use Gimp to render GIF Graphics on the fly.   Gimp
 would run on the server,  and data stored on the server would hopefully
 be used to render histograms, pie charts,  etc and dished out to people
 visiting the site.

Gimp _can_ be used for this purpose, but probably a different solution
(such as the GD library and it's associated graphing library) would be
best.  I use GIMP a lot from the command-line, but the problem with how I
do it is that I run a new GIMP process for every graphic, which takes
several seconds to load, thus would really load down your server if you
were doing it in real time.  The way you would need to do it is to run the
script-fu-server, although I'm not sure this can be done without GUI mode,
although it might.  I have not played with the script-fu-server myself.

Anyway, the way my command-line works is this:

1) I have a script-fu script in scheme

2) I create the following shell script:

#!/bin/sh

gimp -i -d -s -b (nmm-create-and-save-blue-button \$1\ \$2\)
(gimp-quit 0) 2/dev/null

nmm-create-and-save-blue-button is my script-fu script, which takes two
parameters - the text for the button and the filename.  The GIMP flags may
need to be modified for your purpose.  The one thing is that your scripts
CANNOT mess with displays.  For example, if you try to do
gimp-display-new, you'll get an error, since you don't have a GUI.

Now, if you decide that not having a GUI is too much of a pain, you can
always run Xvfb, which is an X server that runs in memory only (i.e. - it
doesn't display on a screen - it's a virtual frame buffer).

Anyway, I hope that helps.  My guess is, although I haven't tried it, si
that you would want to run GIMP with

gimp -i -c -s -b '(1 10008 /var/log/gimp.log)' 

And then connect to port 10008 and give it your commands (although I think
they have to be in scheme, but if you're using the procedural database,
the functions you access can be in any language).

Let me know if you have questions.

Jon






 John


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


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