Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Feeding video data to Imager

by tonyc (Pilgrim)
on Mar 27, 2006 at 00:01 UTC ( #539327=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    # untested
    my $im = Imager->new(xsize=>$width, ysize=>$height);
    ...
      $im->setscanline(y=>$y, pixels => 
          substr($nfr, $y * per_line, $per_line));
    }
    
  2. or download this
    use Imager 0.48;
    # this assumes you've created an image of the right 
    ...
      myfree(line_buf);
    }
    EOS
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://539327]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (4)
As of 2018-06-19 02:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?



    Results (111 votes). Check out past polls.

    Notices?