I am wondering if there is a file format that will enable me to store values in the format as indicated below. I want the file format to be as efficient as possible (I.E no extra information, apart from what I place inside it). This is for a concept I have of creating a more efficient method of storing images. Here is an example of the data I wish to store:
800 600 0000FF FF0000 00FF00 969696
...
I was originally considering placing them in a .txt file, but I do not think that storing say 1 million numbers (For 1000×1000 image) in a .txt file is very compact.
So, what file format that can be written to in VB.net is the best for storing basic numbers?
EDIT 1: I plan to compress using GZip or some other compression afterwards.
Simply store them in binary format. Look at
BinaryWriter.