Tag:density
-
Time:2020-12-21
1、 Code and effect drawing 1. Package Case: Requirement DescriptionUsing encapsulation to realize penguin‘s correct input health value and intimacy of electronic pet systemEnsure the validity of health value (0-100), otherwise take the default value of 60Otherwise, the value of intimacy is taken as 100-60The code is as follows (example) package work1; package work1; package […]
-
Time:2020-12-10
Paper with factor A Paper links: https://arxiv.org/pdf/1708.05… Year: 2017 Authors: Shifeng Zhang et al Author’s unit: Institute of automation, Chinese Academy of Sciences, etc The official account number CVpython is released simultaneously. 1. What problems should the paper solve? In order to maintain high precision, it is necessary to achieve real-time on CPU? It’s a […]
-
Time:2020-10-27
wx.canvasToTempFilePath As we all know, wechat canvas needs to call this interface to generate images. If this interface wants to generate high-definition images, it needs to solve the problem of font blurdestWidth * dpr。 The width and height of the original canvas is too largedestWidth * dprThe width and height of destwidth will be too […]
-
Time:2020-5-3
It’s a shame that the front end who has been working for so many years doesn’t know the srcset and size attributes of img. <img srcset=”middle.jpg 800w, big.jpg 1400w, small.jpg 1x” /> The srcset attribute of the IMG element is used by the browser according to the width(w), high(h)And pixel density(x)To load the corresponding image […]