Well, i have been attempting to design my own image format, and first off, i started to wonder, vector, bitmap, or a combination? I decided to go for a combination.
Heres what i have come up with:
FGI,ImageName,390,390,91,132,225
e,0,0,10,10,118,158,126
b,15,17,90,22,69,69,69
t,18,16,222,100,69,Hello Mates!,Arial Narrow,14 
p,10,10,100,100,69 
Format,ImageName,width,height,backgroundr,backgroundg,backgroundb
eclipse,x,y,width,height,r,g,b
box,x,y,width,height,r,g,b
text,x,y,r,g,b,text,font,height
plot,x,y,r,g,b
And so on, it loads this into the memory, and then draws it.
Is there a more efficient way to do this, also, doing this in memory and decoding each image format including your own, is that the fastest way, or  would you guys reccomend the pb image commands over it? Is there a faster way to save the information?
Basically, can i do this any faster, if so, how so?
			
			
									
									A customized image format, theories?
Simple really, for fun, enjoyment, something to do in your spare time. To customize it as YOU want it etc, to make things easier for you. Theres loads of reasons, me, im just doing it for the sheer fun of it, and to see if i can pull if off.Trond wrote:Why invent yet another image format when there are dozens on them everywhere?
At the moment yes, thats exactly what im doing, and since im doing my A levels and need to use the computer alot anyway, i have plenty of free time, as well as teh fact, i have my own, and that i live 4 1/2 miles from y school (takes so long to walk, i stay in most evenings).Trond wrote:Are you storing the numbers as ascii in the file? Like 10 for 10 red?






 I donno, I lost all my spare time in 2001.
 I donno, I lost all my spare time in 2001.