Re: Strip XMP Packet from the end of binary image data

2019-02-04 Thread Ben Rubinstein via use-livecode
On 01/02/2019 22:43, Richard Gaskin via use-livecode wrote: Tom Glod wrote: > The problem for me was that Fireworks was updating the clipboard data > every second ..effectively changing the content of the clipboard even > if it didn't change..The image was not changing , but the meta > d

Re: Strip XMP Packet from the end of binary image data

2019-02-04 Thread Ben Rubinstein via use-livecode
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 wh

Re: Strip XMP Packet from the end of binary image data

2019-02-04 Thread Bob Sneidar via use-livecode
PDF, much like McDonalds is never going to go away. Bob S > On Feb 1, 2019, at 14:38 , Richard Gaskin via use-livecode > wrote: > > Stephen Barncard wrote: > > > On Fri, Feb 1, 2019 at 12:19 Richard Gaskin wrote: > >> > >> Reason #233 why PDF must die. ;) > > > > And replaced with? > > Any

Re: Strip XMP Packet from the end of binary image data

2019-02-01 Thread Tom Glod via use-livecode
Richard, i have no idea > Fireworks CS6 has been discontinued for years so I can't really even ask, But this bug turned into a feature because my clipboard tool now correclty saves clipboard data as reusable objects that keep their styles and effects and meta data in at least 1 adobe program t

Re: Strip XMP Packet from the end of binary image data

2019-02-01 Thread Richard Gaskin via use-livecode
Stephen Barncard wrote: > On Fri, Feb 1, 2019 at 12:19 Richard Gaskin wrote: >> >> Reason #233 why PDF must die. ;) > > And replaced with? Anything useful on modern devices. You've never read my rants here on this? Today I'll let others make the argument for me:

Re: Strip XMP Packet from the end of binary image data

2019-02-01 Thread Richard Gaskin via use-livecode
Tom Glod wrote: > The problem for me was that Fireworks was updating the clipboard data > every second ..effectively changing the content of the clipboard even > if it didn't change..The image was not changing , but the meta > data was. so I had a runaway "Clipboard changing message" ... As

Re: Strip XMP Packet from the end of binary image data

2019-02-01 Thread Tom Glod via use-livecode
The problem for me was that Fireworks was updating the clipboard data every second ..effectively changing the content of the clipboard even if it didn't change..The image was not changing , but the meta data was. so I had a runaway "Clipboard changing message" . it was a nightmare ...

Re: Strip XMP Packet from the end of binary image data

2019-02-01 Thread Stephen Barncard via use-livecode
And replaced with? On Fri, Feb 1, 2019 at 12:19 Richard Gaskin via use-livecode < use-livecode@lists.runrev.com> wrote: > Bob Sneidar wrote: > > > 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. > > Rea

Re: Strip XMP Packet from the end of binary image data

2019-02-01 Thread Richard Gaskin via use-livecode
Bob Sneidar wrote: > 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. Reason #233 why PDF must die. ;) -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and

Re: Strip XMP Packet from the end of binary image data

2019-02-01 Thread Bob Sneidar via use-livecode
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 afte

Re: Strip XMP Packet from the end of binary image data

2019-01-31 Thread Tom Glod via use-livecode
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. On Thu, Jan 31, 2019 at 2:

Strip XMP Packet from the end of binary image data

2019-01-31 Thread Tom Glod via use-livecode
Hi Livecode Geniuses., I've run into a problem in my application ...i have tracked the bug down to Adobe Fireworks adding an XMP packet to the end of clipboarddata["image"] http://www.w3.org/1999/02/22-rdf-syntax-ns#";> http://ns.adobe.com/xap/1.0/";> Adobe Fireworks CS6 (W