A customized image format, theories?
Posted: Mon Jul 17, 2006 10:12 pm
				
				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?
			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?
 I donno, I lost all my spare time in 2001.
 I donno, I lost all my spare time in 2001.