Re: [Gimp-user] Layers menu

2011-07-19 Thread Kevin Cozens
On 11-07-15 06:32 PM, persofit wrote:
> I am starting to get the hang of GIMP, but in the Layers,Channels,Paths
> window all my pop-ups appear behind the window

Open preferences and select "Window management" on the left side of the 
dialog box. Check the settings for "Window Manager Hints". You probably have 
one or both showing "Utility window". Change the setting(s) to "Normal 
Window" or "Keep above".
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] libgimp-perl (2.0.dfsg+2.2pre1.dfsg-5) .deb packages

2011-07-18 Thread Kevin Cozens
On 11-07-14 10:47 PM, Myke C. Subs wrote:
 > Applying the "Center Layer" and/or "Add Glow" features, however, results
 > in the same ugly error messages that have been present for several years

What "ugly error messages" are you seeing?
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] Gimp in Unity

2011-07-09 Thread Kevin Cozens
On 08/07/2011 3:52 PM, Patrick Horgan wrote:
> Unity is not ready for prime time yet?  It's really lacking in a lot of 
> areas,
> and the UI experience is quite horrid.

For those people using Ubuntu 11.04, Unity is the default environment in which 
they will be working. I very quickly removed Unity and installed Gnome on my 
computers.

-- 
Cheers!

Kevin.

http://www.ve3syb.ca/   |"What are we going to do today, Borg?"
Owner of Elecraft K2 #2172  |"Same thing we always do, Pinkutus:
 |  Try to assimilate the world!"
#include  |  -Pinkutus & the Borg
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] Fwd: scriipt-fu or python?

2011-05-13 Thread Kevin Cozens
John Culleton wrote:
> 1. Do python scripts go into the same folder as .scm scripts? If not, where? 
> I 
> find the .scm scripts in

Script-Fu scripts you want to add to your installation of GIMP should be
placed in ~/.gimp-2.6/scripts. For all other add-on plug-ins/scripts you
need to put them in ~/.gimp-2.6/plug-ins and they should be marked as
executable. Script-Fu scripts do not need to be marked as executable.

NOTE: If you are using the development version of GIMP the directory is
~/.gimp-2.7

> 2. I don't know either language but have programmed in COBOL and Tcl/Tk with 
> side excursions into Perl, C and so on.  Given this background which will the 
> easiest to master for my first plug-in?
>
> The task I have in mind is "gel" text as described in "The Artist's Guide to 
> Gimp Effects" on page 268ff.

You can certainly use either language to save yourself a lot of manual 
steps. If you want other people to use the script then Script-Fu will give 
you the widest possible audience for it as Script-Fu scripts can be used 
with every GIMP install. If you are creating a script for your own use, you 
can use either language.

If you are mainly used to writing programs in a procedural language you 
might want to use Script-Fu/Scheme. GIMP also comes with about 100 Script-Fu 
scripts that you can examine as you learn how to write your own Script-Fu 
script(s). If you go the Script-Fu route, I would also suggest you get a 
copy of the R5RS (or the two main parts of the R6RS) Scheme standard 
documents and you format the Scheme code like you would other programming 
languages. This means no putting all closing ) on one line. It makes it 
easier to see the syntax and structure of Scheme while you are learning.

On the other hand, if you want to create a script to save you some work with 
a language that would be more generally useful for other things outside of 
GIMP, you would be better off with Python. It is mainly an object oriented 
programming language but you can still use it for procedural programming. 
Python scripts for GIMP may make some use of OOP features and there may not 
be as many scripts with GIMP for you to look at.

You can always get help on the #gimp-user IRC channel or this mailing list 
whichever choice you make.
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] Problem downsizing Tiff's

2011-04-24 Thread Kevin Cozens
Mathias Lindner wrote:
> The best format would be a vector graphic as suggested. But from my 
> experience it's hard to get a good one from pixel files.

There are programs you can use that can convert (or try to convert) a bitmap 
image to a vector graphic one. One such option is Autotrace which you can 
get from SourceForge at http://autotrace.sourceforge.net/.
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] How to install gimp plugins, scripts?

2011-02-20 Thread Kevin Cozens
Leonard Evens wrote:
>> I just installed Fedora 14

Wow! Fedora is up to version 14 now? It didn't seem that long ago that 11 
came out.

> I found instructions to do Filters>script-fu>Refresh Scripts.
> 
> That produced the following message.
> 
> Plug-in "script-fu"
> (/usr/lib64/gimp/2.0/plug-ins/script-fu)
> attempted to register the menu item "/Filters/Combine" for
> procedure "script-fu-pandora-combine".
> The menu label given in gimp_install_procedure() already contained a
> path.  To make this work, pass just the menu's label to
> gimp_install_procedure().

You are dealing with an old script that hasn't been updated for use with a 
recent version of GIMP. One option is to ask the author to update the 
script. The other is to fix it yourself.

Scripts no longer include the menu path in the register block and it has 
been this way for quite some time. The register block is now used to state 
the label for the menu entry and a menu_register block has the path that 
indicates where the menu entry is to appear.

Look at the other Script-Fu scripts which ship with GIMP to see how to set 
up the register blocks correctly.
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] Win 7 icons

2011-02-06 Thread Kevin Cozens
crutledge wrote:
> When I was running GIMP 2+ under Win XP all icons of *.xcf displayed the
> image in the icon.
> 
> Under Win 7, only the GIMP icon is displaed. Is there a CODEC or other
> method to have the *.xcf image to display properly as an icon?

The problems is one of file associations and nothing to do with codecs. The 
GIMP installer should (allow you to) set the file extensions for you. If it 
hasn't done this, you can right click an image, select "Open With", select 
the program that will be used to open the file (in this case GIMP), then 
click the checkbox to say "always use this program". All image files with 
extensions matching the type of the image you selected will appear with the 
GIMP icon. Repeat the above for other image types you want to default to 
being opened with GIMP.

The above is based on what I used to do in Windows XP. The steps should be 
similar in Windows 7.
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] How do I get the current image filename and directory name in script-fu?

2011-01-30 Thread Kevin Cozens
Rob Frohne wrote:
> I'm having difficulty figuring out how to get the filename and directory 
> which the images came from.  Does anyone have any tips?

If you look at the Procedure Browser, you will find the following:
 (gimp-image-get-filename image)

It returns the directory path and filename for the loaded file.
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] GIMP cloned from git

2011-01-28 Thread Kevin Cozens
Julien Hardelin wrote:
> Hi,
> "make" gives this error:
> 
> gimpdbusservice.c: in function 'gimp_dbus_service_class_init'
> gimpdbusservice.c: 101:37 : error: 'dbus_glib_gimp_object_info'
> undeclared (first use in this function)

Check whether you have the development packages for dbus installed.
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] Can't access Script-Fu

2011-01-27 Thread Kevin Cozens
mamboze wrote:
> I'm having a problem accessing Script-Fu. As I understand it, when I
> click on Filters>Script-Fu>Refresh Scripts, a menu should appear
> alongside Filters.

That is incorrect. Script-Fu scripts are loaded during the time when the 
splash screen is showing "Starting Extensions" with "extension-script-fu" 
below that. The "Refresh Scripts" menu is used to reload script-fu scripts 
after a file was changed without the need to restart GIMP.

> The scripts I want to use are Script-Fu > Layer Effects > Drop Shadow,
> ...> Inner Shadow, ...> Bevel and Emboss.

Plug-ins and scripts are no longer in the menus based on the language used 
to create the script but based on their functionality. Most of them are 
located under the Filters menu.

For example, Drop Shadow is under the Light and Shadow sub-menu of the 
Filters menu. Bevel is under Artistic, and Emboss is under Distort.
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] Installing GIMP-2.7.1

2011-01-21 Thread Kevin Cozens
Michael Schumacher wrote:
> Make sure that the environment variable LD_LIBRARY_PATH contains the
> directory of the libgimp you've built.

On some systems you may also need to run ldconfig after installing a new 
library file. Library files installed using a package management system 
should do that automatically. I mention it as an FYI.
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] newbie: script for comverting eps line drawings to gif

2011-01-20 Thread Kevin Cozens
Ray Tayek wrote:
> i put one here: http://tayek.com/bobt/images/page3.eps

I looked at the contents of the source file. Ignoring the scaling factor in 
the image, all lines are 0.8 points with the exception of the outside border 
which has a width of 1.92 points.

You can see the thicker border when the image is viewed with the ghostscript 
viewer program, gv. If the conversion from eps to something else doesn't 
produce an image with slightly thicker outside borders than the rest of the 
horizontal and vertical lines, you aren't getting a true view of the image.

Any discrepancy could be due to a number of factor. Bugs in the code, for a 
start, or the size of the output image may be insufficient to allow you to 
see the different line widths.

What might also be affecting image quality when using convert are options 
such as anti-aliasing. I just generated a 400x400 pixel image and the 
quality of the lines was not what I was expecting. Possibly a case of a 
program trying to be too helpful.

> http://tayek.com/bobt/images/gimp/dbp.html

Hm... I'm starting to think these images have something to do with learning 
strategy for Go.

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


Re: [Gimp-user] newbie: script for comverting eps line drawings to gif

2011-01-20 Thread Kevin Cozens
Ray Tayek wrote:
> yes, i tried a bunch of them at http://tayek.com/bobt/images/gif.html 
> but none of them are very good

There is a problem with the set of sample conversions. The image produced by 
GIMP which is supposedly the "good" version of the image is larger than the 
other samples you show. If you can provide a link to the original eps file 
it would be possible to verify the expected look of the image using ghostscript.

I have a strong suspicion that the "good" image you obtained using GIMP may 
not be an accurate representation of the original source file. If GIMP is 
producing the wrong output that is another matter that can only be checked 
and/or fixed with the original eps file.
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] newbie: script for comverting eps line drawings to gif

2011-01-20 Thread Kevin Cozens
Ray Tayek wrote:
> hi, i have a lot of eps files that i need to convert to gif (or png). 
> i was trying to use image magic, but not having any luck.

Install ImageMagick on your computer then you can use its "convert" program 
in a script to convert your images to the format you need.
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] A simple for loop while using Colorize

2011-01-07 Thread Kevin Cozens
Atrus wrote:
> I was aware of scheme scripting, but not of python. I'll have to look into
> that. It shouldn't be too difficult.
> 
> However, I was going off of the "portable apps" version of GIMP as I was
> writing, which went from 0 to 360, not -180 to 180. Is that a version
> difference?

If you are using a portable version of GIMP, the files needed to support 
Python scripts are probably not available to you.

The -180 to 180 for hue is the range of the sliders in the GUI and is listed 
as the range in the Procedure Browser text in GIMP 2.6.7 (and later). The 
current version of GIMP as a portable app is 2.6.11 so it will have that 
same range.
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] A simple for loop while using Colorize

