You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using the canvas npm package and the built-in node:fs module, we can write the result of a "prime" export to a virtual HTMLCanvasElement and then pipe that canvas to a file.
The file size will be proportional to the configured --width, the most likely solution is a multiplier that decreases through some function as a the configured --width increases, approaching a multiplier of 1.
Please let me know if you would like this feature implemented and I will begin working on it.
The text was updated successfully, but these errors were encountered:
Using the canvas npm package and the built-in
node:fs
module, we can write the result of a"prime"
export to a virtual HTMLCanvasElement and then pipe that canvas to a file.The file size will be proportional to the configured
--width
, the most likely solution is a multiplier that decreases through some function as a the configured--width
increases, approaching a multiplier of 1.Please let me know if you would like this feature implemented and I will begin working on it.
The text was updated successfully, but these errors were encountered: