correct
the js version is a “mockup”, reading an image from a canvas, you cannot read / decode files from disk