Document Information Technologies

sugarcubeIT solutions — IT Consulting ∙ IT Development ∙ IT Provider

ePub Replica

  • PDF to ePub Fixed Layout conversion
  • 100% IDPF ePub3 compliant
  • HTML5, CSS, Javascript, SVG
  • free for non-commercial private use

ePub LiQuid

  • PDF to reflowing ePub conversion
  • 100% IDPF ePub3 compliant
  • HTML5, CSS, Javascript, SVG
  • free for non-commercial private use

Prism eReader

  • ePub Replica & Liquid online reader
  • HTML5, CSS, Javascript
  • free of charge

eBook Cloud –

Convert your PDF files into ePub3 eBooks with sugarcube’s eBook Cloud

Electronic Document Experts – Extraction/Conversion/Analysis

PDF Data Process

  • data indexing and tagging
  • data analysis and understanding
  • data extraction and import
  • image analysis and OCR

PDF Data Export

  • export data to XML, HTML, ePub, Word, etc.
  • export data to online/offline databases
  • feed online/offline management systems
  • merge/edit PDF data back to PDF files

Have a try at our demo Dockers

Contact Us

Sugarcube Information Technology Sàrl
Passage Cardinal 1
1700 Fribourg

Vote Results Table Detection

The automatic extraction of vote results from tables is no more a burden thanks to SugarcubeIT table detection tools. Using Insight, our OCD end user interface, we dynamically restructured thousands of tabular data into Excel spreadsheets.

Legal Ad Detection

Using OCD as a pivot format SugarcubeIT implemented a dedicated tool able to detect legal advertisement from PDF documents.
Below image shows ruler detection with green dashed lines while advertisement detection is highlighted thanks to straight oblique colored lines.

From Hard Paper to OCD

Sugarcube handles data coming from scanned documents through its OCD (Open Canvas Document) file format. Here is our receipt how to batch convert scanned document to our proprietary OCD standard.


  • Batch convert tif images to vector content (OCD files)
  • OCD is a file format which keeps the vector graphics capacity of PDF files while greatly simplifying its internal representation (using XML).
  • OCD is a powerful format we use as a base for further high-level processing and/or format conversion :
    • PDF – either pure vector graphics, or image-based with a transparent text layer
    • ePub – the standard format for ebook publishing, ePub3 can represent both fixed layout content and reflowing content (liquid layout).
    • XML – the defacto standard for text based data exchange


  • 283’917 tif images , scanned pages from “Recueil des lois fédérales” from 1947 to 1998 (German and French)
  • a total amount of 3,24 TB
  • image resolution : 300 dpi in 24-bits rgb
  • below, a preprocessed bitmap (with paper background removal) image followed by its output OCD counterpart



  • Fedlex OCD generation is completely automated in order to batch process the whole tif repository  (each document is archived in a folder, i.e., a repository sub-folder).
  • The tool first copy & paste tif images from a single document to a OmniPage DocuDirect hotfolder.
  • OmniPage dynamically processes each tif image and generates an OCR output file per image (see below sample).
  • Fedlex detects OmniPage end of job and converts OCR files to OCD (see below sample).
  • The system iterates until all tif folders have been processed.