Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
This doesn't work very well, can't display the new image. Also diff tells that both files are different.#! /usr/bin/perl open (IN, "<abc.gif") ; binmode IN ; $image = <IN> ; close IN ; open OUT,">test.jpg" ; binmode OUT ; print OUT $image ; close OUT
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: create image via binmode
by ikegami (Patriarch) on Jan 13, 2006 at 21:50 UTC | |
by Anonymous Monk on Jan 13, 2006 at 23:28 UTC | |
by ikegami (Patriarch) on Jan 14, 2006 at 02:16 UTC | |
|
Re: create image via binmode
by BrowserUk (Patriarch) on Jan 13, 2006 at 22:12 UTC | |
by Anonymous Monk on Jan 13, 2006 at 22:54 UTC | |
|
Re: create image via binmode
by marinersk (Priest) on Jan 13, 2006 at 22:10 UTC | |
|
Re: create image via binmode
by Anonymous Monk on Jan 13, 2006 at 21:57 UTC | |
by ikegami (Patriarch) on Jan 13, 2006 at 22:19 UTC | |
by strat (Canon) on Jan 14, 2006 at 10:34 UTC | |
by pKai (Priest) on Jan 15, 2006 at 12:48 UTC | |
by ikegami (Patriarch) on Jan 14, 2006 at 18:56 UTC | |
by strat (Canon) on Jan 15, 2006 at 10:21 UTC | |
|