code: function (x0, y0, width, height, c)
      {
          _c = c || _c
          const data = _c.getImageData(x0, y0, width, height)
          const bits = data.data
  
          const pixels = []
          for (let y = 0; y < height; y += _scale)
          {
              for (let x = 0; x < width; x += _scale)
              {
                  const index = x * 4 + y * width * 4
                  if (bits[index + 3] === 0)
                  {
                      pixels.push(null)
                  }
                  else
                  {
                      const color = Color.rgbToHex(bits[index], bits[index + 1], bits[index + 2])
                      pixels.push(parseInt(color, 16))
                  }
              }
          }
          return pixels
      }
docs: gets data for use with yy-pixel.Pixel file format
  @param {number} x0 - starting point in canvas
  @param {number} y0
  @param {number} width
  @param {number} height
  @param {HTMLContext} c