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
Clearly this is a problem if I want to run the same script on the server and client.
The node-pixels version seems more thought-out - perhaps this should be used instead for the client and the '.GIF' option should be deprecated and phased out in the next major version?
The text was updated successfully, but these errors were encountered:
dom-pixels.js accepts the following types:
'.GIF'
node-pixels.js accepts the following types:
'image/png'
'image/jpg'
'image/jpeg'
'image/gif'
'image/bmp'
Clearly this is a problem if I want to run the same script on the server and client.
The node-pixels version seems more thought-out - perhaps this should be used instead for the client and the
'.GIF'
option should be deprecated and phased out in the next major version?The text was updated successfully, but these errors were encountered: