jeertmans/manim-slides

[BUG] Low resolution in Windows

arash-ashra opened this issue · 11 comments

Hi there. Thank you so much for maintaining this.

Unfortunately, I couldn't get the HD resolution in Windows. Here's how it looks like:
image
but supposed to be:
image

I tried setting the resolution to 1920x1080, but it didn't work.

Hi @arashash , thank you for your issue!

I just tested a fix in Windows and it seems to work quite well, see #22 . Would you mind testing it?

You can install it using:

pip install git+https://github.com/jeertmans/manim-slides@fix-window-quality

Thank you so much @jeertmans
It looks much better now:
image

Is there a way to increase the quality further?

Did you try to increase the rendering quality?
On my side, I will try different interpolation methods.

yea, I tried:
manim-slides SkipConnection --fullscreen --resolution 1920 1080

btw I'm wondering if we could skip the resizing step if the fullscreen resolution matches the video? I think that's a very common use case. Since generally we have HD resolution in videos and operating system

I removed the "useless" resizing when resolutions match. However, --fullscreen resolution does not seem to match HD resolution, at least on my desktop (even though it should, I think).

Then, I added an optional flag for interpolation method, because I can't really see one that is better than all the others.

Yea I tried with all the flags and didn't see a difference

Yeah… I really don’t know why I can’t have the same quality on Windows and on Linux…

And what happens if you increasing the rendering quality (so with manim or manimgl)?

I think I found the issue. In windows, there's the option of scaling:
image
When I set it to 100 it looks perfect:
image

Wow, nice! Where is this option? I might document that in the README.

Yaay! On the main page of settings.
image