Hi Folks -
I need some help for fixing an issue in BMPReadWriter. For writing proper test cases I need to have both, a 16 and a 32 bit version of the attached (24bit) bmp file. Unfortunately I have no software which actually creates 16 or 32 bit bmp files. If you have a way to create such files I would greatly appreciate sending me copies of those, and I will promise in return to speed up 16bit loading by, uh, say a factor of two or so (it's really inefficient right now but I do need a test case first).
Thanks, - Andreas
On 10/25/05, Andreas Raab andreas.raab@gmx.de wrote:
I need some help for fixing an issue in BMPReadWriter. For writing proper test cases I need to have both, a 16 and a 32 bit version of the attached (24bit) bmp file.
I wanted to do this with the netpbm tools, but ppmtobmp only accepts bpp values of 1,2,4,8 and 24... So I'm at a loss as to what software actually can produce these.
I went and looked at photoshop and it only supports bmp to 24. So I thought maybe I was missing something and did a quick google and found this: http://www.aha-soft.com/ahaview/bmp-info.htm maybe it will help?
Ron
-----Original Message----- From: squeak-dev-bounces@lists.squeakfoundation.org [mailto:squeak-dev-bounces@lists.squeakfoundation.org] On Behalf Of Cees De Groot Sent: Wednesday, October 26, 2005 4:49 AM To: The general-purpose Squeak developers list Subject: Re: Help needed: 16 and 32 bit BMP files
On 10/25/05, Andreas Raab andreas.raab@gmx.de wrote:
I need some help for fixing an issue in BMPReadWriter. For writing proper test cases I need to have both, a 16 and a 32 bit version of the attached (24bit) bmp file.
I wanted to do this with the netpbm tools, but ppmtobmp only accepts bpp values of 1,2,4,8 and 24... So I'm at a loss as to what software actually can produce these.
Am 25.10.2005 um 06:39 schrieb Andreas Raab:
Hi Folks -
I need some help for fixing an issue in BMPReadWriter. For writing proper test cases I need to have both, a 16 and a 32 bit version of the attached (24bit) bmp file. Unfortunately I have no software which actually creates 16 or 32 bit bmp files. If you have a way to create such files I would greatly appreciate sending me copies of those, and I will promise in return to speed up 16bit loading by, uh, say a factor of two or so (it's really inefficient right now but I do need a test case first).
Maybe this would help:
http://entropymine.com/jason/bmpsuite/
- Bert -
I could not make it with graphics converter on mac :(
Stef
On 25 oct. 05, at 06:39, Andreas Raab wrote:
Hi Folks -
I need some help for fixing an issue in BMPReadWriter. For writing proper test cases I need to have both, a 16 and a 32 bit version of the attached (24bit) bmp file. Unfortunately I have no software which actually creates 16 or 32 bit bmp files. If you have a way to create such files I would greatly appreciate sending me copies of those, and I will promise in return to speed up 16bit loading by, uh, say a factor of two or so (it's really inefficient right now but I do need a test case first).
Thanks,
- Andreas
<bmptest24.bmp>
Hi,
I tried ImageMagick: http://www.imagemagick.org
convert -depth 16 bmptest24.bmp bmptest16.bmp "This is the number of bits in a color sample within a pixel. The only acceptable values are 8 or 16. Use this option to specify the depth of raw images whose depth is unknown such as GRAY, RGB, or CMYK, or to change the depth of any image after it has been read."
and out comes the following different but still readable bmp:
No idea how to convert that into 32 bits though.
Hope that helps,
Markus
On Oct 25, 2005, at 6:39 AM, Andreas Raab wrote:
Hi Folks -
I need some help for fixing an issue in BMPReadWriter. For writing proper test cases I need to have both, a 16 and a 32 bit version of the attached (24bit) bmp file. Unfortunately I have no software which actually creates 16 or 32 bit bmp files. If you have a way to create such files I would greatly appreciate sending me copies of those, and I will promise in return to speed up 16bit loading by, uh, say a factor of two or so (it's really inefficient right now but I do need a test case first).
Thanks,
- Andreas
<bmptest24.bmp>
Hi,
Am 25.10.2005 um 06:39 schrieb Andreas Raab:
Hi Folks -
I need some help for fixing an issue in BMPReadWriter. For writing proper test cases I need to have both, a 16 and a 32 bit version of the attached (24bit) bmp file. Unfortunately I have no software which actually creates 16 or 32 bit bmp files. If you have a way to create such files I would greatly appreciate sending me copies of those, and I will promise in return to speed up 16bit loading by, uh, say a factor of two or so (it's really inefficient right now but I do need a test case first).
Thanks,
- Andreas
These are produced by Photoshop CS. The save dialog also includes options for - os2(only 24bit like the one you attached) - windows (all bit depths, various channel options). Drop a note if you want to have them all.
karsten
On 10/25/05, Andreas Raab andreas.raab@gmx.de wrote:
I have no software which actually creates 16 or 32 bit bmp files.
From the responses on this list, it seems that few people have such
software, and very few people ever use 16- or 32-bit BMP files.
So, why are you working so hard to support a file format that is hardly ever used? (I'm not complaining; I really want to know whether this is worth the effort. Would you work as hard for any other image file format that is scarcely used?)
Cheers!
--Tom Phoenix
Thanks everyone, I got enough replies off-list to have solved the problem by now, so please stop sending ever more replies to the list.
Cheers, - Andreas
squeak-dev@lists.squeakfoundation.org