Re: [Gimp-user] Best performance on 4000x2200 pixel images.

2005-01-29 Thread Sven Neumann
Hi,

Dana Sibera [EMAIL PROTECTED] writes:

 I'm having what seem to be performance issues with editing some images
 about 4000x2200 pixels (they're panoramas of multiple photos), and
 would like some advice on the best settings in GIMP for RAM use, or
 whether what I'm seeing is normal.

 I have 640MB in this machine, and GIMP is set to use a tile cache size
 of 400MB. By the look of GIMP's info in the window of the photo I'm
 editing, it's only taking 161MB once flattened, so I don't think RAM
 use is the problem, but could be wrong - I'm not familiar with exactly
 how GIMP best uses memory :).

 In any case, the specific problem I'm getting is while colour
 balancing of the final image, and each shift of the slider requires a
 bit over 20 seconds to complete the colour change over the image,
 which seems slower than it should be. It's just a little difficult to
 really get an idea how the before/after compare when it doesn't flick
 from one adjustment to another in time to see it 'real time'.

Color correcting the image affects all pixels, so such an operation
needs quite a bit of memory on the undo stack. So you might be filling
up the tile cache with undo steps here. Lowering the number of minimum
undo steps could help to improve this.

But then, the color correction tools in GIMP are definitely slower
than they would have to be and most probably the time it takes is just
the time that it takes.


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


Re: [Gimp-user] Gegl

2005-01-29 Thread Sven Neumann
Hi,

Richard [EMAIL PROTECTED] writes:

 What about Gegl when will this happen?

If and when it will happen depends on the amount of contributions.
At the moment GEGL development is rather slow.


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


[Gimp-user] Channels opeartions

2005-01-29 Thread Alexander Rabtchevich
Is it possible to work with the channels data (copy, paste selection) 
within the channels dialog without decomposition-composing an image 
into RGB channels.
I need to copy selection of a pupil from the green channel and paste it 
into the red channel to remove the red eyes. It works fine with image 
decomposition, but doesn't work by simply selection of appropriate 
channel in the channels dialog and deselection of other channels. Am I 
doing something wrong or it is as designed?

By the way, Windows GIMP compilations do not show selection edge with a 
line if another selection region has been added. The selection appears 
visible after focus change or something else. It has happened since 2.2.0.

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


Re: [Gimp-user] Xsane Gimp

2005-01-29 Thread Vittorio
Alle 11:11, sabato 29 gennaio 2005, Mogens Jaeger ha scritto:
 Vittorio wrote:
 Context:
 pentium 4, kde 3.3.2, the very last build of linux gentoo compiled from
 scratch; gimp 2.0.4, xsane 0.96, xscanimage 1.0.13; epson usb scanner
 
 Both xsane and xscanimage alone work smoothly with the usb scanner.
 The directories /ushr/lib/gimp/2.0/plug-ins/
 and  /usr/local/lib/gimp-2.0/plug-ins/
 contain @xsane and @xscanimage.
 When I launch the gimp 2.0 I see during the booting phase of the program
  that xsane and xscanimage are detected as plugins
 BUT... if I a ask to acquire an image  neither xsane nor xscanimage are
 displayed in the file-acquire menu (sorry I'm translating the menu item
 from Italian into English!)
 
 What should I check and do in the end?
 (A step by step explanation please)
 
 Ciao
 Vittorio

 Hello

 I don't know about the xscanimage, but for xsane do as described in the
 readme:
 To  run  xsane under the gimp(1), simply set a symbolic link from the
 xsane-binary to one of
 the gimp(1) plug-ins directories.

I did it, as I said in my message.
Ciao
Vittorio
___
Gimp-user mailing list
Gimp-user@lists.xcf.berkeley.edu
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user


Re: [Gimp-user] Best performance on 4000x2200 pixel images.

2005-01-29 Thread Sven Neumann
Hi,

Joao S. O. Bueno Calligaris [EMAIL PROTECTED] writes:

 I am afraid you've hit a design issue with the GIMP - when adjusting
 colors via tools, i t simply operates on the whole image for each
 preview step.

I don't think this counts as a design issue. A design problem would be
something that could not be solved without a major redesign. The speed
of the color adjustment preview can certainly be improved based on the
current design.


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


[Gimp-user] Problem in Gimp 2.2

2005-01-29 Thread Ryan M. Short
Hello,
I'm new to the list and you guys probably already know about this, but
I use the GIMP quite a bit and noticed a bug with the last version I
downloaded where the percentage option under the scale image feature
doesn't work right. Is there a fix for this?

-- 
Ryan Short
webmaster 
http://www.DoolittleRaid.com
http://www.ShortStudio.com
___
Gimp-user mailing list
Gimp-user@lists.xcf.berkeley.edu
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user


[Gimp-user] Re: sub part 2

2005-01-29 Thread GSR - FR
[EMAIL PROTECTED] (2005-01-28 at 1844.21 -0500):
 This sounds like something that might be easier to do in Blender, an 
 open source 3D application at www.blender3d.org .  While the tool takes 
 some getting used to, it's well worth it. 

