~ubuntu-branches/debian/squeeze/camlimages/squeeze

« back to all changes in this revision

Viewing changes to tiff/oTiff.ml

  • Committer: Bazaar Package Importer
  • Author(s): Sylvain Le Gall, Ralf Treinen, Sylvain Le Gall
  • Date: 2009-03-05 00:19:32 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20090305001932-f0hstlmun8hxvs0r
Tags: 1:3.0.1-1
[ Ralf Treinen ]
* Updated debian/watch.

[ Sylvain Le Gall ]
* New upstream version:
  * Remove useless patches
  * Adapt debian/rules and other debhelper files
  * Add debian/patches/fix_3_0_1 to fix various problem (probably due to
    OCaml 3.11 migration)
* Depends on version 2.12 of lablgtk2
* Add dh-ocaml build-dependency (rules/ocaml.mk)
* Add ${misc:Depends} to dependencies
* Update Homepage field into debian/control and debian/copyright
* Add license version for debian packaging
* Directly use eng.html rather than creating a linked index.html file

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
(***********************************************************************)
2
 
(*                                                                     *)
3
 
(*                           Objective Caml                            *)
4
 
(*                                                                     *)
5
 
(*            Jun Furuse, projet Cristal, INRIA Rocquencourt           *)
6
 
(*                                                                     *)
7
 
(*  Copyright 1999-2004,                                               *)
8
 
(*  Institut National de Recherche en Informatique et en Automatique.  *)
9
 
(*  Distributed only by permission.                                    *)
10
 
(*                                                                     *)
11
 
(***********************************************************************)
12
 
 
13
 
(* $Id: oTiff.ml,v 1.7 2004/09/07 07:31:07 weis Exp $ *)
14
 
 
15
 
open OImages;;
16
 
 
17
 
let load name opts = OImages.make (Tiff.load name opts);;
18
 
 
19
 
let save name opts image =
20
 
  let rgb24 = OImages.rgb24 image in
21
 
  Tiff.save name opts rgb24#image;;