2011-01-07 Thread Kevin Cozens
Atrus wrote:
> 1. Set x to 1
> 2. Apply Colorize with Hue = x (all other values are at their default)
> 3. Save image as x.png
> 4. Undo to previous state.
> 5. Increment x by 1
> 6. Repeat steps 2-5 until x equals 361
> 
> What would be the best approach to accomplishing this?

A small script written in Scheme or Python would be the best way to do the 
above. Doing it by hand will be very tedious. As I suspect you are about to 
say you wouldn't know how to write such a script, you would have to see if 
you can talk someone in to writing such a script for you.

BTW, hue values range from -180 through to 180 (inclusive) in GIMP.
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] Why doesn't "drawable area" follow the dimensions of a layer?

2010-12-17 Thread Kevin Cozens
On 16/12/2010 12:21 AM, Lambertus wrote:
> Picture 2 is copied from an open GIMP image and pasted into the enlarged 
> canvas area of picture 1.
> Picture 2 is invisible if it dragged outside the bounds of picture 1 into an 
> open area of the canvas.

The other option you have is to use "Paste as new layer". You can use the 
layer alignment tool to position the new layer and eventually merge the 
pasted layers.
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] [BULK] Circular Graphics

2010-10-14 Thread Kevin Cozens
Maureen wrote:
> how to add curved text to the circular graphic.

That is easy. There is a Script-Fu script for that called Text Circle. It 
is in the drop down menus under File -> Create -> Logos -> Text Circle.
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] Lost tutorial

2010-10-06 Thread Kevin Cozens
Privat wrote:
> Where can I find tutorial how to animat this Gimp-lightning I made on Gimp.

I don't know which tutorial you were looking for but there are plenty 
available. I used the words "GIMP lightning animate tutorial" to do a 
search using Google and quite a few hits came back that sound promising.

The top four results were:
http://video-tutorials-kovach.blogspot.com/2007/07/gimp-lightning.html
http://tutorial-index.com/redirect/18470
http://www.youtube.com/watch?v=AKsubQISNsY
http://www.astahost.com/info.php/lightning-gimp_t20752.html
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] logo manipulation

2010-08-30 Thread Kevin Cozens
Leon wrote:
> I am a complete beginner and I have to be honestI'm struggling. I created
> a logo for my new business, but when I try to place the logo in a box on
> indesign or such like, the logo comes out looking blurry or smudged.

Since you are working on a logo for a business you should use a vector 
based editing program. That will allow you to create bitmap versions of 
your logo at any size you need without loss of quality.
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] text on circle-path, change direction

2010-08-17 Thread Kevin Cozens
martinz wrote:
> but I cant find this fill angle control (I am pretty new to gimp).
> please give me a quick advise.
> 
> I have the path and then I type in a text. 
> In the text menu I can change -font, 
> -size, 
> -orientation (left, right, block, center) 
> - hinting, auto, ...
> - distance bitween letters, lines and space of 1st line
> - button to apply text to path (which I use!)

I think you are looking at the wrong script when you listed the parameters.

The Text Circle script (Text im Kreis …) has 7 parameters. The one to 
change is the fourth parameter (which is the third number) called Fill 
Angle (Füllwinkel).

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


Re: [Gimp-user] text on circle-path, change direction

2010-08-16 Thread Kevin Cozens
martinz wrote:
> How can I make the letters of the text point to the middle of the
> circle/path??

Change the sign of the fill angle to change the direction the letters will
appear around the circle as well as whether they point towards the center
of the circle or away from the center.


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


Re: [Gimp-user] Suppressing the "press any character to close this window" message in Script-Fu

2010-08-01 Thread Kevin Cozens
Dillon wrote:
> I've written a series of scripts to automate GIMP's script-fu batch
> processor.  Right now I'm working on starting up multiple asynchronous GIMP
> processes.
> 
> The problem I'm having right now is with the interactive "press any
> character to close this window" message that appears when GIMP finishes
> processing a piece of Script-Fu.

I don't believe the message has anything to do with Script-Fu. The message 
about "press any character..." sounds like a message from a machine running 
the Windows operating system and it wants to close a window that was opened 
to run a program and that program has now terminated.

You can get more help if you would provide more information about your 
batch processing method and how you are invoking GIMP to run Script-Fu scripts.
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] PDF editing in Gimp

2010-07-28 Thread Kevin Cozens
Alek wrote:
> When I fill out the PDF form I simply enter all of the text necessary to
> complete the thing and then save it (as a PNG file) and print it out.
> 
> How can I edit individual text I entered on the form? 

Save a copy of the PDF form with the text layers in xcf format before you 
create the PNG file. Having an xcf copy of the file will allow you to load 
it and edit the contents of the text layers from which you can make a new 
PNG file.

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


Re: [Gimp-user] Gimp-user Digest, Vol 94, Issue 25

2010-07-25 Thread Kevin Cozens
Dillon wrote:
> Is that really a "must" ?  It turns out I was missing variable declarations,
> but I have never provided initial values when declaring variables in a let
> block, and that doesn't seem to cause issues.

Yes, it is a must unless you are using GIMP 2.4 or earlier. The TinyScheme 
component of GIMP more closely follows the Scheme standard. The standard 
requires variables in a lot block to have an initial value, and all 
variables must be declared before first use.

You should take a look at the Script-Fu migration guide at 
http://www.gimp.org/docs/script-fu-update.html and my notes at 
http://www.ve3syb.ca/wiki/doku.php?id=software:sf:updating-scripts (which 
cover most of the same points).

> I think that this line is not returning the number of layers as we're
> expecting.  I tried using gimp-message to write the number of layers out to
> the console, but it generates another batch execution error.
[snip]
> (gimp-message "The current file has the following number of layers: ")
> (gimp-message num-layers)

The problem with the above is you are passing an integer to gimp-message 
instead of passing a string. You need to wrap num-layers in a call to 
number->string.

You can combine the two calls to gimp-message so the number of layers 
appears in the message by doing the following:

(gimp-message
   (string-append
 "The current file has the following number of layers: "
 (number->string num-layers)))
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] Script-Fu for batch image conversion

2010-07-24 Thread Kevin Cozens
Dillon wrote:
> (set! num-layers (car (gimp-image-get-layers newimage)))
> (set! layerIDs (cadr (gimp-image-get-layers newimage)))

What error messages do you get when the above lines are included?

> (define (batch-save-as-xcf pattern)
>   (let* (
>   (filelist (cadr (file-glob pattern 1)))
>   (fileparts)
>   (xcfname)
>   (filename)
>   (image)
>   (newimage)
>   (drawable)
>   )

The declarations for variables "fileparts" through to "drawable" are wrong. 
You must provide an initial value when defining a variable in a let block.

The simple solution is to add a 0 or -1 to the declarations for numeric 
variables and "" string variables. Any value will work but it helps to 
stick to the a value similar to the type of value the variable could 
typically hold.

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


Re: [Gimp-user] Looking for script: fade-outline.scm

2009-04-23 Thread Kevin Cozens
DJ wrote:
> Oh wow. I wouldn't have thought to look in bugzilla for a script.

The information was from the GIMP ChangLog file and not bugzilla.

-- 
Cheers!

Kevin.

http://www.ve3syb.ca/   |"What are we going to do today, Borg?"
Owner of Elecraft K2 #2172  |"Same thing we always do, Pinkutus:
 |  Try to assimilate the world!"
#include  |  -Pinkutus & the Borg
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] Looking for script: fade-outline.scm

2009-04-23 Thread Kevin Cozens
DJ wrote:
> I was reviewing some notes I had on a tutorial for buttons. It used a
> script called fade-outline.scm.  I couldn't find it at Gimp Registry,

The fade-outline.scm script was removed from the GIMP source tree by Sven 
Neumann on August 15, 2007. See bug #466382 for the details
http://bugzilla.gnome.org/show_bug.cgi?id=466382

-- 
Cheers!

Kevin.

http://www.ve3syb.ca/   |"What are we going to do today, Borg?"
Owner of Elecraft K2 #2172  |"Same thing we always do, Pinkutus:
 |  Try to assimilate the world!"
#include  |  -Pinkutus & the Borg
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] script-fu "rand" function

2009-03-21 Thread Kevin Cozens
Catherine Jones wrote:
> gimp -i -b '(   ...)' -b '(gimp-quit 0)'
> 
> always does the same thing (assuming the same variable inputs).

Of course it would. You are starting a fresh copy of GIMP each time. If you 
want to change the seed each time you start GIMP, add '(srand (realtime))' 
before you call '(rand)'.

-- 
Cheers!

Kevin.

http://www.ve3syb.ca/   |"What are we going to do today, Borg?"
Owner of Elecraft K2 #2172  |"Same thing we always do, Pinkutus:
 |  Try to assimilate the world!"
#include  |  -Pinkutus & the Borg
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] help updating old script please

2009-03-07 Thread Kevin Cozens
Dason wrote:
> I found the following script:
> ;; tile2anim.scm -*-scheme-*-
[snip]
> (let*
> (
> (theWidth)
> (theHeight)
> (theCols)
> (theRows)
> (theCol)
> (theRow)
> (theImage)
> (theLayer)
> (framePos)
> (tmpLayer)
> )

The main problem I see is you are using variables in the binding portion of 
the let* block but did not provide an initial value for those variables.

See my notes about updating Script-Fu scripts at:
http://www.ve3syb.ca/wiki/doku.php?do=show&id=software%3Asf%3Aupdating-scripts

BTW, it is usually better to include a URL to the original script instead of 
including it in an e-mail when posting to a mailing list. Not too big a deal 
this time as the script wasn't that long.

-- 
Cheers!

Kevin.

http://www.ve3syb.ca/   |"What are we going to do today, Borg?"
Owner of Elecraft K2 #2172  |"Same thing we always do, Pinkutus:
 |  Try to assimilate the world!"
#include  |  -Pinkutus & the Borg
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] extract text in a rectangle from a jpg file

2009-03-02 Thread Kevin Cozens
PoWah Wong wrote:
> How to extract (get or copy) text in a rectangle from a jpg file?
> i.e. the jpg file has a rectangle which has some text (character strings).  
> How to get those text to a text file?

You need to take a look at some of the OCR programs like Tesseract 
(http://code.google.com/p/tesseract-ocr/).

-- 
Cheers!

Kevin.

http://www.ve3syb.ca/   |"What are we going to do today, Borg?"
Owner of Elecraft K2 #2172  |"Same thing we always do, Pinkutus:
 |  Try to assimilate the world!"
#include  |  -Pinkutus & the Borg
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] Ghostscript error

2009-01-30 Thread Kevin Cozens
Zachary Bruno wrote:
> Encapsulated PostScript image Message
> Error starting Ghostscript. Make sure that Ghostscript is installed and 
> - if necessary - use the environment variable GS_PROG to tell GIMP about 
> its location.

If you do not have ghostcript in your systems search path, then follow the 
suggestion in the error message and set GS_PROG to point to the installed 
version of ghostcript.

 > I already have ghostscript, I put it in the directory: C:\Program
 > Files\GIMP-2.0\share\gimp\2.0\scripts

