- 博客(8)
- 收藏
- 关注
转载 PDF转图片,在线PDF转JPG/PNG
[在线DEMO](https://oktools.net/pdf2img)原理使用pdf.js预览图片,pdf.js将pdf通过canvas将每一页渲染出来,然后我们通过canvas的toDataURL方法保存为jpg或png格式。pdf.js是Mozilla开源的一个js库,无需任何本地支持就可以在浏览器上显示pdf文档。唯一的要求就是浏览器必须支持HTML5。依赖需要pdf...
2019-08-30 10:04:00 196
转载 21个CSS3 / JS 时钟
收集了21个酷炫的CSS / JS实现的时钟效果https://oktools.net/clocks预览 :https://clocks.oktools.net/0/源码 :https://codepen.io/amirrezajef/pen/NEoJKd预览 :https://clocks.oktools.net/1/源码 :https://codepen.io/jkant...
2019-08-26 11:21:00 76
转载 在线JSON转Go 结构体,在线JSON转Go Struct
在线转换https://oktools.net/json2go转载于:https://www.cnblogs.com/vivec/p/11382907.html
2019-08-20 14:56:00 1402
转载 在线进制转换 二进制转十进制 十进制转二进制
function convert(num) { let type = parseInt(document.getElementById('select_type').value); let decimal = num | parseInt(document.getElementById('input_number').value, type...
2019-08-20 14:42:00 180
转载 JS Unicode转中文,中文转Unicode,ASCII转Unicode,Unicode转ASCII
在线转换工具https://oktools.net/unicodeUnicode转中文 function decodeUnicode(str) { return unescape(str.replace(/\\u/gi, '%u')) }中文转Unicode function encodeUnicode(str...
2019-08-05 08:36:00 87
转载 常用正则表达式
在线正则测试:https://oktools.net/regex邮箱gaozihang-001@gmail.com 只允许英文字母、数字、下划线、英文句号、以及中划线组成^[a-zA-Z0-9_-]+@[a-zA-Z0-9_-]+(\.[a-zA-Z0-9_-]+)+$高子航001Abc@bowbee.com.cn 名称允许汉字、字母、数字,域名只允许英文...
2019-08-05 08:30:00 262
转载 在线图片base64编码
图片Base64编码https://oktools.net/image2base64在线工具https://oktools.netJSON格式化https://oktools.net/jsonUnix时间戳https://oktools.net/timestampBase64编码https://oktools.net/base...
2019-08-01 11:07:00 240
转载 JSON在线格式化 jsoneditor使用
const placeholder = { string: 'hello world!', boolean: true, color: '#6c928c', number: 123, null: null, array: [1, 2, 3], o...
2019-07-31 14:03:00 1294
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人