Sign inSign up

bitnsc/webkit2png

By bitnsc

Updated over 10 years ago

A small app that convert url to png files

Image
2

3.5K

bitnsc/webkit2png repository overview

README

url2png.php
  • 参数:(JSON格式)

"url":需要截图的网页链接 "screenwidth":显示网页的窗口宽度 "screenheight":窗口高度 "scalewidth":图片的宽度 "scaleheight":图片的高度 "aspactratio":长宽比,choices=["ignore", "keep", "expand", "crop"]

{"data": { "url":"http://linux.cn", "screenwidth":"600", "screenheight":"0", "scalewidth":"600", "scaleheight":"400", "aspactratio":"expand" } }

  • 返回结果:(JSON格式) "pngid":图片文件的ID { "pngid":"14512352134521aADFsfFw" }
download.php
  • 参数:(JSON格式) "pngid":图片文件的ID { "pngid":"14512352134521aADFsfFw" }
What is this repository for?
How do I get set up?
  • Summary of set up
  • Configuration
  • Dependencies
  • Database configuration
  • How to run tests
  • Deployment instructions
Contribution guidelines
  • Writing tests
  • Code review
  • Other guidelines
Who do I talk to?
  • Repo owner or admin
  • Other community or team contact

Tag summary

Content type

Image

Digest

Size

302.9 MB

Last updated

over 10 years ago

docker pull bitnsc/webkit2png