The scripts directory is for Script-Fu scripts. It is not the directory for 
the ghostscript program.

Where did you get your copy of ghostscript for Windows and how (and where) did 
you install it?

-- 
Cheers!

Kevin.

http://www.ve3syb.ca/   |"What are we going to do today, Borg?"
Owner of Elecraft K2 #2172  |"Same thing we always do, Pinkutus:
 |  Try to assimilate the world!"
#include  |  -Pinkutus & the Borg
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] SVG import problem

2009-01-18 Thread Kevin Cozens
mike510 wrote:
> after I have upgraded Gimp to 2.6.4 (Windows), it stopped to inport SVG files
> (neither via File -> Open, nor via Paths Dialog - Import path). In the last
> case it seems to work but no paths are seen in a picture, only in path layers
> dialog.
> The SVG files were the same which I have already rendered in previous version
> Gimp.
> I always get error message tellig that Microsoft Visual C runtime
> unexpectedly closed file-svg plugin.
> 
> Is it just me or does anybody encountered the same situation?

I am currently using gnuplot in a current project so I took a quick look at 
this. I was able to reproduce the problem and discovered the SVG file created 
by gnuplot won't load in either the 2.4.7 or 2.6.1 versions of GIMP.

The error message is:

Could not open
'/part2/home/kcozens/Projects/Arbortronics/USP/src/frontend/test.svg' for
reading: Error parsing XML data

The method to reproduce the problem (but not always) is to use gnuplot in 
interactive mode. Generate a plot (ie. "plot sin(x)") using the default 
terminal of wxt then set terminal to png, set the output file, and replot.

However, this morning, my saved files that wouldn't load yesterday now load. 
There may be a more subtle problem caused by some interaction between running 
gnuplot and GIMP. Further investigation is required.

-- 
Cheers!

Kevin.

http://www.ve3syb.ca/   |"What are we going to do today, Borg?"
Owner of Elecraft K2 #2172  |"Same thing we always do, Pinkutus:
 |  Try to assimilate the world!"
#include  |  -Pinkutus & the Borg

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


Re: [Gimp-user] gimp_file_load_layer(s) not found

2009-01-18 Thread Kevin Cozens
Kate T. Yoak wrote:
> Bigger sigh.  :-) Upgrading to 2.4 on CentOS is a feat. A lot of 
> non-supported rpms to track down.  Too scary.  :-)  No loading layers 
> for me!  They say, CentOS 6 is expected to come with gimp 2.4.  There is 
> hoping!

If CentOS 6 is only planning on making GIMP 2.4 available you will still have 
an old version of GIMP. You should ask them to include a current release of 
GIMP. If they don't want to do that, it might be worth changing to distro that 
provides more current versions of software.

-- 
Cheers!

Kevin.

http://www.ve3syb.ca/   |"What are we going to do today, Borg?"
Owner of Elecraft K2 #2172  |"Same thing we always do, Pinkutus:
 |  Try to assimilate the world!"
#include  |  -Pinkutus & the Borg
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] gimp_file_load_layer(s) not found

2009-01-17 Thread Kevin Cozens
Kate Yoak wrote:
> The two functions, gimp_file_load_layer and layers, which I located in 
> my local installation's Xtns browser are not found by perl-gimp on the 
> server.  It says, " function/macro "gimp_file_load_layers" not found in 
> Gimp"
[snip]
> GIMP version 2.2.13

The reason you are having a problem is because you are using a very old 
version of GIMP. GIMP 2.2 is no longer supported. The file load operations you
are asking were added in the 2.4 version of GIMP.

-- 
Cheers!

Kevin.

http://www.ve3syb.ca/   |"What are we going to do today, Borg?"
Owner of Elecraft K2 #2172  |"Same thing we always do, Pinkutus:
 |  Try to assimilate the world!"
#include  |  -Pinkutus & the Borg
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] editing pdf

2009-01-10 Thread Kevin Cozens
Thufir wrote:
> I used gimp to add text to a pdf to fill out a form, and then printed the 
> resulting xcf file back to pdf -- which worked fine.
> 
> How do I edit the text on the xcf file to correct, for example, a 
> spelling error?

You would make your corrections the same way you added text to fill out the 
form. the only difference would be you need to clear the area containing 
incorrect text before you add the corrected text.

Use the rectangular select tool to select the portion of the text you want to 
remove then hit the delete key to clear it.

-- 
Cheers!

Kevin.

http://www.ve3syb.ca/   |"What are we going to do today, Borg?"
Owner of Elecraft K2 #2172  |"Same thing we always do, Pinkutus:
 |  Try to assimilate the world!"
#include  |  -Pinkutus & the Borg
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] Has anyone encountered this?

2009-01-09 Thread Kevin Cozens
Dave wrote:
> Not!!!  Now when I am down to the very last two layers, the move function has
> been lost, with the icon showing the cross through the circle indicating the
> layer can't be moved. What the heck is up with that? I never had that issue in
> Photoshop.

You haven't stated which version of GIMP you are using or which operating 
system. Since you mention using Photoshop, it would mean some version of 
Windows.

-- 
Cheers!

Kevin.

http://www.ve3syb.ca/   |"What are we going to do today, Borg?"
Owner of Elecraft K2 #2172  |"Same thing we always do, Pinkutus:
 |  Try to assimilate the world!"
#include  |  -Pinkutus & the Borg
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] Error while executing script (Script Stop Working in Windows 2.6.3)

2008-12-13 Thread Kevin Cozens
D.Jones (aka) Capnhud wrote:
> (colors (+ segments (if (= inSmooth TRUE) 1 0)))
[snip]
>   (while (< counter segments) 
>   (gimp-gradient-segment-set-left-color theGradient counter (car 
> (gimp-image-pick-color img inLayer counter 0 FALSE FALSE 0)) 100)
>   (gimp-gradient-segment-set-right-color theGradient counter (car 
> (gimp-image-pick-color img inLayer (+ counter (if (= inSmooth TRUE) 1 0)) 0 
> FALSE FALSE 0)) 100)
>   (set! counter (+ counter 1))
>   )
[snip]
> what is the correct type for argument 3?

The procedure database indicates that a FLOAT (ie. a numerical value) is 
expected for argument 3 of gimp-image-pick-color. Your problem is due to 
invalid use of the "=" operator in the two if statements shown above.

Your code has "(if (= inSmooth TRUE) 1 0)" where in Smooth is a boolean value 
provided by the SF-TOGGLE. The "=" operator is for use when comparing numbers, 
not booleans. Since inSmooth is a boolean, change your if statement to read
(if inSmooth 1 0)

-- 
Cheers!

Kevin.

http://www.ve3syb.ca/   |"What are we going to do today, Borg?"
Owner of Elecraft K2 #2172  |"Same thing we always do, Pinkutus:
 |  Try to assimilate the world!"
#include  |  -Pinkutus & the Borg
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] script-fu-save-anim-layers

2008-10-19 Thread Kevin Cozens
Alec Burgess wrote:
> Thanks ... I think :-) found the example and perused the linked PDF 
> (section 4.2.2. Binding constructs) with out much if any understanding.
> 
> I changed:
> (define (save-layer orig-image layer name)
> (let* (
> (image)
> (buffer)
> )
> 
> to:
> (define (save-layer orig-image layer name)
> (let* (
> (this-is-correct 0)
> (image)
> (buffer)
> )

You didn't need to read the linked PDF file. That is there for reference in 
case someone doubted whether the Scheme interpreter in Script-Fu is doing "the 
right thing" regarding the let* blocks.

The release notes should have made it perfectly clear as to the problem and 
its fix. Since it appears the note about Script-Fu isn't clear enough I will 
think about some changes to the information. In the meantime, Sven has pointed 
out the needed changes to the script that were referred to in the release notes.

-- 
Cheers!

Kevin.

http://www.ve3syb.ca/   |"What are we going to do today, Borg?"
Owner of Elecraft K2 #2172  |"Same thing we always do, Pinkutus:
 |  Try to assimilate the world!"
#include  |  -Pinkutus & the Borg
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] Converting Adobe *.ase swatch files from Kuler to Gimp *.gpl swatch files

2008-10-11 Thread Kevin Cozens
Hedley Finger wrote:
>> http://registry.gimp.org/node/10325
> 
> I installed the script from the link above into  Settings\Hedley Finger\.gimp-2.6\plug-ins>, right?  But when Gimp is 
> launched there is no menu path Import ASE palette...>

The file name ends in .py so you need a Python interpreter installed on your 
machine. If you don't see a menu entry Python-Fu under Filters, then you don't 
have Python on your machine. If you don't have it, I would suggest installing 
Active Python which can be found at:
http://www.activestate.com/Products/activepython/index.mhtml

-- 
Cheers!

Kevin.

http://www.ve3syb.ca/   |"What are we going to do today, Borg?"
Owner of Elecraft K2 #2172  |"Same thing we always do, Pinkutus:
 |  Try to assimilate the world!"
#include  |  -Pinkutus & the Borg
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] I need to know

2008-10-10 Thread Kevin Cozens
Bernd Weber wrote:
> I rather use perl-gimp. I like the concept of the procedural database
> very much. Unfortunately perl-gimp seems not being supported very much,

I have been meaning to release a new version of the gimp-perl package for some 
time now. I haven't gotten around to reading up on how to package the contents 
of the Subversion repository so that a standard build process (ie. cpan) can 
be used to install the binding.

-- 
Cheers!

Kevin.

http://www.ve3syb.ca/   |"What are we going to do today, Borg?"
Owner of Elecraft K2 #2172  |"Same thing we always do, Pinkutus:
 |  Try to assimilate the world!"
#include  |  -Pinkutus & the Borg
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] Converting Adobe *.ase swatch files from Kuler to Gimp *.gpl swatch files

2008-10-10 Thread Kevin Cozens
Chris Mohler wrote:
> Also, once the palette is loaded (if it works :), you need to manually
 > refresh the palette list - the new palette will appear toward the top.

Just add a call to gimp-palettes-refresh.

> This plug-in does not handle the full ASE spec (notably RBG only)

Thanks, Chris. This seems like a good start. It can always be improved later. 
Hopefully, Hedley can test it and report back as to how well it works (or 
doesn't).

-- 
Cheers!

Kevin.

http://www.ve3syb.ca/   |"What are we going to do today, Borg?"
Owner of Elecraft K2 #2172  |"Same thing we always do, Pinkutus:
 |  Try to assimilate the world!"
#include  |  -Pinkutus & the Borg
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] Converting Adobe *.ase swatch files from Kuler to Gimp *.gpl swatch files

2008-10-09 Thread Kevin Cozens
Hedley Finger wrote:
> Can anybody point me to a Gimp plug-in or external utility that can 
> convert *.ase swatch files from Adobe Kuler to Gimp *.gpl files please?  

If you haven't found anything using Google and there is no plug-in already 
available in the registry, someone will have to create a plug-in, or script 
file, to do the conversion. That someone will need to have access to .ase 
files and to the details of the format of those files.

-- 
Cheers!

Kevin.

http://www.ve3syb.ca/   |"What are we going to do today, Borg?"
Owner of Elecraft K2 #2172  |"Same thing we always do, Pinkutus:
 |  Try to assimilate the world!"
#include  |  -Pinkutus & the Borg
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] How to remove the "eyes" from 2.6 application windows backgrounds?

