Hi.
I've created a small photoshop wanabe application, that i've designed so users can draw and edit images using layers, similar to what photoshop does. Except, for now, all my layers are bitmaps.
What I'm trying to do now is save all those layers, so users can create a project, save it and then reopen it with all the layers intact.
My current theory is to take each layer and turn each byte of the bitmap into a hex value, pump all that into a string and put it into a xml file.
I see no problem with that except, I might be working with several large bitmaps (1280 * 1024.. ish) and even tho I would be using unsafe code and pointers and whatnot, this would probbly take up a lot of resources and time.
Im not looking for help with doing that, I can manage that.
But if anybody has another, preferably better, way to do this. I would really like to hear about it.
Thanks
I've created a small photoshop wanabe application, that i've designed so users can draw and edit images using layers, similar to what photoshop does. Except, for now, all my layers are bitmaps.
What I'm trying to do now is save all those layers, so users can create a project, save it and then reopen it with all the layers intact.
My current theory is to take each layer and turn each byte of the bitmap into a hex value, pump all that into a string and put it into a xml file.
I see no problem with that except, I might be working with several large bitmaps (1280 * 1024.. ish) and even tho I would be using unsafe code and pointers and whatnot, this would probbly take up a lot of resources and time.
Im not looking for help with doing that, I can manage that.
But if anybody has another, preferably better, way to do this. I would really like to hear about it.
Thanks
Comment