|Just another Perl shrine|
Random Pictures Using .pngs ... how?by bladx (Chaplain)
|on Aug 21, 2001 at 03:05 UTC||Need Help??|
bladx has asked for the
wisdom of the Perl Monks concerning the following question:
Someone casually asked me the other day on the topic of Perl and .pngs. This person was wondering if it was possible to create random pixels of color in order to create pictures (at least muddled pictures,) within given height, and width dimensions (i.e. like 100x100 pixels, and so on.)
After being able to say that I don't know how one could do this, I did some searches on this topic using super search, but to no avail, did not find anything useful for what I would want to try out.
Basically, my question is: Is there a way to do this? (Create random pictures using random pixels in given dimensions.) If so, is there an easier way to do it using some sort of module as well?
But even if I figured out how to make these pictures with certain Perl code, I still don't know how to interact with my XWindows system on linux. Is there documentation I could read up on to find out how to interact with the linux XWindows environment?
Thanks for any help to either of the questions!