in reply to Re: About GD Image Data Output Methods
in thread About GD Image Data Output Methods [SOLVED]
Pure magic, especially this line:
my $bmp = pack 'a2 V V V l< l< l< v v V V l< l< V V', 'BM', $len + 54, 0, 54, 40, $attrs[1], $attrs[2], 1, 24, $len, 0, +0, 0, 0;
I tried it immediately but i can't view the file with various image processing software. In some it is simply black, some other reject it.
Examining the file i get:
karls-mac-mini:monks karl$ file mandelbrot.bmp mandelbrot.bmp: PC bitmap, Windows 3.x format, 1280 x 1024 x 24
This looks good, but:
karls-mac-mini:monks karl$ identify mandelbrot.bmp identify: unrecognized compression `mandelbrot.bmp'.
Or something is wrong with my GD installation. But i don't think so because the script would complain if something went wrong.
Thank you very much for advice. Perhaps you have a hint how to continue.
Best regards, Karl
«The Crux of the Biscuit is the Apostrophe»
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: About GD Image Data Output Methods
by BrowserUk (Patriarch) on Jun 07, 2015 at 19:33 UTC | |
by karlgoethebier (Abbot) on Jun 07, 2015 at 20:06 UTC | |
by BrowserUk (Patriarch) on Jun 07, 2015 at 20:13 UTC | |
by karlgoethebier (Abbot) on Jun 07, 2015 at 21:01 UTC | |
by BrowserUk (Patriarch) on Jun 07, 2015 at 21:27 UTC | |
|