Matthew Gibson
2011-02-05 20:33:58 UTC
Hello,
I am using imagemagick in c++ (Magick++) to generate a bmp. I want the
bitmap to be saved to a file in indexed mode, for use as my computer's boot
splash. I want to know how to use ImageMagick to save an indexed bitmap.
This is the first thing I've ever done with image magick - I was glad it was
so easy. I am using it something like this:
Magick::Image my_img(img_path);
...
my_img.write("file.bmp");
This saves an RGB bitmap.
I took a look at the code to figure out color space, etc. but havn't been
able to figure that out.
Thanks for any help,
Matthew
I am using imagemagick in c++ (Magick++) to generate a bmp. I want the
bitmap to be saved to a file in indexed mode, for use as my computer's boot
splash. I want to know how to use ImageMagick to save an indexed bitmap.
This is the first thing I've ever done with image magick - I was glad it was
so easy. I am using it something like this:
Magick::Image my_img(img_path);
...
my_img.write("file.bmp");
This saves an RGB bitmap.
I took a look at the code to figure out color space, etc. but havn't been
able to figure that out.
Thanks for any help,
Matthew