How to write to SD cards

I'm a bit of a beginner with arduinos and I would like some help with this topic.

So I just thought of an awesome project idea (I do not currently have the materials for said project but I want to know how to do it) that consists partially of saving a 2d array of values in a file in such a way that the file can easily be later converted to a sort of low-res gray-scale image. Any ideas?

A 16bits .BMP-file has a small header containing info for the file.
It is not very difficult to make an Arduino produce such a file.
Problem is that the UNO has too little memory to store a BMP-file of some size. (70px by 70px => 8KB)

Please elaborate. I've never used an arduino to write to an sd card, please explain the process and include some code.

blane1257:
Please elaborate. I've never used an arduino to write to an sd card, please explain the process and include some code.

How about looking at the example code included with the IDE?

If you expect someone to spoon feed you, you had better think again!

.