in reply to Re^3: create image via binmode
in thread create image via binmode

There is a binmode $OUT; missing, which will lead to rendering the output unusable under Win.