It is a bit overkill for this, specially if you do not know the
interface already. Otherwise it is really fast. It is (was?) not
oriented at unexperienced but at meeting deadlines.

 Here's the rough workflow:
 Add  Mesh  Cylinder
 Add  Mesh  Sphere
 Duplicate and move sphere

That can be done with just one add sphere, then select half of it and
extrude, so you do not have continuity problems.

 While I'm sure the GIMP can do this, the procedure for doing so might be 
 pretty awkward. 

Nah, faking 3D in 2D apps is pretty old, most include filters that do
it, for simple shapes at least.

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


[Gimp-user] Antialiasing transparent gifs against a background image

2005-01-29 Thread Geoffrey Hausheer
I have an interesting case where I have a circular logo which I
overlay on a web-page.  The logo needs to have a transparent
background, however it is placed over many different elements (the
background is not a solid color), so I can't use the smei-flatten code
to antialias it.

Originally, we had just used flash for the logo, but not all browsers
support transparency in flash, so I converted it to a gif (and lost
the nice smooth edges)

My solution was to import an image of the webpage (without the logo)
as a second layer, and do a 'smart' semi-flatten between the
transparent logo layer and the background image).  This results in
antialiasing against any background (doesn't need to be a solid color)
as long as it isn't dynamic.

Since I did this in Windows, and didn't want to compile everything, I
wrote it in Script-Fu.

Below is the code if someone finds it useful (Since it is doing
pixel-by-pixel checks, it is very slow, and should really be in C, but
it works for my needs).  Also, while I am familiar with lisp, this is
my first attempt at Script-Fu, so the code is pretty cludgy)

.Geoff

;; -*-scheme-*-
;; This script will apply semi-flatten against a background layer
;; instead of just a solid color

(define (script-fu-smart-semiflattern image drawable fg bkgnd)
 (gimp-image-undo-disable image)
 (if (or (or (= fg -1) (= bkgnd -1)) (= fg bkgnd)) t
 (let ()
 (set! drawable fg)
 (set! width (car (gimp-drawable-width drawable)))
 (set! height (car (gimp-drawable-height drawable)))
 (set! y 0)
 (while ( y height)
   (gimp-progress-update (/ y height))
   (set! x 0)
   (while ( x width)
 (set! pxll (gimp-drawable-get-pixel drawable x y))
 (set! pxl (cadr pxll))
 (set! alpha (aref pxl 3))
 (if (or (= alpha 0) (= alpha -1)) t
(let ()
   ;(print alpha: )
   ;(print x)
   ;(print y)
   ;(print alpha)
   (set! bgpxl (cadr (gimp-drawable-get-pixel bkgnd x y)))
   (set! a (aref pxl 3)) (if ( a 0) (set! a (+ 256 a)))
   (set! r (aref pxl 0)) (if ( r 0) (set! r (+ 256 r)))
   (set! rb (aref bgpxl 0)) (if ( rb 0) (set! rb (+ 256 rb)))
   (set! g (aref pxl 1)) (if ( g 0) (set! g (+ 256 g)))
   (set! gb (aref bgpxl 1)) (if ( gb 0) (set! gb (+ 256 gb)))
   (set! b (aref pxl 2)) (if ( b 0) (set! b (+ 256 b)))
   (set! bb (aref bgpxl 2)) (if ( bb 0) (set! bb (+ 256 bb)))
   (aset pxl 0 (/ (+ (* a r) (* (- 255 a) rb)) 255))
   (aset pxl 1 (/ (+ (* a g) (* (- 255 a) gb)) 255))
   (aset pxl 2 (/ (+ (* a b) (* (- 255 a) bb)) 255))
   (aset pxl 3 255)
   (gimp-drawable-set-pixel drawable x y (car pxll) pxl)
   )
 )
 (set! x (+ x 1))
   )
   (set! y (+ y 1))
 )
 )
 )
 (gimp-image-undo-enable image)
 (gimp-displays-flush)
)

(script-fu-register script-fu-smart-semiflatten
   __Smart Semi-Flatten
   Semi flatten against a background image.
   Geoffrey Hausheer
   Geoffrey Hausheer, 2005. Public Domain.
   January 2005
   
   SF-IMAGEImage0
   SF-DRAWABLE Drawable 0
   SF-LAYERForeground Layer -1
   SF-LAYERBackground Layer -1
   )

(script-fu-menu-register script-fu-smart-semiflatten
Image/Script-Fu/Colors)
___
Gimp-user mailing list
Gimp-user@lists.xcf.berkeley.edu
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user


[Gimp-user] WIP animation

2005-01-29 Thread Manuel
Hello, I'll formulate my question with an example:

Open gimp
Do some brushstrokes
Now keep Ctrl-Z pressed (or the shortcut of edit-undo)
Then keep Ctrl-Y pressed (or the shortcut of edit-redo)

What you have seen is an animation ot the progress you have done in the image.
Now, how can I save this progress as an animated gif or a set of images for 
each frame??

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


