While looking at the Attachments (list) window, I noticed I have close to 200 TIFF attachments (in notes). (A few are over 10MB; the average size is maybe 5MB.) Their name is “PastedGraphic.tiff”.
One of the 5MB attachments is about 1,000 x 1,000 pixels; the viewable size in OmniFocus is just fine, so I’m thinking I’m after a .png format to reduce size on disc, but not to reduce the x/y pixels.
Using PNG format rather than TIFF
All the screenshots I grabbed in TurboTax (the app; not the web version) (using option-command-shift-4 to define the boundaries). A few other attachments are also TIFF; the rest are .PNG. I don’t know if TurboTax caused the screenshots to be TIFF (vs. PNG, which I’ve read is the default format for screenshots in macOS), or it I first pasted in Preview for further x/y refinement, and then used the modified version to paste in the note.
Any ideas on how to get screenshots that are PNG?
Converting existing TIFF files to PNG
For the existing TIFF files, I’m wondering what kind of automation I could use to convert them to PNG, and then insert that format back into the same note.
Something like?:
-
Cut the screenshot from the note. I only seem to be able to select all the contents of notes, not just the attachment, and this won’t work, because there is often text in the note (and/or another screenshot attachment) in the note.
-
Run automation to convert the image from TIFF to PNG, place in the clipboard, paste in the note.
When I manually opened a 12MB TIFF in Preview and exported as the default (highest resolution) JPG. The resulting size was 400KB, which is just fine.