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"]
<?xpacket begin="" id="W5M0MpCehiHzreSzNTczkc9d"?> <x:xmpmeta xmlns:x="adobe:ns:meta/" x:xmptk="Adobe XMP Core 5.3-c011 66.145661, 2012/02/06-14:56:27 "> <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> <rdf:Description rdf:about="" xmlns:xmp="http://ns.adobe.com/xap/1.0/"> <xmp:CreatorTool>Adobe Fireworks CS6 (Windows)</xmp:CreatorTool> <xmp:CreateDate>2019-01-31T19:16:20Z</xmp:CreateDate> <xmp:ModifyDate>2019-01-31T19:16:22Z</xmp:ModifyDate> </rdf:Description> <rdf:Description rdf:about="" xmlns:dc="http://purl.org/dc/elements/1.1/"> <dc:format>image/png</dc:format> </rdf:Description> </rdf:RDF> </x:xmpmeta> Whats worse is that Fireworks seems to update this data every second in the clipboard. this triggers my "ClipboardChanged" function..and chaos ensues.(the id changes) Having tracked down the cause it down, I need to strip it from the end of the image binary. I am a little stumped .....coders block i guess....... and I have a feeling that LC has a really simple way of doing it ...and I will take hours trying to figure it out. So glad I tracked this bug down it was keeping me up. Thank you for any help. _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode