I am porting an old dos game to html 5 canvas. It is a very basic game with animations of 2-3 frames. I have already extracted all the necessary frames which are very low-res and approximately 13*23 images. I can replicate the images by using canvas js statements or I can use the images I already have with drawImage().
The problem with using images is most modern browsers resize images by using interpolation techniques such as bicubic etc. This makes the images loose their dos-like low resolution appearances and they look awful since they have to be scaled as pixel arts.
The problem with using canvas js statements is that is very difficult to replicate all the images by hand but it solves the scaling problem.
What would be the ideal way to do it?