-
Archives
- March 2024
- July 2023
- January 2023
- August 2022
- January 2022
- September 2021
- July 2021
- June 2021
- October 2020
- October 2019
- September 2019
- January 2017
- March 2016
- December 2014
- September 2013
- August 2013
- June 2013
- July 2012
- December 2011
- March 2011
- December 2010
- November 2010
- August 2010
- April 2010
- March 2010
- February 2010
- January 2010
- October 2009
- July 2009
- June 2009
- April 2009
- March 2009
- January 2009
- November 2008
- October 2008
- September 2008
- July 2008
- June 2008
- April 2008
- March 2008
-
Meta
Tag Archives: Ocaml
PDF Command Line Tools 1.1
I’ve just uploaded the new version of our tools for merging, splitting, annotating, encrypting and stamping PDF files here. New features: -blacklines and -blackfills (Blacken lines and fills) -idir (Add whole directory of files) -scale-to-fit (Scale pages to fit a given … Continue reading
Storing Colours in 31 bits (Part 2)
Jean-Baptiste Rouquier rose to the challenge in my last post: to provide a fast way of storing premultiplied colours in OCaml’s 31bit integers (see his post here). With his kind permission, I’ve included this code (somewhat optimized) in the Colour … Continue reading
A Simple Parser with Genlex
(If you’re reading this via the OCaml planet, click the post title to see it with proper formatting – I shall fix this problem for the next post, I hope.) When calling our command line PDF Tools to, for instance, … Continue reading
Storing Colours in 31 bits (Part One)
For rendering vector graphics scenes, colours are usually stored with what we call “premultiplied” or “associated” alpha. For instance, opaque dark red is stored as: 0.5, 0, 0, 0.5 (R * A, G * A, B * A, A) instead … Continue reading
A Proper GUI for OCaml (Part Two)
I’ve packaged up the basic libraries described last time and you can get them here, together with a little example. It should work on any platform / toolchain where OCaml and Python and WxPython can be installed. It allows you … Continue reading
A Proper GUI for OCaml (Part One)
Some time ago, I wrote a GUI for a large OCaml project in C++ using WxWidgets, linked to OCaml in a single executable. It was hard and slow to write and crashed all over the place. So I’ve redone it … Continue reading
CamlPDF 0.3 Released
I’ve just uploaded a new version of our library for reading and writing PDF files from within Ocaml – CamlPDF. New features: CCITTFaxDecode support Fully re-entrant Parsing of Type 3 fonts Bit-by-bit operations (e.g some decoders) much faster and of … Continue reading