Re: Akua Sweets
Re: Akua Sweets
- Subject: Re: Akua Sweets
- From: Helmut Fuchs <email@hidden>
- Date: Wed, 1 Aug 2007 16:02:49 +0200
If you don't mind using the shell you could use "mdls" to get at the
metadata collected for Spotlight.
This includes most of this information you ask for, but the
compression level is not part of this metadata.
I haven't tried whether "mdls" just returns if alpha channels exist
or not, but there is an attribute for it.
This is a sample output of "mdls" for a JPEG file:
kMDItemAttributeChangeDate = 2005-05-13 01:23:36 +0200
kMDItemBitsPerSample = 32
kMDItemColorSpace = "RGB"
kMDItemContentCreationDate = 2003-04-04 20:33:26 +0200
kMDItemContentModificationDate = 2003-04-04 20:33:26 +0200
kMDItemContentType = "public.jpeg"
kMDItemContentTypeTree = ("public.jpeg", "public.image",
"public.data", "public.item", "public.content")
kMDItemDisplayName = "0,1020,255663,00.jpg"
kMDItemFSContentChangeDate = 2003-04-04 20:33:26 +0200
kMDItemFSCreationDate = 2003-04-04 20:33:26 +0200
kMDItemFSCreatorCode = 0
kMDItemFSFinderFlags = 0
kMDItemFSInvisible = 0
kMDItemFSIsExtensionHidden = 0
kMDItemFSLabel = 0
kMDItemFSName = "0,1020,255663,00.jpg"
kMDItemFSNodeCount = 0
kMDItemFSOwnerGroupID = 20
kMDItemFSOwnerUserID = 501
kMDItemFSSize = 34890
kMDItemFSTypeCode = 0
kMDItemHasAlphaChannel = 0
kMDItemID = 189700
kMDItemKind = "JPEG-Bild"
kMDItemLastUsedDate = 2003-04-04 20:33:26 +0200
kMDItemPixelHeight = 420
kMDItemPixelWidth = 317
kMDItemProfileName = "sRGB IEC61966-2.1"
kMDItemResolutionHeightDPI = 72
kMDItemResolutionWidthDPI = 72
kMDItemUsedDates = (2003-04-04 20:33:26 +0200)
Using this is most likely faster than using Photoshop, but the latter
is definitely simpler to use.
Regards,
Helmut
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden