Skip to content

Make live previews use JPEG only for large images#10290

Merged
AUTOMATIC1111 merged 1 commit into
AUTOMATIC1111:devfrom
akx:smart-live-preview-format
May 11, 2023
Merged

Make live previews use JPEG only for large images#10290
AUTOMATIC1111 merged 1 commit into
AUTOMATIC1111:devfrom
akx:smart-live-preview-format

Conversation

@akx

@akx akx commented May 11, 2023

Copy link
Copy Markdown
Collaborator

Describe what this pull request is trying to achieve.

Follows up on b7e160a - I somewhat rely on previews and the JPEGs were kinda grubby since e.g. 64x88 is only a couple 16x16 macroblocks.

So instead of always using JPEGs, only use them when there's enough pixels to squeeze.

Environment this was tested in

  • OS: Windows
  • Browser: Chrome
  • Graphics card: GTX 1070

Screenshots or videos of your changes

(You can imagine a less blocky preview image here.)

@akx akx requested a review from AUTOMATIC1111 as a code owner May 11, 2023 17:57
@AUTOMATIC1111 AUTOMATIC1111 merged commit b4aaa33 into AUTOMATIC1111:dev May 11, 2023
@akx akx deleted the smart-live-preview-format branch June 13, 2023 09:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants