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

Re^5: How to create and save an image from RGB values

by marioroy (Prior)
on Dec 28, 2021 at 12:39 UTC ( [id://11139984]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $ cpanm Imager
    $ wget https://cpan.metacpan.org/authors/id/T/TO/TONYC/Imager-1.012.ta
    +r.gz
    ...
    $ perl Makefile.PL
    $ CPATH=~/perl5/perlbrew/perls/perl-5.32.1/lib/site_perl/5.32.1/x86_64
    +-linux-thread-multi/Imager/include make
    $ make install
    
  2. or download this
    use strict;
    use warnings;
    ...
    my $im = Imager->new(xsize => 1000, ysize => 1000);
    $im->filter(type => 'mandelbrot',) or die("# ", $im->errstr, $/);
    $im->write(file => 'mandel1.png');
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11139984]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (7)
As of 2024-04-18 17:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found