combomash / engine

TypeScript Algorithmic Media Engine
https://www.npmjs.com/package/@combomash/engine
ISC License
0 stars 0 forks source link

exact pixelratio #25

Closed owmo-dev closed 1 month ago

owmo-dev commented 1 month ago

I want to be able to supply a devicePixelRatio to the "exact" fit method, such that the resulting canvas matches the width and height, but the rendered image may be any pixel ratio to increase sharpness in the render.