(***********************************************************************)
(*                                                                     *)
(*                           Objective Caml                            *)
(*                                                                     *)
(*            Jun Furuse, projet Cristal, INRIA Rocquencourt           *)
(*                                                                     *)
(*  Copyright 1999,2000,2001,2002,2001,2002                            *)
(*  Institut National de Recherche en Informatique et en Automatique.  *)
(*  Distributed only by permission.                                    *)
(*                                                                     *)
(***********************************************************************)
open OImage

let load_as_rgb24 name opts =
  OImage.make (Png.load_as_rgb24 name opts)
;;

let load name opts =
  OImage.make (Png.load name opts)
;;

let save name opts image = Png.save name opts image#image
;;