2008-10-08 Thread Kevin Cozens
Henderson, Roy wrote:
> Have just installed V2.6 on Windows. Is there a configuration option to 
> remove the “eyes” from the background of the Toolbox and Image windows? 

You can get rid of the "eyes" from the Toolbox by adding the following line to 
your gimprc file:

(toolbox-wilber no)

It only affects the toolbox. The eyes in the Image window are only visible 
when you do not have an open image.

-- 
Cheers!

Kevin.

http://www.ve3syb.ca/   |"What are we going to do today, Borg?"
Owner of Elecraft K2 #2172  |"Same thing we always do, Pinkutus:
 |  Try to assimilate the world!"
#include  |  -Pinkutus & the Borg
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] ANNOUNCE: GIMP 2.6.0

2008-10-03 Thread Kevin Cozens
Johan Vromans wrote:
> Unfortunately, even though I'm running a recent version of Linux,
> Fedora 9, I cannot build this version. Some of the requirements are
> out of reach for this latest stable version of Fedora.

What requirements "are out of reach" for Fedora 9?

-- 
Cheers!

Kevin.

http://www.ve3syb.ca/   |"What are we going to do today, Borg?"
Owner of Elecraft K2 #2172  |"Same thing we always do, Pinkutus:
 |  Try to assimilate the world!"
#include  |  -Pinkutus & the Borg
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] printing only blue

2008-09-23 Thread Kevin Cozens
Dotan Cohen wrote:
> My printer has a stuck blue nozzle and I am trying to clean it.

The simplest solution is to run multiple cleaning cycles to clear the nozzles. 
I had an inkjet printer where multiple nozzles were clogged. It took about 
three or four of the printers built-in cleaning cycles to fully unclog all 
holes in all of the cartridges.

-- 
Cheers!

Kevin.

http://www.ve3syb.ca/   |"What are we going to do today, Borg?"
Owner of Elecraft K2 #2172  |"Same thing we always do, Pinkutus:
 |  Try to assimilate the world!"
#include  |  -Pinkutus & the Borg
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] gimp run problem - resubmitted

2008-09-10 Thread Kevin Cozens
Bettinson Ian wrote:
> /Libgimp version mismatch!/
[snip]
>  Maybe you have GIMP versions in both /usr and /usr/local ?/

The error message is telling you the most likely cause of your problem. You 
have installed two different versions of GIMP in under the same directory tree 
(/usr and /usr/local).

Since you have 2.4.6 installed, you don't need to keep version 2.4.0 so just 
delete that. Better still, delete both versions and install the most recent 
2.4.7 version.

-- 
Cheers!

Kevin.

http://www.ve3syb.ca/   |"What are we going to do today, Borg?"
Owner of Elecraft K2 #2172  |"Same thing we always do, Pinkutus:
 |  Try to assimilate the world!"
#include  |  -Pinkutus & the Borg
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] Can gimp run on external hard drive?

2008-09-10 Thread Kevin Cozens
Bernd Weber wrote:
> I had a look on portableapps.con. Gimp is not listed there, so I don't 
> think that it would really be a solution for your Problem.

GIMP is the only program listed on the Applications page of portableapps.com 
Graphics & Pictures category. I have had GIMP on one of my memory sticks for 
some time. I recently booted to Windows to discover that I can update the 
portable version on my memory stick to the 2.4.7 version of GIMP.

-- 
Cheers!

Kevin.

http://www.ve3syb.ca/   |"What are we going to do today, Borg?"
Owner of Elecraft K2 #2172  |"Same thing we always do, Pinkutus:
 |  Try to assimilate the world!"
#include  |  -Pinkutus & the Borg
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] Opening Pictures with Gimp

2008-05-19 Thread Kevin Cozens
Cal wrote:
> What do I need to do, that allows pictures to
> automatically open through GIMP whenever I click on
> them?

Change the file associations. AFAIK, they should have been set (or you were 
given an option to set them) when you installed GIMP.

http://lists.xcf.berkeley.edu/lists/gimp-user/2006-August/008514.html

-- 
Cheers!

Kevin.

http://www.ve3syb.ca/   |"What are we going to do today, Borg?"
Owner of Elecraft K2 #2172  |"Same thing we always do, Pinkutus:
 |  Try to assimilate the world!"
#include  |  -Pinkutus & the Borg
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] Script-Fu

2008-05-17 Thread Kevin Cozens
Xavier Mas wrote:
> I need to program some batch actions using Scheme or Perl in GIMP but am not 
> able to see the scripts once they are registered. Scripts are well writed, 
> are example taken from GIMP manual, and I change permissions on the files as 
> they became executables, but still can't see them in the menu.

The proper method for registering scripts has changed slightly in the 2.4 
version of GIMP. The manual you are looking at might be a bit out of date. 
Since you said you made the files executable I think you are mixing up 
differences between Script-Fu scripts and other scripts (and plug-ins) written 
in other languages.

Script-Fu scripts only need to be readable and go in to the 
~/.gimp-2.4/scripts directory. All other scripts and plug-ins need to be 
marked executable and placed in the ~/.gimp-2.4/plug-ins directory.

-- 
Cheers!

Kevin.

http://www.ve3syb.ca/   |"What are we going to do today, Borg?"
Owner of Elecraft K2 #2172  |"Same thing we always do, Pinkutus:
 |  Try to assimilate the world!"
#include  |  -Pinkutus & the Borg
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] pspi 1.0.7 for linux

2008-05-09 Thread Kevin Cozens
Gimp Nub wrote:
> Has anyone managed to run the pspi.exe.so in
> 
>http://www.gimp.org/~tml/gimp/win32/gimp-pspi-1.0.7.suse10.i386.tar.gz

If you are in Windows, you run .exe, .com, or .bat files. A .so file is 
run-time library, not an executable file.

-- 
Cheers!

Kevin.

http://www.ve3syb.ca/   |"What are we going to do today, Borg?"
Owner of Elecraft K2 #2172  |"Same thing we always do, Pinkutus:
 |  Try to assimilate the world!"
#include  |  -Pinkutus & the Borg
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] register scm script

2008-05-04 Thread Kevin Cozens
Xavier Mas wrote:
> I can't register the following script  when I refresh the server and don't 
> know what's wrong with it. Any suggestions?
> ---
> define (uni-img size color)   

You are missing the ( before 'define' but I will assume that is just a cut and 
past error.

> (script-fu-menu-register "uni-img" "/Script_Fu/Tutorials")

I would suggest "/Xtns/Script-Fu/Tutorials" if you are using GIMP 2.4.

-- 
Cheers!

Kevin.

http://www.ve3syb.ca/   |"What are we going to do today, Borg?"
Owner of Elecraft K2 #2172  |"Same thing we always do, Pinkutus:
 |  Try to assimilate the world!"
#include  |  -Pinkutus & the Borg
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] batch mode in gimp, add alpha, change color

2008-05-01 Thread Kevin Cozens
Choi, JiHui wrote:
> I want to do some doing on my many images, about 1,000 ;
> at first, add alpha channel at each image, and change color #fff to 
> transparent.

I think you would be better off doing this using ImageMagick and a shell 
script. The 'convert' program with the -alpha and -background options should 
allow you to do what you want.

-- 
Cheers!

Kevin.

http://www.ve3syb.ca/   |"What are we going to do today, Borg?"
Owner of Elecraft K2 #2172  |"Same thing we always do, Pinkutus:
 |  Try to assimilate the world!"
#include  |  -Pinkutus & the Borg
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] Text

2008-04-23 Thread Kevin Cozens
Lap1994 wrote:
> Can I change the size of a text while tipying it? Eg: "Here a small text  
> 12pt, and here a big one 86pt", in the same text-layer

You can't mix text attributes in one entry box yet. I say "yet" as there is a 
GSoC project to enhance the text tool. However, an enhanced text tool won't be 
generally available until sometime after 2.6 has been released (ie. probably 
not until 2.8 or possibly later).

-- 
Cheers!

Kevin.

http://www.ve3syb.ca/   |"What are we going to do today, Borg?"
Owner of Elecraft K2 #2172  |"Same thing we always do, Pinkutus:
 |  Try to assimilate the world!"
#include  |  -Pinkutus & the Borg
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] How to make text fit a shape, not just follow a path?

2008-04-23 Thread Kevin Cozens
Shin Diggar wrote:
> Thanks to Elwin and Nathan for the suggestions. I'm happy to do this in
> Inkscape and import the results into GIMP but I can't work out how to do
> it.

Save the file as an .svg from Inkscape and pull that file in to GIMP. If the 
svg file loader in GIMP is rasterizing the SVG at one size and then resizing 
the raster image to the desired size during the import, a bug or enhancement 
request should be filed against the svg loader. It should allow you to 
generate a raster image at the desired size without the need to do any resizing.

-- 
Cheers!

Kevin.

http://www.ve3syb.ca/   |"What are we going to do today, Borg?"
Owner of Elecraft K2 #2172  |"Same thing we always do, Pinkutus:
 |  Try to assimilate the world!"
#include  |  -Pinkutus & the Borg
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] Exact crop question

