GithubHelp home page GithubHelp logo

hhr346 / bmpfile Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 58 KB

Use Python to handle the reading and writing of .bmp file to get hang of the storage of bmp. 用python处理lena图,来对bmp的存储格式深入了解。

Python 100.00%

bmpfile's Introduction

BMP文件处理

参考链接

BMP文件格式详解(BMP file format)_mjiansun的博客-CSDN博客

Python读取并解析 bmp 文件_python 解析bmp文件_rocketeerLi的博客-CSDN博客

BMP 文件处理(C 语言实现) | 李明岳的硬核技术日志 (scarboroughcoral.github.io)

运行

运行main.py即可,读取步骤在ReadBMPFile.py里,具体对lena的分量进行处理后输出的步骤在ModifyBMPFile.py里可以进行更改。

值得注意的是,bmp的内部存储格式也很多,参考链接里的读取方式并不适用于所有类型。

bmpfile's People

Contributors

hhr346 avatar

Watchers

 avatar

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.