Vector images?

Bob Sneidar bobsneidar at iotecdigital.com
Wed Oct 21 10:44:41 EDT 2015


I think that is the whole point behind the preview thumbnail that can be attached to the eps graphic. I suppose support for EPS would be better if we had a choice of using the preview as opposed to requiring a re-render each time the object was drawn.

Bob S


On Oct 21, 2015, at 06:38 , Mark Waddingham <mark at livecode.com<mailto:mark at livecode.com>> wrote:

EPS is actually just a very well structured version of PostScript - which (in theory) requires a full PostScript interpreter to render. That being said, from memory, Illustrator has always had a 'special form' of EPS where it uses only restricted sets of operators in a way which doesn't require interpretation (it's quite neat actually - the prologue contains the definitions for the operators so that such an EPS file can still be directly printed on a PostScript printer; whilst the file can also be understood by things which don't have a full PostScript interpreter).

So, anyway, there's no problem with SVG in general - I think it is the best thing to choose these days.

My comments were merely a small warning to say that - remember that rendering vector graphics on the fly is quite an expensive operation, so it might be that initial uses will require a bit of scripting to ensure things written using them work well at a reasonable speed. i.e. Precomputation where required. That being said, over time, I'm sure we can come up with numerous ways the engine can help here to ensure that, for the most common uses, the difference in rendering a vector image and a normal image is (after initial setup time) not very much at all.

Warmest Regards,

Mark.

--
Mark Waddingham




More information about the use-livecode mailing list