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

Unexpected extreme file size changes in the output file? #28

Open
Qayinz opened this issue Jan 31, 2023 · 1 comment
Open

Unexpected extreme file size changes in the output file? #28

Qayinz opened this issue Jan 31, 2023 · 1 comment

Comments

@Qayinz
Copy link

Qayinz commented Jan 31, 2023

Hey, i am aware that there is a 99% chance that this is a misunderstanding on my end.
But when i used this on a 10mb PNG 4K render, along with the (incredible) removal in noise, the file size decreased from 10mb to 7mb.

I can only assume this isn't a lossless reduction. Can the reduction/encoding be disabled? or is this by design and is a part of the denoising process?

@mojo-jojo-7
Copy link

There's a couple of reasons why this can happen

  • Denoising an image inherently decreases the "complexity" of an image, hence fewer bytes are required to store the image data
  • Your original PNG file could have been encoded inefficiently

It's usually the first case. Don't worry, PNG always uses lossless compression. So, apart from the intended change in image quality from noise reduction, there is no other downgrade happening here.

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