raster (PIL)

superpollo user at example.net
Thu Jul 23 08:58:45 EDT 2009


Peter Otten wrote:
> superpollo wrote:
> 
> 
>>i wrote a program which transforms a string of zeroes ando ones into a
>>png file.
...
>>any suggestions for improvement?
...
> Here's a different approach:
...
> The idea is to move the bit-twiddling from python to code written in C, 
> pointless for such a tiny picture but crucial for the performance when you 
> want to manipulate larger images.

very very interesting... you know i come from a lower level language 
approach (C/Pascal) so i find it difficult (but full of fascination) to 
adapt to such a different and much simpler way of thinking.

anyways, thanks a lot.

bye




More information about the Python-list mailing list