I agree with you that there are cases when it is better to "pull" a specifc image from file. However for a card game you could load all the images to an ImageList and then use ImageList.Item to retreive the specific image.
You could use BinaryFile.ReadInt64 and see if the value is a positive (not too big) number. Afterwards you will need to return the file position 8 bytes backwards.
|