/capture-example

Primary LanguageJavaScriptMIT LicenseMIT

capture 使用实例

部署在 阿里云
访问地址: http://node.sunshine1990.com/image-capture

参数

  • url: 需要 encodeURIComponent
  • width: 指定宽度,默认 IPhone 6宽度
  • height: 指定高度,默认 IPhone 6高度
  • deviceScaleFactor: 设备像素比,默认 IPhone 6像素比
  • fileName: 文件名称
  • encoding: 图片编码方式