image::get_file_info_array (public)

 image::get_file_info_array [ -filename filename ] \
    [ -array_name array_name ]

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

Get info about an image file, dimensions, mime_type into an array in the caller's namespace.

Switches:
-filename
(optional)
Full path to file in the filesystem
-array_name
(optional)
Array in caller's namespace to populate
Returns:
List of width height mime_type in array get format
Author:
Dave Bauer
Created:
2006-08-27
See Also:

Partial Call Graph (max 5 caller/called nodes):
%3 image::get_file_info image::get_file_info (public) image::get_file_info_array image::get_file_info_array image::get_file_info_array->image::get_file_info

Testcases:
No testcase defined.
Source code:
    upvar $array_name local_array
    lassign [image::get_file_info -filename $filename]  local_array(width) local_array(height) local_array(mime_type)
XQL Not present:
PostgreSQL, Oracle
Generic XQL file:
packages/acs-content-repository/tcl/image-procs.xql

[ hide source ] | [ make this the default ]
Show another procedure: