bladx has asked for the wisdom of the Perl Monks concerning the following question:
Monks:
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!
Andy Summers
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!
Andy Summers
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Random Pictures Using .pngs ... how?
by myocom (Deacon) on Aug 21, 2001 at 03:31 UTC | |
by tilly (Archbishop) on Aug 21, 2001 at 04:37 UTC | |
by bladx (Chaplain) on Aug 21, 2001 at 08:48 UTC | |
Re: Random Pictures Using .pngs ... how?
by koolade (Pilgrim) on Aug 21, 2001 at 08:38 UTC | |
Interacting with X
by elbie (Curate) on Aug 21, 2001 at 16:57 UTC | |
Re: Random Pictures Using .pngs ... how?
by t'mo (Pilgrim) on Aug 21, 2001 at 17:06 UTC | |
Is there a way that I can use this new image in a web page?
by bladx (Chaplain) on Aug 21, 2001 at 08:58 UTC | |
by BrotherAde (Pilgrim) on Aug 21, 2001 at 11:06 UTC | |
Re: Random Pictures Using .pngs ... how?
by count0 (Friar) on Aug 21, 2001 at 18:31 UTC | |
Re: Random Pictures Using .pngs ... how?
by FoxtrotUniform (Prior) on Aug 21, 2001 at 21:13 UTC |
Back to
Seekers of Perl Wisdom