I have tried to open bg.png file , but didn't work. There is no error , but nothing appears. Help Me!

```
int main()
    {
        initwindow(600,600,"GAME");
        ifstream image("bg.png");
        getimage(50, 50 , 450 , 450 , image);
        putimage(50,50,image,COPY_PUT);
        system("pause");
    }

```