Page 1 of 1

Image format.

Posted: Mon Mar 01, 2004 10:03 pm
by Lou-saydus
I was thinking about writing a image format..sorta like this..

Code: Select all

 <16,16,24>
W^H^   ^bpp
           "245,046,075"
             R      G     B
           "and another 255 of these for each pixel."
this would give the user the ability to "hand" edit the image and the image would be easly recoverable if corrupted. i know more
stuff would be needed but im just hnking about it right now.

Posted: Mon Mar 01, 2004 11:10 pm
by Rebel
Uh, if you created your own image format, then you'd need to write a software app. which can read that format. Not to mention, if you don't use something like RLE for compression your image files are going to be too large.

Posted: Wed Mar 03, 2004 5:29 am
by Lou-saydus
the format is the exaact same size as a bmp i just tested it.

Posted: Wed Mar 03, 2004 1:59 pm
by Rebel
Well, RLE would probably work well for compression since you'd probably have many repeating colors, but I've seen the code of others who were savvy enough to write their own compression schemes. Of course, if sizes are similar as you said, a zip file would probably compress them quite well if your intent was to share the image files.

Better get on writing that software ---

Posted: Thu Mar 04, 2004 8:44 pm
by Lou-saydus
well as i said it was just a thought dont know if ill go after it.