Content pfp
Content
@
0 reply
0 recast
0 reaction

Deployer pfp
Deployer
@deployer
So Safari doesn't support image-rendering pixelated on SVG <image> tags. You try to scale up a tiny pixelated image it becomes blurry. Works everywhere else. I figured out a workaround. Draw the tiny version to a canvas, then draw that canvas to a bigger canvas using ctx.imageSmoothingEnabled = false. Works!
3 replies
0 recast
9 reactions

typeof.eth 🔵 pfp
typeof.eth 🔵
@typeof.eth
Wow, blurry vector images?! What the absolute hell.
1 reply
0 recast
0 reaction

Deployer pfp
Deployer
@deployer
Well kind of. My use case was creating a dynamically generated character referencing a raster sprite sheet via svg use. Different layers made up different attributes. The sprite sheet is tiny so it can be stored on the blockchain. Usually you can scale up pixel art with the image rendering attribute, but not in Safari.
0 reply
0 recast
1 reaction