AHEM, ā¦ sheepish stupid look on my face.
OH, you mean variable, NOT clipboard? I thought you meant clipboardā¦ (not really)
ah, yeah, when I set the VARIABLE, ENV_PATH and NOT the clipboardā¦ a, it worked like it should.
Iāll be crawling under a rock now. =) - LOL.
THANK you for your time, sorry for my mistake.
Have a Blessed day
Has anyone figured out a way to get optimized PNG output from pasteboard to apps? For example, when I copy a screenshot I've found that ImageOptim generally gets a 15-25% lossless size reduction via the pngcrush+PNGOUT. When these are pasted into apps (such as a chat system) directly they always result in unoptimized uploads, which is highly unfortunate... It would be so nice to have an automated optimized in-pasteboard to yield an optimized png output.
A) If you are copying the file path in the Finder and paste it, then the optimized file should get uploaded (as it is on your disk). But what then happens on the chat server, is another thing. For example there might be a server-side script that opens the uploaded PNG, scales or crops it, then re-saves it (unoptimized).
B) If you are opening the PNG on your computer (for example with Preview), then copy the content (āA āC) and paste it: the unoptimized image data will get uploaded.
I'm sorry @Tom, I thought this was self-evident. I'm talking about copying directly with the image in the pasteboard (shift-control-command-4). So what you're talking about is #B where it's unoptimized image data. What is odd or confusing to me is that when you select different types of image encoding from, for example, Onyx, some apps honor the format (JPG, JP2, PNG, TIF, etc.) when the image is simply pasted in from the clipboard while others do not... This is why it makes me think there must be something else going on where this image can be further optimized and replaced within the pasteboard (clipboard).
The clipboard (after āā§ā4) contains the ārawā image data (tiff) and the data in the format you specified (for example JPEG2000). I think, it is up to the app where you paste in, to decide which format it prefers.