Giter Club home page Giter Club logo

Comments (8)

Mapaler avatar Mapaler commented on May 27, 2024

因为我是获取的动图原始文件,如果是上传的透明png,这里获取到的就是可以透明的png。你获取到jpg说明作者传的就是jpg。

from pixivuserbatchdownload.

OHLIA avatar OHLIA commented on May 27, 2024

那看来要自己合成回去。。。

from pixivuserbatchdownload.

Mapaler avatar Mapaler commented on May 27, 2024

你以为P站网站上是真的动图格式吗?其实P站网站查看动图是下载的一个包含一堆jpg的压缩包,解压后由程序一张一张画到网页上,也不是单个动图文件的。

from pixivuserbatchdownload.

OHLIA avatar OHLIA commented on May 27, 2024

受教了,之前一直以为是gif

from pixivuserbatchdownload.

Mapaler avatar Mapaler commented on May 27, 2024

而且那个压缩包里是已经二压的图片,传的透明png也会变成jpg,而我程序会获取到原始透明png图片,你可以转成apng。

from pixivuserbatchdownload.

Mapaler avatar Mapaler commented on May 27, 2024

P站可以传单个gif文件的,这样就是图像自己本身动,不用程序来画。下载下来也是单个gif。但是gif限定只有256色,看图全是马赛克或者色块,所以现在画师都不怎么用它了。

from pixivuserbatchdownload.

lgq1349422030 avatar lgq1349422030 commented on May 27, 2024

疑惑,我通过这个方法

image

得到的居然是png图片,而用插件和仙尊下载的都是jpg?

from pixivuserbatchdownload.

Mapaler avatar Mapaler commented on May 27, 2024

@lgq1349422030 之前理解错了,你是说另存为的图片是png吧?
那是个cavans,HTML5的画布,p站按时间顺序把zip里的jpg一张张画到这个画布上形成了动画。
对于浏览器来说那已经是一张新画的图片了,不是原来的jpg了,所以保存出来的是当时那个瞬间的无损png格式。

from pixivuserbatchdownload.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.