leejet / stable-diffusion.cpp

Stable Diffusion in pure C/C++
MIT License
2.91k stars 233 forks source link

RAW latent image saving/opening/decoding #225

Open SA-j00u opened 2 months ago

SA-j00u commented 2 months ago

what about to add RAW latent image saving\opening? it use least space than png no need encoding image and it's lossless for img2img you can check generated image with different VAE or "remake" good images with big/slow VAE or do some graphic manipulations with several results from multiple VAE etc

also saving RAW every step is requested too

also it will be useful to "continue" generation of good images by opening latent RAW (or even png via img2img) with imitating high steps of scheduler (like 15...30 only)

so --start_scheduler_step is requested too

or even process img2img without any new noise addition for experimental purposes (with manual noise addition in external editor)