Coder Social home page Coder Social logo

easyofd's Introduction

easyofd

关于这个库:

鉴于目前python解析ofd没有啥好用的库所以决定自己整一个。

已实现功能 :

1 解析ofd

2 ofd转pdf 转图片

3 pdf转ofd 转图片 -暂不使用电子解析版本

4 jpg2ofd jpg2pfd

5 添加gui 工具实现上述功能

关于 jb2格式图片解析 使用了第三方库 jbig2dec 去读取jb2格式图片 参考下面链接安装使用jbig2dec https://github.com/rillian/jbig2dec

参考文档实现

项目链接: https://github.com/renoyuan/easyofd

安装

pip install easyofd

使用

参考 test\demo.py 文件 目前所有功能在这个里面都有体现

ps:

0 代码使用有问题,可以先看 test\demo.py 文件

1 对于使用有任何疑问,欢迎提各种Issue.

2 目前ofd 文件使用尚未普及,作者接触的文件也不多,遇到无法解析的文件,可以发我邮箱([email protected]),有时间会去优化版本.

3 本库对你有所帮助可以star 支持一下作者,或者fork。

版本规划:

因为ofd本质上就是国产的pdf所以对于pdf的解析也会考虑单独封装一个模块,这块还要考虑一下。

easyofd's People

Contributors

renoyuan 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.