patch getexif

Signed-off-by: Vladimir Mandic <mandic00@live.com>
This commit is contained in:
Vladimir Mandic
2026-06-10 08:20:25 +02:00
parent 72b2f0d7be
commit ee3a466ad9
4 changed files with 19 additions and 19 deletions
+4 -3
View File
@@ -1,8 +1,8 @@
# Change Log for SD.Next
## Update for 2026-06-09
## Update for 2026-06-10
### Highlights for 2026-06-09
### Highlights for 2026-06-10
*What's New?*
- **Ideogram-4** released, Microsoft joins the game with **Lens** and **Anima** made it to release version
@@ -18,7 +18,7 @@ And we have a new modular LoRA loader, new native Transformers loader and improv
[ReadMe](https://github.com/vladmandic/automatic/blob/master/README.md) | [ChangeLog](https://github.com/vladmandic/automatic/blob/master/CHANGELOG.md) | [Docs](https://vladmandic.github.io/sdnext-docs/) | [WiKi](https://github.com/vladmandic/automatic/wiki) | [Discord](https://discord.com/invite/sd-next-federal-batch-inspectors-1101998836328697867) | [Sponsor](https://github.com/sponsors/vladmandic)
### Details for 2026-06-09
### Details for 2026-06-10
- **Models**
- [CircleStone Anima 1.0](https://huggingface.co/circlestone-labs/Anima) in *Base* and *Turbo* (distilled) variants
@@ -144,6 +144,7 @@ And we have a new modular LoRA loader, new native Transformers loader and improv
- `sdnq` prequant save/load
- `samplers` ui sigma methods
- `xpu` generator on non-cpu
- `compel` compatibility with *transformers==5*
## Update for 2026-05-13
+6 -7
View File
@@ -14197,14 +14197,13 @@ async function getExif(el2) {
}
let html = "";
let params;
if (exif.parameters) {
params = exif.parameters;
} else if (exif.userComment) {
params = decodeBytes(exif.userComment);
} else {
params = "";
if (!exif) {
log("getExif", "exif is none");
return html;
}
debug("getExif", params);
if (exif.parameters) params = exif.parameters;
else if (exif.userComment) params = decodeBytes(exif.userComment);
else params = "";
if (params.length > 0) html += `<b>Prompt</b> ${params || ""}<br>`;
html = html.replace("Negative prompt:", "<br><b>Negative</b>");
html = html.replace("Steps:", "<br><b>Params</b> Steps:");
+2 -2
View File
File diff suppressed because one or more lines are too long
+7 -7
View File
@@ -125,14 +125,14 @@ export async function getExif(el) {
// let html = `<b>Image</b> <a href="${el.src}" target="_blank">${el.src}</a> <b>Size</b> ${el.naturalWidth}x${el.naturalHeight}<br>`;
let html = '';
let params;
if (exif.parameters) {
params = exif.parameters;
} else if (exif.userComment) {
params = decodeBytes(exif.userComment);
} else {
params = '';
if (!exif) {
log('getExif', 'exif is none');
return html;
}
debug('getExif', params);
if (exif.parameters) params = exif.parameters;
else if (exif.userComment) params = decodeBytes(exif.userComment);
else params = '';
// debug('getExif', params);
if (params.length > 0) html += `<b>Prompt</b> ${params || ''}<br>`;
html = html.replace('Negative prompt:', '<br><b>Negative</b>');
html = html.replace('Steps:', '<br><b>Params</b> Steps:');