image::imagemagick_file_dimensions (public)
image::imagemagick_file_dimensions [ -filename filename ]
Defined in packages/acs-content-repository/tcl/image-procs.tcl
Get the dimensions of an image from imagemagick
- Switches:
- -filename (optional)
- Full path to an image file in the filesystem
- Author:
- Dave Bauer <dave@solutiongrove.com>
- Created:
- 2006-08-27
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
Source code: set geometry [exec [image::identify_binary] -size %w $filename] set width "" set height "" regexp {(\d+)x(\d+)} $geometry x width height return [list $width $height]XQL Not present: PostgreSQL, Oracle Generic XQL file: packages/acs-content-repository/tcl/image-procs.xql