I have a few private GitHub repositories of games I have made. I want to open source the codebases, but many of the images used are licensed so cannot be shared freely.
Since the image dimensions and filetype need to stay the same for the code to compile, a possible solution would be to replace all of the images with placeholders.
- Be able to select a few hundred images at once.
- Replace each image with a placeholder of the same name, size, and filetype.
- Ideally each image would contain, as text, the filename for identification, or an ID.
Ideas so far
Using what I already know, recording a Photoshop macro of adding a "placeholder" layer onto an image and overwriting the original would complete half my task. It could easily work in bulk, but I don't see any way to get an ID or filename INTO the image itself.
Any ideas, or perhaps better solutions to the image replacement?