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 that I use.  I don't
use other adobe products except for this so I can't test it on the others.

it'll be interesting to see if it still works in some of their modern tools.

:D


On Fri, Feb 1, 2019 at 5:50 PM Richard Gaskin via use-livecode <
use-livecode@lists.runrev.com> wrote:

> 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:
>
> <
> http://community.aiim.org/blogs/serge-huber/2012/04/25/after-flash-why-pdf-must-die-
> >
>
> 
>
> <
> https://www.flightpath.com/blog/2013/06/the-pdf-must-die-other-tips-for-success-on-mobile/
> >
>
>
> HTML is a natural fit, or its packaged variant, ePub.
>
> PDF was a fine thing in its day, but that day was 20 years ago. The
> world is no longer 8.5" by 11".
>
> --
>   Richard Gaskin
>   Fourth World Systems
>   Software Design and Development for the Desktop, Mobile, and the Web
>   
>   ambassa...@fourthworld.comhttp://www.FourthWorld.com
>
> ___
> 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
>
___
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


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:









HTML is a natural fit, or its packaged variant, ePub.

PDF was a fine thing in its day, but that day was 20 years ago. The 
world is no longer 8.5" by 11".


--
 Richard Gaskin
 Fourth World Systems
 Software Design and Development for the Desktop, Mobile, and the Web
 
 ambassa...@fourthworld.comhttp://www.FourthWorld.com

___
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


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 one would expect.  Any word from Adobe on why they're hammering the 
user's clipboard for no apparent reason?


--
 Richard Gaskin
 Fourth World Systems
 Software Design and Development for the Desktop, Mobile, and the Web
 
 ambassa...@fourthworld.comhttp://www.FourthWorld.com

___
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


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
...  esp because i did not know how to reproduce it.

once i did, just a simple workaround was needed. i ended up checking the ID
of the meta data, everything works fine in my clipboard tool :D :D :D a
very productive day for me. this one was big checkmark off my to do list.





On Fri, Feb 1, 2019 at 4:00 PM Stephen Barncard via use-livecode <
use-livecode@lists.runrev.com> wrote:

> 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.
> >
> > Reason #233 why PDF must die. ;)
> >
> > --
> >   Richard Gaskin
> >   Fourth World Systems
> >   Software Design and Development for the Desktop, Mobile, and the Web
> >   
> >   ambassa...@fourthworld.comhttp://www.FourthWorld.com
> >
> > ___
> > 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
> >
> --
> --
> Stephen Barncard - Sebastopol Ca. USA -
> mixstream.org
> ___
> 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
>
___
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


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.
>
> Reason #233 why PDF must die. ;)
>
> --
>   Richard Gaskin
>   Fourth World Systems
>   Software Design and Development for the Desktop, Mobile, and the Web
>   
>   ambassa...@fourthworld.comhttp://www.FourthWorld.com
>
> ___
> 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
>
-- 
--
Stephen Barncard - Sebastopol Ca. USA -
mixstream.org
___
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


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 the Web
 
 ambassa...@fourthworld.comhttp://www.FourthWorld.com

___
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


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 after 126. 

Bob S


> On Jan 31, 2019, at 14:23 , Tom Glod via use-livecode 
>  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.


___
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