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

Couleur #34

Open
Futiax opened this issue Oct 15, 2023 · 2 comments
Open

Couleur #34

Futiax opened this issue Oct 15, 2023 · 2 comments

Comments

@Futiax
Copy link

Futiax commented Oct 15, 2023

Bonjour, je fait un programme de conversion de vidéo et j'aimerais savoir comment tu fait pour optimiser la comparaison des couleur.

@IV2FI
Copy link
Owner

IV2FI commented Oct 15, 2023

Bonjour,

Si je me rappelle bien, j'utilise le module PIL qui fait ça. Avec cette ligne dans le code je crois : self.img.convert("RGB").quantize(palette=self.palette, dither=dither)

@Futiax
Copy link
Author

Futiax commented Oct 15, 2023

merci

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