I would like to add an item into a picture Library using c#. This is how I would add a field to a normal item:
var item = list.Items.Add();
item["Title"] = "Item title";
item.Update();
How would I go about adding the picture? The picture is stored on the file system i.e. c:\myfile.png I iamgine I need to use SPFile but not sure how.