Skip to content
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

Large amount of artifacting in images. #5

Open
Dovvah opened this issue Dec 20, 2021 · 1 comment
Open

Large amount of artifacting in images. #5

Dovvah opened this issue Dec 20, 2021 · 1 comment

Comments

@Dovvah
Copy link

Dovvah commented Dec 20, 2021

It seems if the input images are fairly detailed the output image ends up with a lot of artifacting, nearly to the point of destroying the image depending on the input. Is this a side effect of the exploit or a bug / something on my end? I notice your example images have some artifacting, but not nearly as much as I'm seeing
output2
.

@DavidBuchanan314
Copy link
Owner

DavidBuchanan314 commented Dec 20, 2021

Yes, it's inherent in how the exploit works. You can reduce the artefacting by making your images more compressible. You can do this by:

  • Upscaling with nearest-neighbor interpolation
  • Reducing the number of colours in the image

I've been meaning to add this to the readme

To explain further, the artefacts that you see are actually the compressed bytes of the secondary image. So the more compression ratio you have, the better your artefact-to-image ratio is.

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

No branches or pull requests

2 participants