Thanks to the help of [snibgo].
I am almost there, but would like to have the final step.
What I have so far is the conversion from "Raw" to "header" version of BMP.
I now only need to find out how to insert the palette into the image.
Please see the files here.
My trials have been:
Code: Select all
convert -size 300x119 -depth 8 gray:qwerty.raw q3.bmp
Code: Select all
convert -size 300x119 -depth 8 gray:qwerty.raw -type palette q3_palette.bmp
I would like to create same thing as "good.bmp" which has 3 channel depths, unlike q3_palette. Also it has 256 colors.
In addition to that, I would like to modify the colors() array, which is the palette Windows sees. Either specified directly on the command line, or taken from "good.bmp".
At this moment I have to manually load each image to convert into PSP, then convert, load palette, save.
Hope I asked the question right.