mirror of
https://github.com/leejet/stable-diffusion.cpp.git
synced 2026-11-26 23:29:53 +00:00
12 lines
422 B
C++
12 lines
422 B
C++
#ifndef __EXAMPLES_COMMON_MEDIA_METADATA_H__
|
|
#define __EXAMPLES_COMMON_MEDIA_METADATA_H__
|
|
|
|
#include <cstdint>
|
|
#include <string>
|
|
#include <vector>
|
|
|
|
std::string generation_xmp(const std::string& parameters);
|
|
bool embed_png_metadata(std::vector<uint8_t>& image, const std::string& source);
|
|
bool embed_jpeg_metadata(std::vector<uint8_t>& image, const std::string& parameters);
|
|
|
|
#endif // __EXAMPLES_COMMON_MEDIA_METADATA_H__
|