June 2024
Intermediate to advanced
352 pages
8h 8m
English
Imagine a Python program generates images but when you go back to the image hoping to make improvements or simply generate new images based on the original prompt, you can’t find the exact prompt, inference steps, guidance scale, and the other things that actually generate the image!
One of the solutions to solve this problem is saving all the metadata in the generated image file. The Portable Network Graphics (PNG) [1] image format provides a mechanism for us to store a piece of metadata along with the image pixel data. We will explore this solution.
In this chapter, we are going to look at the following:
Read now
Unlock full access