image::get_file_dimensions (public)

 image::get_file_dimensions [ -filename filename ] \
    [ -mime_type mime_type ]

Defined in packages/acs-content-repository/tcl/image-procs.tcl

Get the width and height of an image from a file in the filesystem. This tries first to use built-in ns_*-support, and if not available, if talls back to imagemagick. We use imagemagick first since it supports many more image formats.

Switches:
-filename (optional)
full path to file in the filesystem
-mime_type (optional)
Returns:
Returns a list of width and height
Author:
Dave Bauer <dave@solutiongrove.com>
Created:
2006-08-28

Partial Call Graph (max 5 caller/called nodes):
%3 image::new image::new (public) image::get_file_dimensions image::get_file_dimensions image::new->image::get_file_dimensions image::imagemagick_file_dimensions image::imagemagick_file_dimensions (public) image::get_file_dimensions->image::imagemagick_file_dimensions image::ns_size image::ns_size (public) image::get_file_dimensions->image::ns_size

Testcases:
No testcase defined.
[ show source ]
Show another procedure: