TresCom Forums

TresCom : The Trespasser Fan Gateway...
It is currently Sun Sep 23, 2018 2:06 pm

All times are UTC




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: Image format.
PostPosted: Mon Mar 01, 2004 10:03 pm 
Offline
Pteranodon
Pteranodon

Joined: Wed Sep 10, 2003 11:18 pm
Posts: 983
I was thinking about writing a image format..sorta like this..

Code:
 <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.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Mar 01, 2004 11:10 pm 
Offline
-=TresCom Developer=-
-=TresCom Developer=-
User avatar

Joined: Sun Nov 10, 2002 10:26 pm
Posts: 4800
Location: That country nobody likes (you know the one)
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.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Mar 03, 2004 5:29 am 
Offline
Pteranodon
Pteranodon

Joined: Wed Sep 10, 2003 11:18 pm
Posts: 983
the format is the exaact same size as a bmp i just tested it.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Mar 03, 2004 1:59 pm 
Offline
-=TresCom Developer=-
-=TresCom Developer=-
User avatar

Joined: Sun Nov 10, 2002 10:26 pm
Posts: 4800
Location: That country nobody likes (you know the one)
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 ---


Top
 Profile  
 
 Post subject:
PostPosted: Thu Mar 04, 2004 8:44 pm 
Offline
Pteranodon
Pteranodon

Joined: Wed Sep 10, 2003 11:18 pm
Posts: 983
well as i said it was just a thought dont know if ill go after it.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Powered by phpBB® Forum Software © phpBB Group