I am creating a game in the likeness of DDLC and I want to create a photo in png/jpg format in the game folder, preferably without these photos in the game folder
I tried to search for answers on YouTube and other Internet sites, but I couldn’t find anything.
Welcome to Stack Overflow. Please read the About page soon and also visit the links describing How to Ask a Question and How to create a Minimal Complete Reproducible Example. Providing the necessary details, including your MCRE, compiler warnings and associated errors, and sample data if any, will allow everyone here to help you with your question.
Please edit your question to elaborate on the problem you have. Is it with the creation of the images themselves? To find the location where they should be stored? Something else?
Is your question about encoding image data to the PNG format specifically? Or about finding the “game folder”? Or about actually writing the file?
So those being images doesn’t matter, right? You’re asking how to embed data into an .exe, so you can later copy it to a file.