Is there a way to copy a pdf at a file path into a Keyboard Maestro clipboard so I can paste it in to an email in Apple Mail? I command+c the file and command+p which of course work in the Finder and then Apple Mail. The file is the same
I used Read a File to read a image file to clipboard, but the 200KB image file (size on disk) became 2.2MB image on clipboard which made my email extremely large so that I couldn't send it out. Is it a bug?
Image Size on Disk
Image Size on Clipboard Read by Action "Read a File"
Image size will depend on how it is represented. I don't know what that second image is supposed to be. Keyboard Maestro generally deals with images as tiff’s, which being lossless will generally be much larger than jpegs. But mail clients can and do adjust the image as well (Mail has a settings for how much it compresses your images for example).
Is there any way that deal with images as jpeg? The outlook doesn’t have auto-compressing feature. Tiff will make my mail main body too large to send.
2019年5月17日 +0800 17:10 Peter N Lewis firstname.lastname@example.org，写道：
This is a known issue. The KM Read File action converts all image files to tiff format on the clipboard. For a workaround, see:
@peternlewis, could you please change the Read File action to use the same image format as the source file? So if the image file is a "png", that is the format that will be placed in the variable or on the clipboard.