【文件属性】:
文件名称:wklua:LuaJIT 的 wkhtmltopdf ffi 包装器
文件大小:8KB
文件格式:ZIP
更新时间:2021-05-30 19:53:12
Lua
万科
LuaJIT 的 wkhtmltopdf ffi 包装器。 将任何网站保存为 PDF、图像或 SVG 文件。
要求
LuaJIT 2.0.0+
安装
下载此存储库。
wkhtmltopdf 库并放在同一个文件夹中。
用法
local wklua = require ( " wklua " ). create ( true ) -- Use true to enable default callbacks
-- Optional settings
wklua. settings = {
-- Web page specific settings
web = {
background = " " , -- Should we print the background? Must be either "true" or "false".
loadImages =
【文件预览】:
wklua-master
----LICENSE(1KB)
----wklua.lua(11KB)
----samples()
--------pdf.moon(198B)
--------image.lua(205B)
--------pdf.lua(245B)
--------image.moon(167B)
----README.md(10KB)