image::get_info (public)

 image::get_info -filename filename -array array

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

Get the width and height of an image file. The width and height are returned as 'height' and 'width' entries in the array named in the parameter. Uses ImageMagick instead of AOLserver function because it can handle more than just gifs and jpegs. The plan is to add the ability to get more details later. This proc duplicates and seems somehow superseded by image::imagemagick_identify, it might be a good idea to deprecate it in the future. One important difference is this proc won't fail in case of error.

Switches:
-filename (required)
Name of the image file in the filesystem.
-array (required)
Name of an array where you want the information returned.
See Also:

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

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