ffx0s

ffx0s

V2EX member #98608, joined on 2015-02-18 20:24:18 +08:00
Per ffx0s's settings, the topics list is hidden
Deals info, including closed deals, is not hidden
ffx0s's recent replies
Aug 7, 2017
Replied to a topic by AInoob 程序员 为什么重写的界面这么难看。。。
用纯色试试 五颜六色 不知道哪里才是重点
看了下 貌似是后端 JSONP 给加密过的字符串数据到前端,前端通过解密后,还原成一个 JSON。里面的内容就是绘制 SVG 所需要的数据。
May 20, 2017
Replied to a topic by Andor_Chen Python 送几本《流畅的 Python 》
万一中了呢
Mar 21, 2017
Replied to a topic by ffx0s JavaScript javascript 如何修改图片的 dpi
@otakustay 感谢,显示是没问题。但是需要把图片下载然后打印出来。 dpi 太小,打印出来会模糊。通过其他工具把 dpi 调高了在打印就清晰了。。
Mar 21, 2017
Replied to a topic by ffx0s JavaScript javascript 如何修改图片的 dpi
@otakustay 官方文档说: The HTMLCanvasElement.toDataURL() method returns a data URI containing a representation of the image in the format specified by the type parameter (defaults to PNG). The returned image is in a resolution of 96 dpi.
就是无论 canvas 多大,下载的图片 dpi 都是 96
Mar 21, 2017
Replied to a topic by ffx0s JavaScript javascript 如何修改图片的 dpi
@otakustay 在手机端 width*height 超过 16777216 就不行了。。
@MMxiao @shpasspass 感谢,已经解决了。在 stackoverflow 上找到了答案,参考了他们的做法实现了, http://stackoverflow.com/questions/2916081/zoom-in-on-a-point-using-scale-and-translate
@binux 我觉得要是公司要是有诚意的话应该会打个电话来问问情况吧。
@lanbing 好的,谢谢你!
好 6 的算法~
About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   6010 Online   Highest 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 11ms · UTC 03:19 · PVG 11:19 · LAX 20:19 · JFK 23:19
♥ Do have faith in what you're doing.