Strip XMP Packet from the end of binary image data

Ben Rubinstein benr_mc at cogapp.com
Mon Feb 4 12:05:12 EST 2019


Hey don't knock the invisible characters in PDFs - that's a feature. I just 
recently wrote something in LiveCode precisely to generate PDFs containing 
invisible (but search-able, select=able, copy-able) text.


On 01/02/2019 16:36, Bob Sneidar via use-livecode wrote:
> 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