Approach to integrating LC and non-LC apps

Mark Schonewille m.schonewille at economy-x-talk.com
Tue Apr 19 16:47:29 EDT 2011


Graham,

Yes, this is technically feasible. IM is great stuff. Call it from the shell function.

--
Best regards,

Mark Schonewille

Economy-x-Talk Consulting and Software Engineering
Homepage: http://economy-x-talk.com
Twitter: http://twitter.com/xtalkprogrammer
KvK: 50277553

New: Download the Installer Maker Plugin 1.6 for LiveCode here http://qery.us/ce

On 19 apr 2011, at 21:52, Graham Samuel wrote:

> I'm writing an app that allows its users access to a variety of bit-mapped images and manipulates them in particular ways. I have found it easy with formats PNG, JPG, BMP that LC reads natively, but I also have to deal with PDF and TIF files.
> 
> I have asked questions before about reading PDFs and other graphic formats (I'm only interested in bitmapped graphics) that LC can't read natively. What I am planning to do, thanks to advice from this list, is to get another program, ImageMagick, to do the reading for me. I want my users to have the simplest possible experience, so I want them to be unaware that two programs are involved. I imagine, for example, that I could use my LC app to select say a PDF file, pass it silently to ImageMagick for conversion to say PNG, and then acquire the output in my own app so that from the users' point of view there is just one program to deal with.
> 
> My initial question is, is this feasible? I have read section 12.1 of the LC Manual ('Communicating with other process and applications'), but the trouble is, I'm too inexperienced to know which way to go.
> 
> If anyone has any experience of this at all, perhaps they could give me some pointers - it might save a great deal of wheel-inventing.
> 
> TIA
> 
> Graham
> 





More information about the use-livecode mailing list