html.getJpegHeightWidth
| Syntax |
html.getJpegHeightWidth (f)
|
| Params |
f is the path to a JPEG file. In Frontier 6.1 and greater, f can be the address of a JPEG object.
|
| Action |
Determines the height and width of the specified JPEG image in pixels
|
| Returns |
The height and width of the specified JPEG image in pixels as a list, height first, then width.
|
| Examples |
html.getJpegHeightWidth ("Macintosh HD:Frontier:Websites:samples:images:wozJobs.jpg") //file » {330, 500}
html.getJpegHeightWidth (@websites.samples.["#images"].wozJobs) //address
|
| Notes |
In Frontier 6.1, this verb was made to work like html.getGifHeightWidth, in that it can take object database addresses as well as file paths. When an address is specified, the JPEG is written to disk in the Guest Databases/ops/Temporary Items/ folder, then deleted once the height and width are determined.
|
| See Also |
html.getGifHeightWidth
|