-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Save previews as jpeg instead of as png? #97
Comments
I might change this behavior because it's honestly very silly to intentionally use the wrong extension, but it should have no effect on what preview loads first. |
It does affect the display priority though. When automatic1111 is set to save generated images as jpeg, and I update the preview for a lora, if there is already a png preview downloaded from civitai, then the png preview will be shown. Here is an example; I have these files for a model:
This is not desired behaviour; if I select to replace the preview I obviously want to see my own generated image as the preview for the lora. |
I double checked and you are correct. I'll see about changing the behavior on this side to deprioritize our previews, but I also consider this a bug in webui so I might try to fix it there. |
I feel it would make more sense for the helper to store downloaded preview images with a jpeg extension instead of with a png extension. As the README states, automatic1111 will select to display a "model.preview.png" before a "model.jpeg" if both exist.
I have set automatic1111 to always save generated images as jpeg in order to keep file sizes down. This means when I generate my own preview for a model, it becomes "model.jpeg" and is never shown. It would make more sense for user generated preview images to be preferred over default downloaded ones and storing downloaded previews with a jpeg extension would solve that.
The text was updated successfully, but these errors were encountered: