Giter Site home page Giter Site logo

true-tool's Introduction

真正的CG包去重壓縮工具

真正的CG包去重壓縮工具——沒錯這個就是名字,好像名字越來越長了。
不如簡稱叫「真具」之類的吧……似乎是因爲VB,在東西前面加上「真」就會變得很厲害……

收集來的CG包總有一些差分圖片,會大量佔用貧窮者的硬盤空間。

如果轉成JPEG會損失質量,全部打成一個7z包要看的時候又添麻煩,於是就做了這樣一個發明。

工作方式

我們通過判斷圖片之間的相似度,將一張圖片的不同差分打在一個壓縮包裏,並留下一張預覽圖片,可以有效地解決這個問題。

原本的CG包,出自魔女こいにっき

處理後的文件結構

打開壓縮包來查看其中的差分

使用方式

python 真具.py "CG包的位置"

或者

python 真具.py "CG包的位置" "輸出位置"

如果你用的是release版就把python換成嵌入的「python37/python.exe」。
(還有這種*作???)

參考數據

以《魔女こいにっき》測試。

  • 原始bmp檔大小: 1.08G
  • 7Z極致壓縮一個大包: 110M
  • 100質量JPEG: 241M
  • 真正的CG包去重壓縮工具: 116M

真正的CG包去重壓縮工具真是太棒了!

true-tool's People

Contributors

rimochan avatar

Stargazers

 avatar MoeCG avatar 15x15 avatar Naccl Lu avatar lz已经是条咸鱼了 avatar 小沙盒工作室-室长 avatar  avatar 伊欧 avatar yuna0x0 (edisonlee55) avatar yisal avatar  avatar k1mlka avatar  avatar  avatar  avatar suaannihilant avatar  avatar  avatar Jerry Shen avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

cdh233 3vfxvc

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.