Maybe writing a script will help me.
You are challenging me 🙂
Try the following script (but not on your main Aperture Library):
Open AppleScript Editor and paste it in; then select some images in Aperture and press the run button.
The script creates a custom field "NumberOfPixels" and writes the product of width and height to this field (for each of the selected images).
Can you go from here on your own? If not, post back.
Cheers
Léonie
tell application "Aperture"
set imageSel to (get selection)
if imageSel is {} then
error "Please select an image."
else
repeat with i from 1 to count of imageSel
tell item i of imageSel
set w to value of EXIF tag "PixelWidth"
set h to value of EXIF tag "PixelHeight"
set numPixels to (round (w * h)) as string
makenewcustom tagwith properties {name:"NumberOfPixels", value:numPixels}
end tell
end repeat
end if
end tell