I'm not sure what you mean by image.RAW. Are you trying to take a BMP format image file, and convert it back to the raw data from a particular sensor, from which the BMP image was generated? That's generally not possible. BMP is a generic file format, and could contain pretty much anything. For example, one might take raw data from some sensor, then display it, and adjust the contrast, or apply a color table, or something like that. Then output the display to a BMP format image. That BMP image doesn't contain enough information to convert the image back to its original form.
Or maybe I'm completely misunderstanding what you want to do. It might help if you provide a bit more information about what is in your BMP file, and how it was generated, and also what you mean by image.RAW.
- Peg
|