[Gimp-user] restoring faded transparencies

2009-10-04 Thread Marcus
  http://www.lionhouse.plus.com/photosoftware/gimp_plugins/

gives err404.  Any idea where one can currently get it?

Thanks,
Ilya

Strange. I tried your link, and it works for me. Can you get to Geoff's web
page with the following link?

http://www.lionhouse.plus.com/



-- 
Marcus (via www.gimpusers.com)
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


[Gimp-user] restoring faded transparencies

2009-09-27 Thread Marcus
Geoff,

great work, I am particularly impressed by the theory behind your plugin. I
ran into a bit of trouble (see error messages at the end). While I typed this
message, I came across the solution, so I'll post my question together with
the answer in case others run into the same glitch. I have kubuntu 8.04 with
GIMP 2.4 and Python 2.5. GIMP dumps the attached message in the console when
it is loaded, and the plugin fails to load (yes, I did chmod a+x Restore.py).
Apparently, kubuntu's GIMP package does not include the gimp-python package,
which needs to be installed manually with `apt-get install gimp-python' (or
with aptitude).

Traceback (most recent call last):
  File /home/marcus/.gimp-2.4/plug-ins/Restore.py, line 8, in module
from gimpfu import *
ImportError: No module named gimpfu

(gimp:3591): LibGimpBase-WARNING **: gimp: gimp_wire_read(): error
Traceback (most recent call last):
  File /home/marcus/.gimp-2.4/plug-ins/Restore.py~, line 217, in module
register(
NameError: name 'register' is not defined

(gimp:3591): LibGimpBase-WARNING **: gimp: gimp_wire_read(): error



-- 
Marcus (via www.gimpusers.com)
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] Printing problems

2006-01-19 Thread Marcus Planet
On Thursday 19 January 2006 09:45 am, Orlando Figueiredo wrote:
 Hello there
 I am using GImp with Fedora Core 4. I have a printer installed trough
 CUPS and everything is working perfectly except with Gimp printing
 command. When I try to print something from Gimp the printer starts
 loading and sending out white sheets and do not stop at all.
 Can anyone help me with this?
 Thank you.

Do you have the correct printer model selected in the Gimp printing dialog?

Marc




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


[Gimp-user] 2.2.1 'save as' locking up constantly

2005-01-19 Thread Charles Marcus
This is getting really frustrating...

Windows XP Pro sp2 with latest security patches installed
AMD  Processors (this is happening on multiple machines)

Almost (but not quite) every time I open a simple .bmp or .tif file I have
scanned, and do a 'save as' to save it as a .jpg, GIMP stops responding - I am
not even able to kill it in the process manager, although, surprisingly, I am
able to minimize and maximize the windows. The only way to kill it is to reboot,
which is totally unacceptable.

These files are *not* that big (a few megs), and it is happening on every
machine I have installed 2.2.x on. 2.0 worked just fine. I really like some of
the improvements in 2.2.x series, but have had to drop back to 2.0.6 until this
is fixed.

Any ideas? Others having the same problem?

Charles

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


[Gimp-user] My new Howto on batch color correction using script-fu

2004-10-17 Thread Marcus Bryner
Hey all,

Maybe someone on this list is interested in this:  Here is a new step by step 
howto on batch color modifications (i.e. getting proper white balance) using 
GIMP script-fu.  

http://schweizerhof.docbryner.com/~marcus/slidestodigital/howto.html

I've been using a slide duplicator to convert 1000's of slides to digital 
using a Canon A70 camera, then running them through GIMP to correct for 
proper white balance.   I started writing the howto just for myself for 
future reference, but the project evolved  

Anyone know other good places to post this where someone might be interested?
Let me know if anyone finds this useful!  :)

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


[Gimp-user] Trouble with command line batch Script-fu

2004-10-09 Thread Marcus Bryner
Hello all,

I just joined the list today.  New to using Gimp, but have been using 
Linux/Unix for a long time.   I'm having trouble using command line batch  
Script-fu, and I'm hoping someone can help.  Maybe this is something 
simple  (for reference: Gimp 1.2.5 and Linux Mandrake 10)

I'm using a slide duplicator to convert slides to digital using a Canon A70 
camera.  The white balance is not quite right, so in Gimp I'm converting the 
jpg's to tiff's and adding red and subtracted blue in the mid-tones.  Since 
it involves thousands of pictures, it would be great to do this in batch 
mode.  (I tried ImageMagick, but didn't get the colors right.)  I wrote a 
couple script-fu's which run in batch mode.  The JPG to TIFF converter works 
great, but the color changing script only crashes!  (see below for output and 
code)

Here's the general idea:
Usage: $ mycolors r g b 
where 'r' = cyan-magenta channel, 'g' = magenta-green channel, 'b' = 
yellow-blue channel.  
Replace r g b with relative value changes for channels, i.e. mycolors 20 0 
-20 to increase red and decrease blue mid-tones.  Modifies all TIFF files in 
working directory.


THE SCRIPT:

# set variables
starttime=$( date )
xred=$1
xgreen=$2
xblue=$3

for filename in *.tiff; do
   
   # tell me what will happen
   echo Working on: $filename 
  
   # batch gimp change colors
   gimp -c -i -d -b\
'(script-fu-marcscolors '$xred' '$xgreen' '$xblue' '$filename' 
'$filename')'\
'(gimp-quit 0)'

done

echo Start time: $starttime
echo End time:   $( date )
*


THE SCM FILE
*
(define 
(script-fu-marcscolors xred xgreen xblue intiff outtiff)
(let* 
(
(img (car (file-tiff-load 1 intiff intiff)))
(drawable (car (gimp-image-active-drawable img)))
)   

(gimp-color-balance drawable 1 1 xred xgreen xblue)
(file-tiff-save 1 img drawable outtiff outtiff 0)
)
)

(script-fu-register script-fu-marcscolors
Toolbox/Xtns/Script-Fu/Tools/marcscolors
Marc's Colors
Marcus Bryner
Marcus Bryner
2001-10-09

SF-VALUE cyan-Red 0
SF-VALUE Magenta-Green 0
SF-VALUE Yellow-Blue 0
SF-FILENAME Infile infile.tiff
SF-FILENAME Outfile outfile.tiff)
**


Here's the command-line output:
***

$ ./mycolors 20 0 -20

Working on: IMG_3417.tiff
batch command: experienced an execution error.

***

If I leave out the command-line  variables and hard-code them into the script, 
I get:
*
batch command: executed successfully.

Gimp-WARNING **: swap file not empty: /home/marcus/.gimp-1.2/gimpswap.21221

***

What am I doing wrong here  Thanks in advance!

Marcus

-- 
---
Marcus A. Bryner, M.D.
Dept. of Radiology
Loma Linda University, CA
___
Gimp-user mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user