On Wed, 2008-08-20 at 06:27 +0000, Henrik Bohre wrote:
> Hi Rejon. Thanks for your comments.
>
> Yes, --server might be a bit misleading. Perhaps --cli is even better?
> --interactive may clash with regular GUI work? I welcome suggestions.
Interactive is what is usually used on cli scripts...either is better
than sever though.
> I agree that the patch may not be used by the everyday user, but it is
> quite minimal. The reason for me wanting to add it, is that it cuts down
> the processing time considerably when handling large number of
> conversions. It addresses a performance issue, more than adding new
> functionality.
>
> As an example I could see it running as a web server plugin, making it
> possible to dynamically render SVG drawings dependent on input from a
> web page. This borders to impossible if you need to start the
> application for each request.
How could an app plug into this? I think it running in daemon mode might
be good, but curious how you think to get commands to inkscape should be
handled.
> I've looked somewhat into using Inkview as a leaner alternative, but I
> think it needs quite some job to remove basically unneeded libraries
> from it. Given the design goal of Inkscape being an editor rather than a
> lean renderer it may be understandable.
Yes, what would be great is to make somethink like inkserve and strip
out unnecessary crap so we have an awesome svg renderer usable as you
(and I both) want.
> On the downside, I've found that the SPDocument code leaks which still
> makes it impossible to handle more than a couple of thousand documents.
> It's bee looked into.
Yes, sucky!
Jon
--
Jon Phillips
San Francisco, CA + Guangzhou + Beijing
GLOBAL +1.415.830.3884
CHINA +86.1.360.282.8624
<email address hidden> http://www.rejon.org
IM/skype: kidproto
Jabber: <email address hidden>
IRC: <email address hidden>
On Wed, 2008-08-20 at 06:27 +0000, Henrik Bohre wrote:
> Hi Rejon. Thanks for your comments.
>
> Yes, --server might be a bit misleading. Perhaps --cli is even better?
> --interactive may clash with regular GUI work? I welcome suggestions.
Interactive is what is usually used on cli scripts...either is better
than sever though.
> I agree that the patch may not be used by the everyday user, but it is
> quite minimal. The reason for me wanting to add it, is that it cuts down
> the processing time considerably when handling large number of
> conversions. It addresses a performance issue, more than adding new
> functionality.
>
> As an example I could see it running as a web server plugin, making it
> possible to dynamically render SVG drawings dependent on input from a
> web page. This borders to impossible if you need to start the
> application for each request.
How could an app plug into this? I think it running in daemon mode might
be good, but curious how you think to get commands to inkscape should be
handled.
> I've looked somewhat into using Inkview as a leaner alternative, but I
> think it needs quite some job to remove basically unneeded libraries
> from it. Given the design goal of Inkscape being an editor rather than a
> lean renderer it may be understandable.
Yes, what would be great is to make somethink like inkserve and strip
out unnecessary crap so we have an awesome svg renderer usable as you
(and I both) want.
> On the downside, I've found that the SPDocument code leaks which still
> makes it impossible to handle more than a couple of thousand documents.
> It's bee looked into.
Yes, sucky!
Jon
-- www.rejon. org
Jon Phillips
San Francisco, CA + Guangzhou + Beijing
GLOBAL +1.415.830.3884
CHINA +86.1.360.282.8624
<email address hidden>
http://
IM/skype: kidproto
Jabber: <email address hidden>
IRC: <email address hidden>