![]() Set w to do shell script "sips -g pixelWidth /Users/danielbeck/Pictures/238337225.png | tail -n1 | cut -d' ' -f4"ĭisplay alert "Height: " & (h as text) & "Īlternatively, you can read the Spotlight metadata: mdls Pictures/238337225.png | grep kMDItemPixel Set h to do shell script "sips -g pixelHeight /Users/danielbeck/Pictures/238337225.png | tail -n1 | cut -d' ' -f4" $ sips -g pixelHeight Pictures/238337225.png | tail -n1 | cut -d" " -f4 $ sips -g pixelHeight Pictures/238337225.png In Terminal, you can use the following: $ sips -g pixelWidth Pictures/238337225.png
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |