Why is the picture referenced by the pixi.js wizard blurry and unclear?

the original picture is very clear

the code is as follows:

   

Apr.03,2022

in webgl mode, set your pixi resolution to 2 times your physical resolution, such as

let app = new PIXI.Application({
...
resolution:2
...
});

let app = new PIXI.Application({
...
resolution:2,
width:window.innerWidth,
height:widow.innerHeight
...
});

app.renderer.autoDensity=true;

app.renderer.resize(window.innerWidth,window.innerHeight);

in this way, my pixi version is 5.2.1

.

the image is definitely not clear after zooming. It is recommended to change it to svg format, or use the original image size


fromImage" rel=" nofollow noreferrer "> http://pixijs.download/releas...
to try to pass in the scaleMode parameter

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1bda864-3074d.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1bda864-3074d.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?