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