2008-04-22 Thread Kevin Cozens
Zachary Leung wrote:
> I tried something below, but that didn't work. =(
[snip]
> gimp -i -b '(plug_in_autocrop "movie0.jpg")'
> 
> (define (zac-autocrop filename)
>   (let* ((image (car (gimp-file-load RUN-NONINTERACTIVE filename filename)))
>  (drawable (car (gimp-image-get-active-layer image
> (plug_in_autocrop RUN-NONINTERACTIVE image drawable)
> (gimp-file-save RUN-NONINTERACTIVE image drawable filename filename)
> (gimp-image-delete image)))

 From a quick look at the above, the zac-autocrop function appears to be ok 
with one minor exception. You don't use _ in the names of functions in 
Script-Fu. 'plug_in_autocrop' should be 'plug-in-autocrop'.

If you wrote zac-autocrop to load, crop, and re-save your files, why does your 
GIMP command line shown above call plug-in-autocrop instead of zac-autocrop?

-- 
Cheers!

Kevin.

http://www.ve3syb.ca/   |"What are we going to do today, Borg?"
Owner of Elecraft K2 #2172  |"Same thing we always do, Pinkutus:
 |  Try to assimilate the world!"
#include  |  -Pinkutus & the Borg
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] Missing filters in GIMP-2.4.5

2008-04-21 Thread Kevin Cozens
julien wrote:
> All files in my /usr/local/gimp-2.4.5/ are root. Is this normal?
>
> If I run gimp-2.4.5 in root mode, I have Decor, Alpha-to-logo and all
> items in Xtns!

Yes, it is normal. What is more important is the permissions on the files and 
directories. If everything is working properly when you are logged in as root 
but not when you are logged in as a normal user, you have the wrong 
permissions on the GIMP files and directories.

-- 
Cheers!

Kevin.

http://www.ve3syb.ca/   |"What are we going to do today, Borg?"
Owner of Elecraft K2 #2172  |"Same thing we always do, Pinkutus:
 |  Try to assimilate the world!"
#include  |  -Pinkutus & the Borg
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] Missing filters in GIMP-2.4.5

2008-04-21 Thread Kevin Cozens
Martin Nordholts wrote:
> I can imagine that some parsing mechanism gets confused of the '.' in
> the prefix. Does it work if you use the prefix /usr/local/gimp-2-4-5
> instead?

The '.' characters in the prefix are not a problem. I have directories whose 
names end in gimp-2.2 and gimp-2.4 as targets for test installs on my machine.

-- 
Cheers!

Kevin.

http://www.ve3syb.ca/   |"What are we going to do today, Borg?"
Owner of Elecraft K2 #2172  |"Same thing we always do, Pinkutus:
 |  Try to assimilate the world!"
#include  |  -Pinkutus & the Borg
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] Missing filters in GIMP-2.4.5

2008-04-20 Thread Kevin Cozens
julien wrote:
> I downloaded gimp-2.4.5.tar.bz2 and verified that the md5check sum is OK.
[snip]
> When I run gimp I get
> 
> /usr/gimp-2.4.5/bin/gimp-2.4
> Unable to read initialization file script-fu.init

Your install is broken. None of the Script-Fu scripts will work without the 
script-fu.init file.

-- 
Cheers!

Kevin.

http://www.ve3syb.ca/   |"What are we going to do today, Borg?"
Owner of Elecraft K2 #2172  |"Same thing we always do, Pinkutus:
 |  Try to assimilate the world!"
#include  |  -Pinkutus & the Borg
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] problem with image conversion script

2008-04-06 Thread Kevin Cozens
Octavi Fors wrote:
> I want to convert a FITS image into PPM in batch mode.
[snip]
> When I run this in the command line (in the same directory where 
> "mask.fits" reides) I get this result:
[snip]
> However, no file "mask.ppm" appears in the directory where I'm executing 
> gimp :-(

Your users current directory and GIMP's default directory aren't necessarily 
the same. Include the directory name in the name of the files.

-- 
Cheers!

Kevin.

http://www.ve3syb.ca/   |"What are we going to do today, Borg?"
Owner of Elecraft K2 #2172  |"Same thing we always do, Pinkutus:
 |  Try to assimilate the world!"
#include  |  -Pinkutus & the Borg
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] whats the best way to learn script-fu

2008-04-04 Thread Kevin Cozens
rob wrote:
> Whats the best way to learn script-fu?
[snip]
> if anyone can recomend something specific
> that they thought was the best way to get started with batch image 
> processing with gimp.

You should become familiar with the Scheme language. To do that, get a copy of 
the R5RS (http://www.schemers.org/Documents/Standards/R5RS/r5rs.pdf) and read 
it. Just be aware that not everything mentioned in the R5RS is implemented in 
the Scheme interpreter of Script-Fu. Items like define-syntax, or bignums are 
examples of items not currently supported. Also, look at the scripts which are 
shipped with GIMP.

I think one of the problems people have when learning Scheme is that a lot of 
scripts are shown with many closing ) symbols at the end of a line. While you 
are getting comfortable with Scheme I would suggest you don't skimp on the 
whitespace. Put the closing parentheses on separate lines. If may violate some 
Scheme based coding style guides but makes it much easier to see the syntax of 
the language.

There are tutorials on the GIMP web site at http://www.gimp.org/tutorials/ 
under "Script Authoring". I also have some notes about Script-Fu in the wiki 
section of my web site at 
http://www.ve3syb.ca/wiki/doku.php?id=software:sf:start

Be careful of any Script-Fu tutorial which was written before the release of 
the 2.4 version of GIMP. It may contain information that is out-of-date or 
even wrong as GIMP has moved to a different Scheme interpreter.

-- 
Cheers!

Kevin.

http://www.ve3syb.ca/   |"What are we going to do today, Borg?"
Owner of Elecraft K2 #2172  |"Same thing we always do, Pinkutus:
 |  Try to assimilate the world!"
#include  |  -Pinkutus & the Borg

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


Re: [Gimp-user] Commercial Gimp clone for sale ?

2008-03-25 Thread Kevin Cozens
Alchemie foto\grafiche wrote:
> well looks as a Gimp clone, even support xcf is for sale at  
> http://www.pixelmator.com/ for 59$
> 
> Is for Mac
> 
> Is licit ?

It looks interesting. It appears on the surface to be based on some version of 
GIMP but they seem to have made some substantial changes behind the scenes.

It is only for the Mac, has a number of UI tweaks (ie. icon for active tool 
larger than the other tool icons), uses something called Core Image (their 
version of a GEGL type library), makes use of a GPU, and they have done a nice 
job on the manual.

Other versions of GIMP for sale are mostly just repackaged or rebranded 
versions with little (if any) changes. This does not appear to be the case 
with this version.

-- 
Cheers!

Kevin.

http://www.ve3syb.ca/   |"What are we going to do today, Borg?"
Owner of Elecraft K2 #2172  |"Same thing we always do, Pinkutus:
 |  Try to assimilate the world!"
#include  |  -Pinkutus & the Borg

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


Re: [Gimp-user] quest about installing multiple versions of GIMP

2008-01-31 Thread Kevin Cozens
alessia wrote:
> I' ve a questo since a long time regarding the possibilty to install and 
> run multiple, and by the way different, versions of Gimp on the same 
> computer.

If you are installing a Windows version just enter a different directory from 
the default choice when asked for the install directory. If you are in a Linux 
environment, you *might* be able to installed a pre-compiled package to a 
different directory if your package management system supports relocation of 
packages (ie. the --relocate option for RPM based package management). Not 
sure how well it will work in practice. The only other option is to build from 
source. Just avoid have GIMP in /usr then another one in /usr/local as this 
can still result in conflicts between versions.

-- 
Cheers!

Kevin.

http://www.ve3syb.ca/   |"What are we going to do today, Borg?"
Owner of Elecraft K2 #2172  |"Same thing we always do, Pinkutus:
 |  Try to assimilate the world!"
#include  |  -Pinkutus & the Borg
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] layers dialogue

2008-01-17 Thread Kevin Cozens
Helen wrote:
> Some of the layers have a second rectangular image, to the right of the 
> lineup.  What
> is the significance of the 2nd image?What is it? Where does it come 
> from?  Does it
> have any use?

The second image would be the layer mask. Yes, it does have a use. Take a look 
at http://www.gimp.org/tutorials/The_Basics/ for an example of its use.

-- 
Cheers!

Kevin.

http://www.ve3syb.ca/   |"What are we going to do today, Borg?"
Owner of Elecraft K2 #2172  |"Same thing we always do, Pinkutus:
 |  Try to assimilate the world!"
#include  |  -Pinkutus & the Borg
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] The script Cross-processing.scm

2008-01-14 Thread Kevin Cozens
Johnny Rosenberg wrote:
> I understand that GIMP has to look in that directory to be able to list 
> all available scripts in the menu, but I don't understand how that alone 
> can cause conflicts. Just looking for scripts to place their names in 
> the menu and, of course, link the names in the menu to the corresponding 
> script.

Script-Fu reads all scripts in to one block of memory. It can only remember 
one copy of something (based on its name). If two script files each define 
something called 'my-function', the last script file containing a define for 
'my-function' will be the one Script-Fu remembers. Any code that calls 
'my-function' will be executing the version from the last script to define it.

>> All scripts are read in to a single namespace. If two scripts have
>> conflicting
>>   definitions for items defined outside of a function (ie. global to the
>> file), there will be problems running the functions from one of
>> those files. 
> 
> But does GIMP really HAVE to do all this?

It doesn't *have* to do this but it was made to work that way a long time ago
and that hasn't been changed (yet). I have started work on a side project
which will change this behaviour.

-- 
Cheers!

Kevin.

http://www.ve3syb.ca/   |"What are we going to do today, Borg?"
Owner of Elecraft K2 #2172  |"Same thing we always do, Pinkutus:
 |  Try to assimilate the world!"
#include  |  -Pinkutus & the Borg


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


Re: [Gimp-user] The script Cross-processing.scm

2008-01-09 Thread Kevin Cozens
Tobias Jakobs wrote:
> It looks like this is Bug #490326.

Not really. The cause of the problem in the bug report is unknown. This 
message thread is about the adding of a script which apparently causes a 
problem.

-- 
Cheers!

Kevin.

http://www.ve3syb.ca/   |"What are we going to do today, Borg?"
Owner of Elecraft K2 #2172  |"Same thing we always do, Pinkutus:
 |  Try to assimilate the world!"
#include  |  -Pinkutus & the Borg
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] The script Cross-processing.scm

2008-01-08 Thread Kevin Cozens
Johnny Rosenberg wrote:
 > I see. All we did to make it work, was to remove the script from the
 > GIMP user script folder, in this case ~/.gimp2.4/scripts. It was the
 > only script and even only file in that folder. Isn't it strange that a
 > single file can do just any kind of damage by just lying there? I mean,
 > if I run a non user script, which obviously isn't dependent on the
 > Cross-processing script, why would it matter what kind of files I have
 > in my user defined script folder? Should really GIMP look there at all?
[snip]
 > 2. I just want to learn how these things work, in this case because I
 > can't see that it makes any sense.

Of course GIMP needs to look in the ~/.gimp-2.4/scripts directory. GIMP ships 
with a number of scripts. There needs to be a separate directory were users 
can put their own scripts or ones written by others.

All scripts are read in to a single namespace. If two scripts have conflicting 
  definitions for items defined outside of a function (ie. global to the 
file), there will be problems running the functions from one of those files.

I found a cross-processing.scm script listed in the GIMP plug-in registry. It 
was written for GIMP 2.0 and needs some minor updates before it can be used 
properly with a 2.4 version of GIMP.

Now you have a slightly better idea of how things work in regards to Script-Fu 
scripts.

-- 
Cheers!

Kevin.

http://www.ve3syb.ca/   |"What are we going to do today, Borg?"
Owner of Elecraft K2 #2172  |"Same thing we always do, Pinkutus:
 |  Try to assimilate the world!"
#include  |  -Pinkutus & the Borg
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] The script Cross-processing.scm

