Re: [Gimp-developer] xwd screen shot problems

2001-08-27 Thread Robin Rowe

 it seems you are mistaken. What makes you think xwd can't capture
TrueColor?
 How are you using the term 24-bit visuals here (24 bit color-depth or
 24 bit aligned pixels) ?

xwd: Warning. Error in XWD-color-structure (flag)
xwd: EOF encountered on reading
xwd: load_image (xwd): XWD-file /root/.gimp/tmp/gimp_temp.277523.xwd has
format 2, depth 24
and bits per pixel 24.
Currently this is not supported.

This message was generated attempting to capture glxgears using Gimp (xwd).
What do you suppose it means?

Capturing motion video windows is really flakey with xwd. Usually it fails,
but sometimes it doesn't. It seems to be influenced by what other windows
are being displayed.

Sven and GSR, any further thoughts?

Cheers,

Robin

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



Re: [Gimp-developer] xwd screen shot problems

2001-08-26 Thread Sven Neumann

Hi,

Robin Rowe [EMAIL PROTECTED] writes:

 Hi. Unless I'm mistaken xwd isn't capable of capturing 24-bit visuals. It
 seems almost useless on modern hardware. Is this an issue that has been
 discussed here before?

it seems you are mistaken. What makes you think xwd can't capture TrueColor?
How are you using the term 24-bit visuals here (24 bit color-depth or
24 bit aligned pixels) ?

 Attempting to capture graphics-intense windows with xwd on x86-based XFree86
 3.x or 4.x just gives a misleading error message, extra confusing because
 other simpler windows on the same desktop will capture without trouble.

what error-message ?

 The ImageMagic import utility works consistently and writes directly to png.
 Is there any thought to switching Gimp screen capture to use import?

I was thinking about using some GDK features introduced in GTK+-2.0, but
no new code has yet been written and we are open for suggestions. I don't
think however that using import from ImageMagick is a reasonable solution.
xwd is at least guaranteed to be available (on X11) which can't be said
about ImageMagick.


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



Re: [Gimp-developer] xwd screen shot problems

2001-08-25 Thread Robin Rowe

Hi. Unless I'm mistaken xwd isn't capable of capturing 24-bit visuals. It
seems almost useless on modern hardware. Is this an issue that has been
discussed here before?

Attempting to capture graphics-intense windows with xwd on x86-based XFree86
3.x or 4.x just gives a misleading error message, extra confusing because
other simpler windows on the same desktop will capture without trouble.

The ImageMagic import utility works consistently and writes directly to png.
Is there any thought to switching Gimp screen capture to use import?

Cheers,

Robin

- Original Message -
From: Sven Neumann [EMAIL PROTECTED]
To: Federico Mena Quintero [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Tuesday, June 26, 2001 11:28 AM
Subject: Re: [Gimp-developer] 1.2 Bug Hunting


 Hi,

 Federico Mena Quintero [EMAIL PROTECTED] writes:

   I've had this problem, and it appears to exist only with the version
of
   xwd that's shipped with XFree86 4.0.x where x=2. I upgraded to 4.0.3
   and the problem went away. Same problem (with same version of X)
existed
   with WindowMaker too.
 
  Oh dear.  Don't tell me that the GIMP uses xwd for getting
  screenshots.  If so, please please *please* feel free to steal the
  code from gdk_pixbuf_get_from_drawable().

 it does ;-)

 The screenshot plug-in is kind of old and has always been a quick hack.
 On the other hand it works pretty well for most users... Yes, we are
 considering another solution for the next version of Gimp. Since we will
 use GTK+-2.0, we will also use gdk-pixbuf and can thus use the
 functionality gdk-pixbuf provides. For Gimp-1.2 however things will not
 change.


 Salut, Sven


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