|
ns_pngsize Returns the width and height of a png file
package require nstcl-images ?1.0?
package require nstcl ?1.0?::nstcl::ns_pngsize file
Returns a list made up of the width and height of the PNG file.
This code is from the Tcl'ers Wiki. See: http://wiki.tcl.tk/759.html
images, nstcl