Home
The Toolkit for Online Communities
15896 Community Members, 1 member online, 2223 visitors today
Log In Register

image-procs.tcl

OpenACS Home : ACS API Browser : ACS Tcl 5.5.1 : image-procs.tcl
Publicity:
[Public Only | All]

image-procs.tcl

Procedures to manage image files.
Location:
packages/acs-tcl/tcl/image-procs.tcl
Author:
Lars Pind <lars@collaboraid.biz>
CVS Identification:
$Id: image-procs.tcl,v 1.1 2003/10/29 18:14:01 lars Exp $

Procedures in this file

Detailed information

image::get_info (public)

image::get_info -filename filename -array array
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.

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