Strip XMP Packet from the end of binary image data

Bob Sneidar bobsneidar at iotecdigital.com
Fri Feb 1 11:36:39 EST 2019


Adobe does a LOT of crap when copying to the clipboard. Copy text from an OCR'd PDF sometime and paste it into a Livecode field. You may find the number of characters is more than are visible. This is what inspired me to write my cleanAscii function which filters out all chars before 32 and after 126. 

Bob S


> On Jan 31, 2019, at 14:23 , Tom Glod via use-livecode <use-livecode at lists.runrev.com> wrote:
> 
> Scratch taht, its the modified date timestamp that changes.
> 
> I will try using regex to get the ID and check it to see if the clipboard
> image really changed or not.
> 
> should be a safer and quicker workaround...I think all adobe software does
> this when copying to clipboard.





More information about the Use-livecode mailing list