A while ago, I was try to make a command to add height and width information to turn a selected word " LBC0001A-1.tif " into code like:
<img src="LBC0001A-1.tif" height="800"/>
"sips", a built in command line tool seems to provide the required facilities, if anyone is interested in making such a command.
sips -g all /Users/tim/Sites/favicon.png pixelWidth: 16 pixelHeight: 16 typeIdentifier: public.png format: png formatOptions: default dpiWidth: 95.987 dpiHeight: 95.987 samplesPerPixel: 4 bitsPerSample: 8 hasAlpha: yes space: RGB
Can also resample and rotate images, etc.
tim