Mail.app in 10.6.4 pastes screenshots as TIFF
Out of some behind-the-scenes frustration on the TUAW team email list, we seem to have discovered a quirk in Mac OS X 10.6.4. Using the built-in screenshot tools, you can copy a screenshot to the clipboard using Command + Control + Shift + 3 (or 4, for the crosshairs screenshot). From there you can paste into Preview or Mail or any other application which can take images from the clipboard.The issue presents itself when you paste into Mail.app or Mailplane. Instead of using your preferred format for screenshots, the images are pasted as a TIFF file. Several TUAW staff members were able to replicate this on 10.6.4, but it does not seem to have been happening in 10.6.3. If you paste into Preview.app instead, your image format preference seems to be honored. [May only be affecting a subset of users, see update below.]
While there's nothing inherently wrong with TIFF as a pasteable format, it does mean that your screenshot pastes may be a lot larger than you expect. It also may adversely affect the ability of iPhone/iPad users to see the screenshots you paste into emails.
There are many different image formats that you can choose for screenshots (BMP, GIF, JPG, JP2, PSD, SGI, TGA, PDF, PICT, PNG, or TIFF, to be precise) but most people probably use JPG or PNG. You can find out which you use by going to Terminal.app and typing (or copy/paste):
defaults read com.apple.screencapture typeYou can also use a 3rd party tool such as OnyX to change your screenshot format setting, or do it via Terminal:
defaults write com.apple.screencapture type XXXwhere XXX is one of the types listed above. You will then either have to logout or restart Finder (control+option/alt+click the Finder icon and choose Relaunch) to have the change recorded.
We're interested to see how many folks can duplicate this. Try these steps:
1) copy a screenshot to the clipboard
2) switch to Mail.app and paste it (you may have to actually send the image to someone to see what format it is in)
3) switch to Preview.app and paste it, then save it (to see if your image format preference is honored)
Did you get the same format results in steps 2 and 3? What version of Mac OS X are you using? Let us know in the comments.
Update: It looks like most of the readers who were able to reproduce our result had their screenshot format set to JPEG rather than the more common PNG; if it's set to PNG it appears to behave 'normally' rather than putting TIFFs in the clipboard. Curiouser and curiouser.
Share
Categories
Out of some behind-the-scenes frustration on the TUAW team email list, we seem to have discovered a quirk in Mac OS X 10.6.4. Using the...
Add a Comment
PNG all the way. No tiff in sight. Not sure what your computer was smoking, but something tells me you've been shooting tiff all along and never noticed it.
Been PNG for quite a while and that would have been caught long ago by me or one of the many other users and reported as a BUG. Tiff file size can get out of hand, especially if not lzw compressed.
This really helped me. I have had a problem copying screen grabs etc in to Evernote from my Macbook Pro and could not work out the reason. Now changed to jpg and problem is resolved.
Thanks.
You can use the "file" utility (/usr/bin/file) from the terminal to identify the true file type, regardless of file name extension. It looks at the first few bytes of the file and checks it against a database of known file format patterns.
For those of you who don't know how to use /Applications/Utilities/Terminal.app, just type "file", then a space, then drag the file you're attempting to identify to the terminal window. That will insert the path to the file. Then just hit enter.
And if you have the developer tools installed, check out /Developer/Applications/Utilities/Clipboard Viewer.app - after taking the screenshot, hit the reload button. It will show you which types of data were placed on the clipboard. More than one type may be present, and each application gets to decide what pieces of the clipboard it will use upon paste. That may account for some of the discrepancies you're seeing.
Note that JPEG is not a great format for taking screen shots, especially of full windows, which includes the translucent shadow of the window and transparency of the rounded corners.
JPEG does not support an alpha channel, so the screen shot will not have the proper transparency.
10.6.4 here.
My defaults read command returned "JPG".
Pasting it into Mail, sending the message, and opening it in Mail (I sent the file to myself using the same email account) show the message's attachment with a ".tiff" extension.
Going to Preview, choosing File > New from Clipboard and then saving, the file auto-chosen type is PNG. Since I rarely use Preview to save files, this may be a default option, not an indicator of actual file type...or not.
Saving the attachment file from Mail put a file called "PastedGraphic-1.tiff" on my desktop. File > Get Info claimed the file Kind was a "TIFF image". The file's icon showed the contents of the capture.
Without doing anything else, I changed the file name extension to .jpg, so now the name read "PastedGraphic-1.jpg". The icon retained the capture image. Doing Get Info now reported the file as "JPEG image".
This tells me that Get Info does not really know what the format is either and is just using the filename extension for the file's type, though Preview must be pretty good at guessing formats in order to display the file as an image.
Opening the file with BBedit shows a bunch of binary code characters. Typically for me, opening both JPEGs and TIFFs in a text editor usually reveals some human-readable references to the actual file type and creating application (yes, I do this for work quite often). This particular file had nothing like that at all as far as I could find.
Hard to say definitively what the file type actually is from my tests. Maybe someone that knows more about file formats can chime in?
OS 10.6.4
Default png
Mail png
Preview png
I tried this in 10.6.4 and it pasted at PNG.
June 20 2010 at 10:10 PM Report abuse Permalink rate up rate down ReplyJust did the tests...PNG all the way, Preview and Mail
10.6.4
I must be the oddball...my screenshots came up as BMP, WTF? I certainly never caused that to happen!
I've changed to PNG, but haven't done the paste test yet.
OS X 10.6.4
defaults read com.apple.screencapture type PNG
Hot Apps on TUAW
Deals of the Day
more deals- Verizon Leather Sleeve for Tablets for $4 + free shipping
- Wicked Jaw Breaker Noise-Isolating In-Ear Headphones for $6 + free shipping
- Refurb Apple MacBook Air Laptops: 12" 64GB SSD for $699 + free shipping
- JVC Motion Sensing Clock Radio with Dual iPod Docks for $55 + free shipping
- Apple iPhone Headset with Mic for $4 + $2 s&h
- Refurb Apple iPod nano 8GB MP3 Player for $99 + free shipping, 16GB for $119
Software Updates
more updates- EFI Firmware Update brings Lion Internet Recovery to 2010-model Macs
- OS X Lion 10.7.3 released with Safari 5.1.3, Wi-Fi bug fix
- Aperture updated to 3.2.2, addresses Photo Stream issue
- Apple updates Keynote to address Lion issues
- Google Search app gets new look on iPad
- Apple releases Apple TV Software Update 4.4.3



78 Comments