2008-01-08 Thread Kevin Cozens
Johnny Rosenberg wrote:
> After installing the Cross-processing script, which I found somewhere, 
> one of the GIMP standard filters stopped working. After removing 
> Cross-processing, the GIMP-filter worked again.

If you are adding a third party script and it is conflicting with scripts 
shipped with GIMP, you need to fix the third party script. If you can't do 
that, ask the author of the script to fix it, or ask on the mailing list for 
help. You will need to post the script somewhere if you want someone on the 
mailing list to help you fix the script.

-- 
Cheers!

Kevin.

http://www.ve3syb.ca/   |"What are we going to do today, Borg?"
Owner of Elecraft K2 #2172  |"Same thing we always do, Pinkutus:
 |  Try to assimilate the world!"
#include  |  -Pinkutus & the Borg
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] Displaying keyboard shortcuts

2008-01-04 Thread Kevin Cozens
Jeffery Small wrote:
> I downloaded viewShortcuts.py and place it in my plug-ins directory.

I forgot to mention that after the file is copied to the plug-ins directory 
you need to set the execute bits (ie. use chmod +x).

-- 
Cheers!

Kevin.

http://www.ve3syb.ca/   |"What are we going to do today, Borg?"
Owner of Elecraft K2 #2172  |"Same thing we always do, Pinkutus:
  |  Try to assimilate the world!"
#include  |  -Pinkutus & the Borg
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user

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


Re: [Gimp-user] Displaying keyboard shortcuts

2008-01-04 Thread Kevin Cozens
Jeffery Small wrote:
> On Jan 5, 2008 2:33 AM,  <[EMAIL PROTECTED]> wrote:
>> For those wanting a list of their current shortcuts - you can use this
>> script...
>>
>> http://gimpthoughts.com/home/index.php?option=com_docman&task=cat_view&gid=23&Itemid=38
> 
> I downloaded viewShortcuts.py and place it in my plug-ins directory.
> However, it is not being seen by gimp.  Nothing appears in the Help menu
> nor is it listed in the Script-Fu menu.

The script file name ends in .py which makes it a Python script. It won't 
appear under a Script-Fu menu. Look in the main GIMP menus for the entry 
"Shortcuts" found under Help.

-- 
Cheers!

Kevin.

http://www.ve3syb.ca/   |"What are we going to do today, Borg?"
Owner of Elecraft K2 #2172  |"Same thing we always do, Pinkutus:
 |  Try to assimilate the world!"
#include  |  -Pinkutus & the Borg
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] Script-fu gimp-file-save-thumbnail function

2008-01-04 Thread Kevin Cozens
Martin Bradley wrote:
> I'd been slowly trying to learn Common Lisp and thought that Script-Fu had it.
> Here is the scheme coding tutorial I was using, most likely the wrong
> thing to be reading.
> http://www.ccs.neu.edu/home/dorai/t-y-scheme/t-y-scheme-Z-H-1.html#node_toc_node_sec_4.1

Script-Fu scripts are based on the Scheme language. Scheme is a dialect of 
Lisp. There are a number of Scheme interpreters which may offer slightly 
different features and compliance with the Scheme standards. The web page you 
are reading appears to be for the Scheme variant used in mzscheme.

Script-Fu as of GIMP 2.4 more closely follows the R5RS. The document you 
should be reading can be found at 
http://www.schemers.org/Documents/Standards/R5RS/r5rs.pdf.

Some aspects described in the R5RS are not supported in Script-Fu. 
define-syntax is one of them.

-- 
Cheers!

Kevin.

http://www.ve3syb.ca/   |"What are we going to do today, Borg?"
Owner of Elecraft K2 #2172  |"Same thing we always do, Pinkutus:
 |  Try to assimilate the world!"
#include  |  -Pinkutus & the Borg
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] Script-fu gimp-file-save-thumbnail function

2008-01-04 Thread Kevin Cozens
Martin Bradley wrote:
> (define (script-fu-create-thumb filename)
>   (let* ((img 0))
> ;; car needed here because gimp functions return values as lists
> (set! img (car (gimp-file-load 1 filename filename))
>  (gimp-file-save img filename)
>  (print (gimp-file-save-thumbnail img filename
>   )
[snip]
 >SF-VALUE "Image Name" " "

You have an error in your placement of ')'. You have one too few at the end of 
the set! line and one too many at the end of the print line.

You have the wrong number of arguments in the call to gimp-file-save. You can 
see the list of required arguments in the Procedure Browser. I don't think you 
need the file save since you haven't changed the file since it was loaded.

The SF-VALUE in the register block should be SF-FILENAME.

> Later on I edited the function to be as shown below. 
[snip]
>  (when (gimp-file-save-thumbnail img)
>(gimp-message "thumbnail saved?")

Where did you come up with 'when'? There is no such function in Script-Fu.

-- 
Cheers!

Kevin.

http://www.ve3syb.ca/   |"What are we going to do today, Borg?"
Owner of Elecraft K2 #2172  |"Same thing we always do, Pinkutus:
 |  Try to assimilate the world!"
#include  |  -Pinkutus & the Borg
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] Script-Fu needed: apply Auto-White-Balance on all images...

2007-12-17 Thread Kevin Cozens
[EMAIL PROTECTED] wrote:
> I needed a script-fu routine that apply Auto-White-Balance on all OPENED 
> images...
> Like the Save-All script-fu that provided by an user in this list.
> 
> I don't wanna use outer tool, because sometimes the Auto-White-Balance 
> is makes wrong result.

By "outer tool" I assume you are referring to the menu item. The difference 
between the menu item and using the function from a script is the script 
callable version allows you to specify whether it should use adjust based on 
shadow, mid-tones, or hightlights. The menu item doesn't give you a choice. It 
just uses whatever it has as its default settings.

You could easily modify the Save All script to do what you want. The main 
change involves replacing the call to gimp-file-save with a call to 
gimp-color-balance with the parameters you want to use. You also want to 
change the name of the script from script-fu-save-all-images to something more 
appropriate, and edit the register block to put the script under 
/Colors/Auto.

There are several scripts (ie. chrome-it.scm) which are shipped with GIMP that 
make a call to gimp-color-balance if you are unsure about the parameters you 
need to pass.

-- 
Cheers!

Kevin.

http://www.ve3syb.ca/   |"What are we going to do today, Borg?"
Owner of Elecraft K2 #2172  |"Same thing we always do, Pinkutus:
 |  Try to assimilate the world!"
#include  |  -Pinkutus & the Borg
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] logo script forces crop

2007-12-01 Thread Kevin Cozens
Joao S. O. Bueno wrote:
> On Saturday 01 December 2007 04:52:03 pm Kevin Cozens wrote:
>> When a script is run as an Alpha to
>> Logo script, the image resize should not be done.
>>
>> There are 17 scripts that (may) have this problem. This problem should be
>> added to Bugzilla as a low priority task.
> 
> I'd say they have to be changed, but that could not be done without breaking 
> compability. So I think this change should be marked for gimp 3.0 (unless we 
> get optional parameters on the PDB before that).

The API of the scripts won't change. What compatability issues would there be 
by moving the image resize out of the apply effect routine?

After moving the image resize Alpha to Logo scripts need to be tested to make 
sure they will work on an image of arbitrary size.

-- 
Cheers!

Kevin.

http://www.ve3syb.ca/   |"What are we going to do today, Borg?"
Owner of Elecraft K2 #2172  |"Same thing we always do, Pinkutus:
 |  Try to assimilate the world!"
#include  |  -Pinkutus & the Borg
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] logo script forces crop

2007-12-01 Thread Kevin Cozens
Helen wrote:
> Then I run the logo basic 1 script on the text, and the entire photo is 
> cropped so that only the text remains.

This is a problem with the design of many (or all?) of the Logo scripts that
also offer an "Alpha to Logo" version. Most of the work is done in an "apply
effect" routine. When called as a Logo script, an image is created at a
default size, the effect routine is called, and the effect routine resizes the
image to the needed size. When a script is run as an Alpha to Logo script, the 
image resize should not be done.

There are 17 scripts that (may) have this problem. This problem should be 
added to Bugzilla as a low priority task.

-- 
Cheers!

Kevin.

http://www.ve3syb.ca/   |"What are we going to do today, Borg?"
Owner of Elecraft K2 #2172  |"Same thing we always do, Pinkutus:
 |  Try to assimilate the world!"
#include  |  -Pinkutus & the Borg

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


Re: [Gimp-user] Trouble calling running batch script in Windows XP

2007-11-12 Thread Kevin Cozens
Sam Kuper wrote:
> (define (batch-CUPify pattern)
[snip]
> )
> 
> (script-fu-register "batch-CUPify"
> "Batch-CUPify"
> "Make an image look like it was scanned to PDF by CUP"
> "Sam Kuper"
> "Sam Kuper"
> "2007"
> "GRAY*"
> SF-IMAGE"Image" 0
> SF-DRAWABLE "Layer to process" 0)

Good to know you finally got your script running in batch mode.

For future reference, if you are using a script in batch mode only, you don't 
need the script-fu-register block. The register block is only needed if you 
want to run your scripts by selecting it from a menu within GIMP.

Also, the argument list expected by your script, as defined above, does not 
match the argument list you have listed in the register block. Again, not 
important when running the script from batch mode but it could cause you 
problems in the future when writing scripts to be run from a menu selection 
within GIMP.

-- 
Cheers!

Kevin.

http://www.ve3syb.ca/   |"What are we going to do today, Borg?"
Owner of Elecraft K2 #2172  |"Same thing we always do, Pinkutus:
 |  Try to assimilate the world!"
#include  |  -Pinkutus & the Borg
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] Trouble calling running batch script in Windows XP

2007-11-08 Thread Kevin Cozens
Sam Kuper wrote:
> I have been having difficulty running the following batch script:
> 
> ; --
> ; BEGIN SCRIPT
> ; --
> 
> (define (batch-CUPify pattern
>   image
>   drawable)
[snip]
> gimp-2.4 -i -b '(batch-CUPify "*.png")' '(gimp-quit 0)'

I have only taken a quick look at the script. The most obvious problem is that 
you defined it as needing three parameters and only pass it one on the command 
line. Based on what I see in the script and how you are trying to use it you 
don't need the image and drawable parameters.

If you are only going to use this script via batch mode you don't need the 
register block.

-- 
Cheers!

Kevin.

http://www.ve3syb.ca/   |"What are we going to do today, Borg?"
Owner of Elecraft K2 #2172  |"Same thing we always do, Pinkutus:
 |  Try to assimilate the world!"
#include  |  -Pinkutus & the Borg
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] Urban Acid script (buggy)

2007-11-07 Thread Kevin Cozens
Dave 77459 wrote:
> Owen,
> 
> Thanks for confirming that it works in 2.2 under Ubuntu and crashes on 2.4.
> 
> I too got that unbound error on 2.4 .  I declared all the variables, 
> which cleared that up under Windows.  I still got the unbound error in 
> Ubuntu, which is odd since set-pt is a function, not a variable??
> 
> So I added this in the hopes it would clear up:
> 
>; define the set-pt procedure (used to be embedded??)
>; from http://adrian.gimp.org/scripts/shagadelic.scm
>(define (set-pt a index x y)
[snip]

The script calls set-pt but did not define the function. In GIMP 2.2 functions 
in one file were defined in a way that made them available to be called by 
scripts in other files. While this can be a useful feature at times it can 
also cause problems.

There were two scripts that defined point-list->double-array which took one 
argument. The routines were different and as a result, one of the two scripts 
appeared to be broken as it wound up calling the wrong version of the function.

As of GIMP 2.4, the scripts which ship as part of the Script-Fu plug-in define 
the functions they need locally (ie. other scripts can't access them). This 
avoids the problems of adding a new script and finding out that some other 
previously working script no longer works.

-- 
Cheers!

Kevin.

http://www.ve3syb.ca/   |"What are we going to do today, Borg?"
Owner of Elecraft K2 #2172  |"Same thing we always do, Pinkutus:
 |  Try to assimilate the world!"
#include  |  -Pinkutus & the Borg
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] trace script-fu commands while using GUI

2007-11-07 Thread Kevin Cozens
Juergen Weber wrote:
> Tracing the commands would be a light variant of this. Outputting a
> trace should not be more than some log statements, would it?

> And http://bugzilla.gnome.org/show_bug.cgi?id=51937#c25 allready has
> my suggestion.
> 
> Anyway, a pity that the bug has been opened in 2001 and still no
> Script recorder in Gimp core.

The comments in the bug report explain why it is not an easy thing to do and 
why it hasn't been done before now. Comment #26 and #27 mention the 
difficulties of implementing this feature.

-- 
Cheers!

Kevin.

http://www.ve3syb.ca/   |"What are we going to do today, Borg?"
Owner of Elecraft K2 #2172  |"Same thing we always do, Pinkutus:
 |  Try to assimilate the world!"
#include  |  -Pinkutus & the Borg


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


Re: [Gimp-user] trace script-fu commands while using GUI

2007-11-05 Thread Kevin Cozens
Juergen Weber wrote:
> Programming scripts would still be easier if Gimp would trace to
> stdout what the user is doing on the GUI, i.e. it should print out the
> script-fu commands that correspont to the interactive actions.
> 
> So you could try out your image manipulations on the GUI and then copy
> the commands from the trace it to scripts.
> 
> Is that already possible? Or is there a better way to create batches?

That isn't possible at this time. What you are asking for is along the lines 
of what is asked for in GIMP bug #51937.

See http://bugzilla.gnome.org/show_bug.cgi?id=51937

-- 
Cheers!

Kevin.

http://www.ve3syb.ca/   |"What are we going to do today, Borg?"
Owner of Elecraft K2 #2172  |"Same thing we always do, Pinkutus:
 |  Try to assimilate the world!"
#include  |  -Pinkutus & the Borg
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] [Gimp-developer] Negative Press

2007-11-03 Thread Kevin Cozens
Barry Loo wrote:
> GIMP just got some negative press at linux.com.  What are y'alls opinions on 
> it?

It reads as negative press regarding the GIMP UI redesign process and web site 
rather than negative press regarding GIMP.

-- 
Cheers!

Kevin.

http://www.ve3syb.ca/   |"What are we going to do today, Borg?"
Owner of Elecraft K2 #2172  |"Same thing we always do, Pinkutus:
 |  Try to assimilate the world!"
#include  |  -Pinkutus & the Borg
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] Gimp2.4.0; problems with Script-fu

