Code Monkey home page Code Monkey logo

c44-freeimage's Introduction

c44-fi - is a crossplatform

  • c44 - is one of several DJVU encoders from opensource DjVuLibre project
  • fi_c44 - is a fork of c44 made by monday2000. "fi_" stands for FreeImage - the library that allows to perform operations with images in most popular formats. Original c44 could read only images in PNM/PBM/PGM or JPEG. With help of FreeImage fi_c44 can read images in PNG or TIFF, etc. fi_44 is used in DjVu Imager tool written by monday2000.
  • c44-fi - is a renamed version of fi_c44, adapted for Linux.

Unfortunately, although c44 was crossplatform, the fi_44 was designed for Windows only. Some windows-specific code was used in it and it lacks of build tools.

I've decided to adapt it a little to make more crossplatform:

  • The Windows specific code was replaced.
  • Some project files were added to make it a standalone CMake project.
  • The original c44.cpp file was updated with an up-to-date copy to be able to compile with latest DjVuLibre.
  • The project is renamed to avoid "_" character usage in package names. Also I hope it'll be easy to remember.

Now encoder could be build for Linux. I've also ported DjVu Imager tool to Qt to build it natively for Linux. DjVu Imager Qt is using c44-fi.

Build

  1. Clone the project with djvulibre as a submodule (note --recursive parameter):
      git clone --recursive https://github.com/trufanov-nok/c44-freeimage.git
      cd c44-freeimage
  1. Install the dependencies: sudo apt-get install libfreeimage-dev
  2. Build the project:
      mkdir build
      cd build
      cmake ..
      make
  1. To test - run ./c44-fi from the build subfolder

c44-freeimage's People

Contributors

trufanov-nok avatar

Stargazers

 avatar  avatar

Watchers

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