Re: [Gimp-user] Xsane Gimp

2005-01-29 Thread Mogens Jaeger
Vittorio wrote:
Alle 11:11, sabato 29 gennaio 2005, Mogens Jaeger ha scritto:
 

Vittorio wrote:
   

Context:
pentium 4, kde 3.3.2, the very last build of linux gentoo compiled from
scratch; gimp 2.0.4, xsane 0.96, xscanimage 1.0.13; epson usb scanner
Both xsane and xscanimage alone work smoothly with the usb scanner.
The directories /ushr/lib/gimp/2.0/plug-ins/
and  /usr/local/lib/gimp-2.0/plug-ins/
contain @xsane and @xscanimage.
When I launch the gimp 2.0 I see during the booting phase of the program
that xsane and xscanimage are detected as plugins
BUT... if I a ask to acquire an image  neither xsane nor xscanimage are
displayed in the file-acquire menu (sorry I'm translating the menu item
 

from Italian into English!)
   

What should I check and do in the end?
(A step by step explanation please)
Ciao
Vittorio
 

Hello
I don't know about the xscanimage, but for xsane do as described in the
readme:
To  run  xsane under the gimp(1), simply set a symbolic link from the
xsane-binary to one of
the gimp(1) plug-ins directories.
   

I did it, as I said in my message.
 

No - in your message you said it was in:
The directories /ushr/lib/gimp/2.0/plug-ins/
and  /usr/local/lib/gimp-2.0/plug-ins/
but it has to be as an symbolic link in your user plug-ins directories, 
like:
~/.gimp-2.0/plug-ins/

--
mvh Mogens Jæger
___
Gimp-user mailing list
Gimp-user@lists.xcf.berkeley.edu
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user


Re: [Gimp-user] WIP animation

2005-01-29 Thread Joao S. O. Bueno Calligaris
On Saturday 29 January 2005 18:34, Manuel wrote:
 Hello, I'll formulate my question with an example:

 Open gimp
 Do some brushstrokes
 Now keep Ctrl-Z pressed (or the shortcut of edit-undo)
 Then keep Ctrl-Y pressed (or the shortcut of edit-redo)

 What you have seen is an animation ot the progress you have done in
 the image. Now, how can I save this progress as an animated gif or
 a set of images for each frame??

Currently, just doing copy visible in each step, and pasting it as a 
new layer, in another image. 

JS  
--

 _

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


Re: [Gimp-user] WIP animation

2005-01-29 Thread Manuel
El Domingo, 30 de Enero de 2005 04:04, Joao S. O. Bueno Calligaris escribió:
 On Saturday 29 January 2005 18:34, Manuel wrote:
  Hello, I'll formulate my question with an example:
 
  Open gimp
  Do some brushstrokes
  Now keep Ctrl-Z pressed (or the shortcut of edit-undo)
  Then keep Ctrl-Y pressed (or the shortcut of edit-redo)
 
  What you have seen is an animation ot the progress you have done in
  the image. Now, how can I save this progress as an animated gif or
  a set of images for each frame??

 Currently, just doing copy visible in each step, and pasting it as a
 new layer, in another image.



Hmm... I have guess I can do this with pythonFu...
Thanks!

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


Re: [Gimp-user] Xsane Gimp

2005-01-29 Thread Vittorio
Alle 02:30, domenica 30 gennaio 2005, Mogens Jaeger ha scritto:
 Vittorio wrote:
 Alle 11:11, sabato 29 gennaio 2005, Mogens Jaeger ha scritto:
 Vittorio wrote:
 Context:
 pentium 4, kde 3.3.2, the very last build of linux gentoo compiled from
 scratch; gimp 2.0.4, xsane 0.96, xscanimage 1.0.13; epson usb scanner
 
 Both xsane and xscanimage alone work smoothly with the usb scanner.
 The directories /ushr/lib/gimp/2.0/plug-ins/
 and  /usr/local/lib/gimp-2.0/plug-ins/
 contain @xsane and @xscanimage.
 When I launch the gimp 2.0 I see during the booting phase of the program
 that xsane and xscanimage are detected as plugins
.
 
 I don't know about the xscanimage, but for xsane do as described in the
 readme:
 To  run  xsane under the gimp(1), simply set a symbolic link from the
 xsane-binary to one of
 the gimp(1) plug-ins directories.
 
 I did it, as I said in my message.

 No - in your message you said it was in:

 The directories /ushr/lib/gimp/2.0/plug-ins/
 and  /usr/local/lib/gimp-2.0/plug-ins/

 but it has to be as an symbolic link in your user plug-ins directories,
 like:
 ~/.gimp-2.0/plug-ins/
You're right, sorry!
I put this new link as you said but still doesn't work,i.e. xsane (which works 
standalone, I repeat) is seen by the Gimp as a plug-in   BUT doesn't appear 
in the menu.
Ciao
Vittorio
 
___
Gimp-user mailing list
Gimp-user@lists.xcf.berkeley.edu
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user