'Blur QPixmap with PyQt5
Im trying to render an image with PyQt5, but it's too small for to see properly, due to high computational power needed.
So I resized it, but now I can see all the pixel clearly what I don't want.
Is there a way to blur this QPixmap, so I no longer see pixel but a smooth image?
Solution 1:[1]
You can use Promises for that.
// Create each stream (in for loop or whatever)
const a = fetch('https://jsonplaceholder.typicode.com/todos/1');
const b = fetch('https://jsonplaceholder.typicode.com/todos/2');
const c = fetch('https://jsonplaceholder.typicode.com/todos/3');
// Then wait for all of them to resolve
Promise.all([a, b, c]).then((res) => console.log(res))
Check for doc: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise/all
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Do?ukan Akkaya |
