revealer:声明图像中的隐藏像素以将其显示出来

时间:2021-05-21 22:42:26
【文件属性】:
文件名称:revealer:声明图像中的隐藏像素以将其显示出来
文件大小:278KB
文件格式:ZIP
更新时间:2021-05-21 22:42:26
JavaScript 图片展示者 TweetFile格式 for a 640x480 image = 307200 pixels 307200 * (560 bytes in a tweet + 60 bytes in a username + 8 bytes in tweet id) = 192,921,600 bytes = 193 megabytes total storage required 当页面崩溃时,我们不需要加载所有数据,因为用户无法点击每条推文。 我们需要一个可按像素寻址的文件,以便用户可以通过有意单击特定像素来查看关联的推文。 文件格式: 每个628字节的块包含 一条推文的560字节UTF-8文本,用零填充 用户名的60字节UTF-8文本 8字节的无符号整数,适用于tweet ID 可从索引0的左上像素(0,0)进行寻址。索引639的右上像素(639,0)。在索引306
【文件预览】:
revealer-master
----tweetfile()
--------TweetFile.js(13KB)
--------TweetFileUtils.js(993B)
----.jshintrc(669B)
----public()
--------favicon.ico(318B)
--------stylesheets()
--------javascripts()
----views()
--------index.ejs(569B)
--------error.ejs(83B)
----images()
--------mask.png(5KB)
--------pizzakid.png(213KB)
----app.js(3KB)
----test()
--------TestImageWriting.js(3KB)
--------TestTweetFile.js(9KB)
--------index.js(58B)
----.gitignore(139B)
----readme.md(2KB)
----bin()
--------www(83B)
----routes()
--------pixel.js(2KB)
--------users.js(203B)
--------index.js(239B)
----package.json(516B)

网友评论