Re: Fast Image Manipulation?



On Wed, Nov 18, 1998 at 01:17:40AM -0500, SEGV wrote:
> What I need is an equivalent of bitblt (Win32 function) to just copy bits of one
> image to another. But I don't see one offhand. Presumably I could manually play
> with the bits. Is that what this will come to?
> 
> Or are there any other good suggestions?

well unlike dos or windows ... you can't manipulate bits directly ... the
image (pixmap) is stored on the server ... and the only way to get to it is 
though X calls ... if you did operations in the client space you need to 
get them into server space (read slow) ... what you need is to store
everything as pixmaps and use gdk_draw_pixmap

George

-- 
------------------------------------------------------------------------------
George Lebl <jirka@5z.com> http://www.5z.com/jirka/
------------------------------------------------------------------------------
  The following implements RSA in perl and is illegal to export from the US:

          #!/bin/perl -sp0777i<X+d*lMLa^*lN%0]dsXx++lMlN/dsM0<j]dsj
          $/=unpack('H*',$_);$_=`echo 16dio\U$k"SK$/SM$n\EsN0p[lN*1
          lK[d2%Sa2/d0$^Ixp"|dc`;s/\W//g;$_=pack('H*',/((..)*)$/)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]