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):
%3 image::get_file_dimensions image::get_file_dimensions (public) image::imagemagick_file_dimensions image::imagemagick_file_dimensions image::get_file_dimensions->image::imagemagick_file_dimensions image::identify_binary image::identify_binary (public) image::imagemagick_file_dimensions->image::identify_binary

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

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