File: cpdfjpeg.mli

package info (click to toggle)
cpdf 2.9-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 7,140 kB
  • sloc: ml: 35,825; makefile: 66; sh: 49
file content (7 lines) | stat: -rw-r--r-- 282 bytes parent folder | download
1
2
3
4
5
6
7
(** JPEG Utilities *)

(** Return the width and height of a JPEG *)
val jpeg_dimensions : Pdfio.bytes -> int * int

(** Backup version, calls out to magick. This is because ours can't do progressive JPEG yet. *)
val backup_jpeg_dimensions : path_to_im:string -> string -> int * int