2007-10-29 Thread Kevin Cozens
Ruud en/of Truus wrote:
>  I installed de new Gimp 2.4.0.under Windows XP.
> It looks fine, but the Script-fu menu does not appear. The delivered
> scripts are present under the share directory. So it seems that the
> scripts contain syntax errors.

The Script-Fu menu is under the Xtns menu entry in the main tool box window. 
If you don't see that, you have a problem with your installation. You may not 
see a Script-Fu menu on the Image menu (depending on what additional scripts 
you may have installed) due to the restructuring of the menu system.

Many of the scripts and plug-in menu entries can be found based on what they 
do and not based on what language the script or plug-in was written in.

> I downloaded also the script Border3,
> which works fine under Gimp 2.2.17. After placing the script in the
> scripts directory the Script-fu menu appears in the image window. After
> applying the script border3 an error-message comes up.

I can't help with your border3 script since you failed to state the error 
message that you saw. I would suggest you take a look at the Script-Fu 
migration notes located at http://www.gimp.org/docs/script-fu-update.html and 
see if there is something there which relates to the error you saw.

-- 
Cheers!

Kevin.

http://www.ve3syb.ca/   |"What are we going to do today, Borg?"
Owner of Elecraft K2 #2172  |"Same thing we always do, Pinkutus:
 |  Try to assimilate the world!"
#include  |  -Pinkutus & the Borg

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


Re: [Gimp-user] GIMP 2.4.0; available for Mac also?

2007-10-29 Thread Kevin Cozens
John Culleton wrote:
> I use 2.4rc3 on my slackware Linux system. Is this the same as the final 
> release? It seems to work fine. 

2.4rc3 is not the same as 2.4.0. There were quite a few changes to the source 
tree between those two releases.

-- 
Cheers!

Kevin.

http://www.ve3syb.ca/   |"What are we going to do today, Borg?"
Owner of Elecraft K2 #2172  |"Same thing we always do, Pinkutus:
 |  Try to assimilate the world!"
#include  |  -Pinkutus & the Borg
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] plug-in vs. script

2007-10-05 Thread Kevin Cozens
On 10/5/07, Bettina Lechner <[EMAIL PROTECTED]> wrote:
> please, what is the difference between a plug-in and a script? I am asking
> because I never know if I should copy a plug-in (e.g. from the
> registry.gimp.org - site) in to the plug-in or the script folder.

In answer to the main point of the Bettina's message, it is easy to know what 
you need to do with items you get from the plug-in registry, and in which 
directory to put the files so you will be able to use them in GIMP.

If the file ends in .scm, it is a Script-Fu script and it belongs in the 
scripts directory.

If the file ends in .c, it is a C-coded source file which needs to be compiled 
(typically using gimptool if its a single file). The compiled file is an 
executable that will go in the plug-ins directory.

Everything else will go in to the plug-ins directory.

David Gowers wrote:
 > A plugin is an executable - ie. it's a program you can run, like you
 > can run Inkscape or GIMP.
 > A script is a set of text instructions which are run by a script
 > interpreter (script-fu).

For the most part, what David wrote is true. To muddy the waters a bit, when 
it comes to GIMP, text instructions in a file written using the Ruby, Perl, or 
Python languages, which makes them technically scripts, are plug-ins when it 
comes to GIMP and need to be put in the plug-ins directory. They should also 
be marked executable (when running GIMP under Linux).

-- 
Cheers!

Kevin.

http://www.ve3syb.ca/   |"What are we going to do today, Borg?"
Owner of Elecraft K2 #2172  |"Same thing we always do, Pinkutus:
 |  Try to assimilate the world!"
#include  |  -Pinkutus & the Borg
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] How to set default value for Script-Fu scripts?

2007-09-22 Thread Kevin Cozens
Manuel Reimer wrote:
> I know, that it's possible to set a default value while 
> "script-fu-register", but is it also possible to set a default value, 
> based on some information fetched by a small script?

The register call is the currently the only way to set default values. If you 
wanted to temporarily change the defaults for a script you would have to call 
the register function with the values you want to set as the default.

Script Y could change the defaults for script X. Script X could change the 
defaults for the next time it was invoked. What you can't do at the moment is 
start up script X and have it set the defaults based on conditions existing at 
the time you invoked the script.

-- 
Cheers!

Kevin.

http://www.ve3syb.ca/   |"What are we going to do today, Borg?"
Owner of Elecraft K2 #2172  |"Same thing we always do, Pinkutus:
 |  Try to assimilate the world!"
#include  |  -Pinkutus & the Borg
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] Forensic analysis using gimp

2007-09-18 Thread Kevin Cozens
Lucas Prado Melo wrote:
> How can I identify (using gimp) if a photograph has been faked?

It would depend on how good a job was done in faking the image. The basics 
involve using a high zoom factor to see the pixels. Look for artifacts created 
by a poor blend of the added in (faked) part of the image and the original.

Some possible indications of faked images are sudden changes in colour in 
pixels or pixels with colours that are quite different from those nearby 
(especially if it appears several pixels along a curve or a line), and 
differences in lighting direction or intensity.

-- 
Cheers!

Kevin.

http://www.ve3syb.ca/   |"What are we going to do today, Borg?"
Owner of Elecraft K2 #2172  |"Same thing we always do, Pinkutus:
 |  Try to assimilate the world!"
#include  |  -Pinkutus & the Borg
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] cannot duplicate images (bug?)

2007-09-14 Thread Kevin Cozens
Owen wrote:
> That's a zoom tool, the icon looks like a pan, so is that why you called it
> a pan tool?

A pan? Really? And here I was all this time thinking it was supposed to be a 
magnifying glass. :-)

-- 
Cheers!

Kevin.

http://www.ve3syb.ca/   |"What are we going to do today, Borg?"
Owner of Elecraft K2 #2172  |"Same thing we always do, Pinkutus:
 |  Try to assimilate the world!"
#include  |  -Pinkutus & the Borg
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] photography

2007-09-13 Thread Kevin Cozens
John Allsopp wrote:
> I'm sure I read there is a professional version of The Gimp which 
> provides more bits. I don't know how that compares price-wise with 
> Photoshop.

You might be thinking of Cinepaint which was based on an early version of
GIMP. It handles up to 32-bits per channel and is available for free.
Cinepaint is focused on use by people in the film industry.

-- 
Cheers!

Kevin.

http://www.ve3syb.ca/   |"What are we going to do today, Borg?"
Owner of Elecraft K2 #2172  |"Same thing we always do, Pinkutus:
 |  Try to assimilate the world!"
#include  |  -Pinkutus & the Borg

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


Re: [Gimp-user] Image resizing based upon image content

2007-08-29 Thread Kevin Cozens
Dotan Cohen wrote:
> There is an amazing video describing an image resizing algorithm that
> removes (or adds) pixels based upon their importance to the subjecto
> of the photo. Can this be implemented in The Gimp?

Of course it can be implemented in GIMP. It just takes someone with the time 
and ability to write the code for a plug-in that implements the algorithm.

-- 
Cheers!

Kevin.

http://www.ve3syb.ca/   |"What are we going to do today, Borg?"
Owner of Elecraft K2 #2172  |"Same thing we always do, Pinkutus:
 |  Try to assimilate the world!"
#include  |  -Pinkutus & the Borg
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] Does GIMP support GEOTIFF files?

