Giter Site home page Giter Site logo

libora's Introduction

libora is meant to be a reference library to help implementation of the
OpenRaster file format: http://openraster.org

Status: Immature, under development
License: Simplified BSD (2 clause)

== CONTACT ==
[email protected]

== INSTALLING ==
libora uses the cmake build system. To install:

cmake -DCMAKE_INSTALL_PREFIX:PATH=/installation/path .
make
make install

== TODO ==
 - Provide pkg-config files for the library
 - Don't put a white background on rendered images
 - Add ability to open a FILE*, file descriptor and/or memory buffer
 - Add "stack" API for going backwards through the layers
 - Allow one to get layer information (like opacity, position) without reading out the layer data
 - Support incremental rendering of the full-document image
 - Provide a ora2png binary that allows one to convert OpenRaster files to PNG

Proposed style/correctness/best-practices fixes
 - Get rid of _ prefixed symbols, they are reserved for C implementations
 - Use enums for enumerated values (ex: ORA_FORMAT_*)
 - Don't typedef standard types, it typically gives no benefit
 - Use a distinct naming convention for types, it increases readability. Suggestion: CamelCasedType
 - Don't typedef things to void*, it reduces type safety (ex: ORA)
 - Put external code outside the main source directory (ex: oratool, zip, parser generator). Rename src to libora?
 - Don't use a nested directory structure when there only a few files in each dir
 - Consolidate the different ora_document* types, the duplication is error prone
 - Don't use positional arguments for individial data where the amount of data might change (ex: ora_layer_write())
 - Get rid of the ORA_FILE_READ_NO_STACK, just read the stack on-demand when neccesary (and preferably only the parts neccesary)

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.