Ok. Thanks for the response. You mean there are built-in libraries in Perl available. But I am searching for algorithms without using any libraries. Though for the initial starting point libraries can be good to see how fractals work. Also, I can compare the input image with output image. But how can I get a pseudocode to implement my Perl code without using any libraries? Thanks.