'OpenXML Word Document - Add an Image

When adding an image to open xml word doc is there an alternative to the use of FileStream, currently i have the below code

  using (FileStream stream = new FileStream(imagepath, FileMode.Open))
                {
                    imagePart.FeedData(stream);
                }

I'm wondering if there is another way to retrieve images?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source