Well, they did it to stop people using jpeg (not suitable for screenshots at all) which I think is good. However, they should have gone with png instead of pdf.
They should just make it a preference in SystemPrefs to decide to make screenshots 'JPEG / PNG / PDF'.
They should just make it a preference in SystemPrefs to decide to make screenshots 'JPEG / PNG / PDF'.
I can't think of anything useful you can do with jpeg except maybe movie screenshots. And then you can always convert them from a lossless format.
So, no! Apple shouldn't include jpeg as an option. People don't know what the different formats should be used for, they would choose jpeg just because their digi cam does it.
Well, they did it to stop people using jpeg (not suitable for screenshots at all) which I think is good. However, they should have gone with png instead of pdf.
Why is it not suitable for screenshots? Mind backing that up? Almost every screen shot I take ends up on the web...JPEG compresses much better, at the maximum possible quality it is slightly bigger than PNG, but if I use a more realistic maximum, (80 quality in PS) then the JPEG is much smaller.
Ya see, I thought that Folder actions could do this pretty easily. I spent about 5 minutes knocking up this script (mainly by cobbling together and modifying bits and pieces from Apple's example code). For those of you who know what Folder actions are and how to use them, make sure that you have the GUI scripting beta installed...
Quote:
on process_item(this_item)
\ttry
\t\ttell application "Preview"
\t\t\tactivate
\t\t\topen this_item
\t\tend tell
\t\tdelay 2
\t\ttell application "System Events"
\t\t\ttell process "Preview"
\t\t\t\tclick menu item "Export..." of menu "File" of menu bar 1
\t\t\t\tdelay 1
\t\t\t\ttell sheet 1 of window 1
\t\t\t\t\ttell pop up button 1
\t\t\t\t\t\tclick
\t\t\t\t\t\tdelay 1
\t\t\t\t\t\ttell menu 1
\t\t\t\t\t\t\tset the menu_options to the name of every menu item
\t\t\t\t\t\t\tif the menu_options contains "JPEG" then
\t\t\t\t\t\t\t\tclick menu item "JPEG"
\t\t\t\t\t\t\t\tdelay 1
\t\t\t\t\t\t\telse
\t\t\t\t\t\t\t\terror "Cannot convert this image to JPEG format."
\t\t\t\t\t\t\tend if
\t\t\t\t\t\tend tell
\t\t\t\t\tend tell
\t\t\t\tend tell
\t\t\t\tkeystroke return
\t\t\t\ttell window 1
\t\t\t\t\ttell sheet 1
\t\t\t\t\t\ttell group 2
\t\t\t\t\t\t\ttell group 1
\t\t\t\t\t\t\t\ttell text field 1
\t\t\t\t\t\t\t\t\tset the new_imagename to the value
\t\t\t\t\t\t\t\t\tset the value to the destination_path & new_imagename
\t\t\t\t\t\t\t\t\tdelay 1
\t\t\t\t\t\t\t\tend tell
\t\t\t\t\t\t\tend tell
\t\t\t\t\t\tend tell
\t\t\t\t\tend tell
\t\t\t\tend tell
\t\t\t\tkeystroke return
\t\t\t\tdelay 2
\t\t\t\tkeystroke "w" with command down
\t\t\tend tell
\t\tend tell
\ton error the error_message number the error_number
\t\tdisplay dialog the error_message buttons {"Cancel"} default button 1
\tend try
end process_item
on adding folder items to this_folder after receiving added_item
\ttry
\t\ttell application "Finder"
\t\t\tset the folder_name to the name of this_folder
\t\t\tif (added_items as string) contains text "Picture" then
Comments
Originally posted by 123
Well, they did it to stop people using jpeg (not suitable for screenshots at all) which I think is good. However, they should have gone with png instead of pdf.
They should just make it a preference in SystemPrefs to decide to make screenshots 'JPEG / PNG / PDF'.
Originally posted by pyr3
They should just make it a preference in SystemPrefs to decide to make screenshots 'JPEG / PNG / PDF'.
I can't think of anything useful you can do with jpeg except maybe movie screenshots. And then you can always convert them from a lossless format.
So, no! Apple shouldn't include jpeg as an option. People don't know what the different formats should be used for, they would choose jpeg just because their digi cam does it.
http://www.pixture.com/macosx.php
SnapClip.
Originally posted by 123
Well, they did it to stop people using jpeg (not suitable for screenshots at all) which I think is good. However, they should have gone with png instead of pdf.
Why is it not suitable for screenshots? Mind backing that up? Almost every screen shot I take ends up on the web...JPEG compresses much better, at the maximum possible quality it is slightly bigger than PNG, but if I use a more realistic maximum, (80 quality in PS) then the JPEG is much smaller.
on process_item(this_item)
\ttry
\t\ttell application "Preview"
\t\t\tactivate
\t\t\topen this_item
\t\tend tell
\t\tdelay 2
\t\ttell application "System Events"
\t\t\ttell process "Preview"
\t\t\t\tclick menu item "Export..." of menu "File" of menu bar 1
\t\t\t\tdelay 1
\t\t\t\ttell sheet 1 of window 1
\t\t\t\t\ttell pop up button 1
\t\t\t\t\t\tclick
\t\t\t\t\t\tdelay 1
\t\t\t\t\t\ttell menu 1
\t\t\t\t\t\t\tset the menu_options to the name of every menu item
\t\t\t\t\t\t\tif the menu_options contains "JPEG" then
\t\t\t\t\t\t\t\tclick menu item "JPEG"
\t\t\t\t\t\t\t\tdelay 1
\t\t\t\t\t\t\telse
\t\t\t\t\t\t\t\terror "Cannot convert this image to JPEG format."
\t\t\t\t\t\t\tend if
\t\t\t\t\t\tend tell
\t\t\t\t\tend tell
\t\t\t\tend tell
\t\t\t\tkeystroke return
\t\t\t\ttell window 1
\t\t\t\t\ttell sheet 1
\t\t\t\t\t\ttell group 2
\t\t\t\t\t\t\ttell group 1
\t\t\t\t\t\t\t\ttell text field 1
\t\t\t\t\t\t\t\t\tset the new_imagename to the value
\t\t\t\t\t\t\t\t\tset the value to the destination_path & new_imagename
\t\t\t\t\t\t\t\t\tdelay 1
\t\t\t\t\t\t\t\tend tell
\t\t\t\t\t\t\tend tell
\t\t\t\t\t\tend tell
\t\t\t\t\tend tell
\t\t\t\tend tell
\t\t\t\tkeystroke return
\t\t\t\tdelay 2
\t\t\t\tkeystroke "w" with command down
\t\t\tend tell
\t\tend tell
\ton error the error_message number the error_number
\t\tdisplay dialog the error_message buttons {"Cancel"} default button 1
\tend try
end process_item
on adding folder items to this_folder after receiving added_item
\ttry
\t\ttell application "Finder"
\t\t\tset the folder_name to the name of this_folder
\t\t\tif (added_items as string) contains text "Picture" then
\t\t\t\tprocess_item(added_item as alias)
\t\t\tend if
\t\tend tell
\tend try
end adding folder items to