pa_image_width_height (public)

 pa_image_width_height filename width_var height_var

Defined in packages/photo-album/tcl/photo-album-procs.tcl

Uses ImageMagick program to get the width and height in pixels of filename. Sets height to the variable named in height_var in the calling level. Sets width_var to the variable named in width_var in the calling level. I Use ImageMagick instead of AOLserver function because it can handle more than just gifs and jpegs.

Parameters:
filename (required)
width_var (required)
height_var (required)

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