Re: [PERL SCRIPTS] get surface

2000-05-12 Thread Marc Lehmann

On Fri, May 12, 2000 at 08:39:31AM +0200, [EMAIL PROTECTED] wrote:
>script let say
>
>some gimp_get_surface(x1,y1,x2,y2) which could output some matrix ->
>PDL structure.
>
>Does such method has been implemented yet ?

It works just like in C. Check the scripts
plug-ins/perl/examples/map_to_gradient and
plug-ins/perl/examples/border_average for two different ways to access
pixel data.

-- 
  -==- |
  ==-- _   |
  ---==---(_)__  __   __   Marc Lehmann  +--
  --==---/ / _ \/ // /\ \/ /   [EMAIL PROTECTED] |e|
  -=/_/_//_/\_,_/ /_/\_\   XX11-RIPE --+
The choice of a GNU generation   |
 |



[PERL SCRIPTS] get surface

2000-05-11 Thread Fabian.Frederick



Hi 
!
 
    I'd like to 
get some surface from a picture through perl script let say
some 
gimp_get_surface(x1,y1,x2,y2) which could output some matrix -> PDL 
structure.
Does such method has 
been implemented yet ?
 
Regards,
Fabian