Hi,
on apples “scriptable application” website there is the following script:
set this_file to choose file
try
tell application “Image Events”
launch
– open the image file
set this_image to open this_file
– extract the property value
copy the resolution of this_image to {xres, yres}
– purge the open image data
close this_image
end tell
display dialog "Resolution: " & (xres as string)
on error error_message
display dialog error_message
end try
I asked myself if the part with the image resolution is reversible.
like “set image resolution to {xres,yres}”
Are there any other ways to change the resolution of an image?
Thanks in advance
greetings
nils