2007-08-27 Thread Kevin Cozens
Maverick Merritt wrote:
> The gimp does load up the image, 
> giving warnings about the tags it does not understand, and when one 
> saves the image these tags are lost.  I have used the Gimp for various 
> (fairly simple) image processing as a user, but I have not looked at the 
> code or creating a plug-in, which I might look into doing (but, 

If the GeoTIFF format is just TIFF with some specialized tags, it should be 
just a case of enhancing the existing TIFF load/save routines instead of 
adding a new plug-in.

When the TIFF loader is reading a GeoTIFF file, the tags could be converted in 
to image parasites. When the file is re-saved, the parasites could be 
converted back to tags as the file is

The possibility of doing this will depend in part in how easy/hard it is to 
recognize a GeoTIFF file vs. an ordinary TIFF file.

-- 
Cheers!

Kevin.

http://www.ve3syb.ca/   |"What are we going to do today, Borg?"
Owner of Elecraft K2 #2172  |"Same thing we always do, Pinkutus:
 |  Try to assimilate the world!"
#include  |  -Pinkutus & the Borg
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] A GIMP book

2007-08-24 Thread Kevin Cozens
Michael Hernandez wrote:
> That is great news! Now I just hope it hasn't changed so much that my  
> nice full color gloss beginning GIMP book is full of lies! :)

Its more likely a plot by the publishing house to sell more books when you 
release the second edition which covers the real GIMP 2.4 release. ;-)

-- 
Cheers!

Kevin.

http://www.ve3syb.ca/   |"What are we going to do today, Borg?"
Owner of Elecraft K2 #2172  |"Same thing we always do, Pinkutus:
 |  Try to assimilate the world!"
#include  |  -Pinkutus & the Borg
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] Does GIMP support GEOTIFF files?

2007-08-24 Thread Kevin Cozens
Maverick Merritt wrote:
> Does the GIMP support GEOTIFF files?  If not, are there any plans to do so?

The answer to both questions is no. It is unlikely that the file format would 
be supported in GIMP unless there is a publically available document which 
describes the file format. If there is such a document, it just takes an 
interested party to create a plug-in for the format.

-- 
Cheers!

Kevin.

http://www.ve3syb.ca/   |"What are we going to do today, Borg?"
Owner of Elecraft K2 #2172  |"Same thing we always do, Pinkutus:
 |  Try to assimilate the world!"
#include  |  -Pinkutus & the Borg
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] Watermarking photographs---

2007-08-23 Thread Kevin Cozens
Richard Oliver wrote:
> I have downloaded the ImageMagick program,but for the life of me I 
> cannot get it installed / launched so perhaps you could render some 
> more help ??

Make sure you downloaded one of the executable installer packages and not the 
source code of ImageMagick. I noticed that it might be a bit confusing as to 
which package to get since there are five different versions available on the 
download page located at 
http://www.imagemagick.org/script/binary-releases.php#windows.

The fifth version offered is only useful if you have a 64-bit computer. If you 
don't have that, you need to use one of the first four links.

If you are still having problems, it might help to know which installer 
package you are trying to use, which version of Windows you are using, and 
some more details of what happens when you try to run the installer including 
the contents of any error messages you may be seeing.

That is about all I can suggest for now. I don't use ImageMagick under Windows 
so I haven't tried installing any of the Windows installer packages.

-- 
Cheers!

Kevin.

http://www.ve3syb.ca/   |"What are we going to do today, Borg?"
Owner of Elecraft K2 #2172  |"Same thing we always do, Pinkutus:
 |  Try to assimilate the world!"
#include  |  -Pinkutus & the Borg
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] Watermarking photographs---

2007-08-19 Thread Kevin Cozens
Richard Oliver wrote:
> I have been asked to watermark photos for sale on the internet.
> Google shows several programs for doing this and also shows that 
> Photoshop and Paintshop pro have the ability to do this.

Adding a watermark could easily be done in GIMP. If you have a lot of images 
which you need to watermark I would suggest you might be better off using the 
composite program found in the ImageMagick (http://www.imagemagick.org/) suite 
of tools. Since you mentioned Photoshop and Paintshop Pro I will assume you 
are running a Windows OS. The downloads links for ImageMagic indicate that a 
Binary version of the ImageMagick tools is available for Windows.

-- 
Cheers!

Kevin.

http://www.ve3syb.ca/   |"What are we going to do today, Borg?"
Owner of Elecraft K2 #2172  |"Same thing we always do, Pinkutus:
 |  Try to assimilate the world!"
#include  |  -Pinkutus & the Borg
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] Feature request list for publishers.

2007-07-10 Thread Kevin Cozens
John R. Culleton wrote:
> 1. Ability to work with and save files using CMYK color model.
> 1a. Use ICC profiles for viewing and exporting CMYK model files.

Known issues.

> 2. Clean up the code for exporting PostScript and Encapsulated 
> PostScript files.  I have on occasion dug into the source code and 
> changed things like the unnecessary default offsets but I am not 
> prepared to do this for each new release I get. 

If you have found some things that need changing in the source and know how to 
fix them, you should open a bug report (if there is no open bug covering the 
issue), and attach a patch to the report which fixes the code.

If you do this, it is more likely your changes will be incorporated in to the 
GIMP source tree. You would no longer have to keep applying the changes with 
each new release.

-- 
Cheers!

Kevin.

http://www.ve3syb.ca/   |"What are we going to do today, Borg?"
Owner of Elecraft K2 #2172  |"Same thing we always do, Pinkutus:
 |  Try to assimilate the world!"
#include  |  -Pinkutus & the Borg
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] Wow Linux Journal not very enamoured with GIMP.

2007-06-20 Thread Kevin Cozens
Jon Cosby wrote:
> How about providing a link to the article? The only mention of Gimp I
> see in the July issue is on processing Web images

The article in question appears to be the one that starts on page 34 of the 
July 2007 issue of LJ.

-- 
Cheers!

Kevin.

http://www.ve3syb.ca/   |"What are we going to do today, Borg?"
Owner of Elecraft K2 #2172  |"Same thing we always do, Pinkutus:
 |  Try to assimilate the world!"
#include  |  -Pinkutus & the Borg
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] images (text and arrows ) by powerpoint displayed zig-zag on screen using gimp

2007-06-05 Thread Kevin Cozens
Suin Edit wrote:
> I use powerpoint generate a presentation and add some
> arrows (outlined) and text on it.  But when I use
> powerpoint save as png, or jpg and view it on
> Microsoft Office Picture manage and zoom in/out, all
> characters 
> and arrows displayed smoothly. 
> 
> But when I use gimp to view the image, the texts and
> arrows are not smoothly anymore (zig-zag) .  

I don't know much about Powerpoint but my suspicion is that it is a vector 
based package whereas GIMP is bitmap based. Images and text will look fine in 
Powerpoint regardless of zoom factor. Once you export data from Powerpoint to 
a png, or jpg, you now have a bitmap representation of the original. How good 
that looks will depend on the size and resolution of the image you created at 
the time you exported from Powerpoint.

> I attached my file but I found the mail cannnot be sent.

When sending messages to a mailing list it is always best to provide a URL 
where the file can be downloaded rather than attaching it to the message. 
Attaching files to a message being sent to a list is likely to get the message 
flagged as possibly containing a virus.

-- 
Cheers!

Kevin.

http://www.ve3syb.ca/   |"What are we going to do today, Borg?"
Owner of Elecraft K2 #2172  |"Same thing we always do, Pinkutus:
 |  Try to assimilate the world!"
#include  |  -Pinkutus & the Borg
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] UTF-8 encode copyright symbol for Text Circle script success

2007-05-24 Thread Kevin Cozens
On Wed, 2007-05-23 at 22:47 -0500, DJ wrote:
> The script, "Text Circle" (Xtns -> Script-Fu -> Logos -> Text Circle)
> just stops.
[snip]
> So how does one encode a special character, like the
> copyright, for this script, written in Scheme, that requires UTF-8
> encoding?

The Script-Fu plug-in which comes with the 2.2 versions of GIMP can't handle 
UTF-8 coded characters. If you need to do something with UTF-8 coded 
characters you will need to use a current development version of GIMP or use 
the Tiny-Fu plug-in.

-- 
Cheers!

Kevin.

http://www.ve3syb.ca/   |"What are we going to do today, Borg?"
Owner of Elecraft K2 #2172  |"Same thing we always do, Pinkutus:
 |  Try to assimilate the world!"
#include  |  -Pinkutus & the Borg
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] Scripting - How to save JPEG with thumbnails

2007-05-07 Thread Kevin Cozens
Guillaume Bonillo wrote:
> What i want to do is open pictures from a directory and apply a very 
> simple macro.
> 
> I can do it manually with the following steps :
> - open image "the_image.jpg".
> - save as  the_image_with_thumbnail.jpg
> - choose options : q = 0.85 , progressive, and default other options.
> - check the option : save thumbnail.
> - Click OK.
> - close image.

The options of "Save EXIF data" and "Save thumbnail" which you can set in the 
file save dialog can not be set passed to the jpeg file save when using a 
script.

This issue has already been reported in bugzilla. 
(http://bugzilla.gnome.org/show_bug.cgi?id=357665).

-- 
Cheers!

Kevin.

http://www.ve3syb.ca/   |"What are we going to do today, Borg?"
Owner of Elecraft K2 #2172  |"Same thing we always do, Pinkutus:
 |  Try to assimilate the world!"
#include  |  -Pinkutus & the Borg
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] script-FU console query

2007-01-14 Thread Kevin Cozens
Adam wrote:
> Like in the following, which the Procedure Browser 
> says should be; 
> num_images INT32  The number of Images open
> image_ids  INT32ARRAY  The list of images currently open
>
> => (gimp-image-list)
> (1 #(2)#1"02")
>
>   
> so,   #(2)#1"02"
> is a single entry array of the image ID ? 
> How should I interpret this sequence ? 
>   
Start by ignoring everything between the two close parentheses. There 
appears to be a bug in the output from the 2.2 version of GIMP. Using 
the current development version of GIMP I opened two files and asked for 
the image list. The result was
(2 #( 2 1 ))

The easy way to get the image ID when you need it as an argument for a 
command you want to run from the console mode is to look at the title 
bar of the image windows. Regardless of the file name, the filename (or 
the word 'Untitled' if it is a new image) shown in the title bar has 
text of the form "-x.y" at the end. The x part is the number that would 
be used as the image ID for that image.

> So I try another command; 
> => (gimp-image-height image)
> ERROR: unbound variable (errobj image)
>   
You need to use the actual image ID (ie. number) in the call or define 
image and set it to the desired number before you attempt to use it in a 
call to a GIMP function.

-- 

Cheers!

Kevin.

http://www.ve3syb.ca/   |"What are we going to do today, Borg?"
Owner of Elecraft K2 #2172  |"Same thing we always do, Pinkutus:
|  Try to assimilate the world!"
#include  |  -Pinkutus & the Borg 

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


  1   2   >