divamgupta / divamgupta/diffusionbee-stable-diffusion-ui

Outpainting Save worsens, scales images

Open
#265 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
JavaScript
Stars
13.6k
Forks
727
PR merge metrics
No merged PRs in 30d

Description

When you save in Outpainting, DiffusionBee scales up the image, worsening the quality. (My suspicion is that this may be because of [pixel density shenanigans](https://github.com/divamgupta/diffusionbee-stable-diffusion-ui/blob/6219144fbcc39e91aed8fbee27b6e5f320ef670c/electron_app/src/components/Outpainting.vue#L399))

Input image (zipped to avoid any GitHub compression): [input.zip](https://github.com/divamgupta/diffusionbee-stable-diffusion-ui/files/9896334/input.zip). Size: 1098×842px

Output image:
[output.zip](https://github.com/divamgupta/diffusionbee-stable-diffusion-ui/files/9896339/output.zip). Size (cropped): 1810×1384 pixels

**Comparison of image at actual size:**
Input:
![Screenshot 2022-10-30 at 12 58 25 PM Large](https://user-images.githubusercontent.com/714017/198891322-87cc8f5c-a927-4bc4-93c7-de34d9031025.jpeg)

Output:
![d11d3 Large](https://user-images.githubusercontent.com/714017/198891328-a6639b74-3fa6-4176-9d65-ed6ebb300d31.jpeg)

**Steps to reproduce:**

1. Add image to Outpainting board
2. Click Save Image (do not actually run Outpainting, do not resize image in DiffusionBee)
3. Compare saved image to original, notice size increase

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.