Including images from the local store inside the state in React project

I would like to know if it’s possible to include an image from local store into the state? I know that it’s possible to do it if you provide url inside the state but how to do the same for local images?