image events bug in Tiger

Just spotted a bug in the Tiger version of image events.
Image events does not recognise a grayscale image color space
set this_file to choose file
tell application “Image Events”
– open the image file
set this_image to open this_file
– extract the properties record
set the image_props to the properties of this_image
– purge the open image data
set x to the color space of image_props
–close this_image
end tell
on error error_message
display dialog error_message
end try
point this at a greyscale image and you will get a return of “missing value”

Send feedback