This is not impossible, but will be a little tricky. I will probably need to restrict some things and give warnings to malformed data. I am saving this for the very very end. The viewer will be released without edit capability and then I will revisit and see how I may go about adding this.
I have experimented with this, but ST2 doesn't always fire the event for opening a file correctly...or at least as expected. It has caused me some issues to do this. I may revisit this again when I get the essentials in.
Can you provide more in depth explanation to BMP structure headers? Is there an hex editor that does this sort of thing that I could view as an example? I would like to take a look into this before I give a yes or a no.
Yes, you just use the standard key binding methodology. I will post an example in a bit.