Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
even a small thumbnail produces a good sized string, is there any way of further shrinking the base64 encoded string?use strict; use warnings; my $buf; open(FILE, "image.jpg") or die "$!"; while (read(FILE, $buf, 60*57)) { print encode_base64($buf); }
Thanks
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: encode/decode images
by almut (Canon) on Feb 25, 2009 at 19:46 UTC | |
by Anonymous Monk on Feb 25, 2009 at 20:21 UTC | |
by samtregar (Abbot) on Feb 25, 2009 at 21:42 UTC | |
by Joost (Canon) on Feb 25, 2009 at 22:25 UTC | |
|
Re: encode/decode images
by zentara (Cardinal) on Feb 26, 2009 at 14:16 UTC | |
|
Re: encode/decode images
by scorpio17 (Canon) on Feb 26, 2009 at 15:25 UTC |