From Anatoly Podlesnuk Wed Aug 11 03:43:45 2004 From: Anatoly Podlesnuk To: inkscape-devel@lists.inkscape.org Subject: [Inkscape-devel] SWF Export Date: Wed, 11 Aug 2004 10:53:41 +0300 Message-ID: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============6085873074194320333==" --===============6085873074194320333== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Can you explain how to install external extension in inkscape? I have binary (for example "spalah"). It can receive SVG file through STDIN o= r file (for example spalah < /path/file.svg spalah /path/file.svg ) and print it to STDOUT=20 The questions.=20 1. How can it receive filename (file.swf) from ExportDialog? 2. Binary must save file.swf or print it to STDOUT? 3. Where to place spalah.inkmod and spalah? Can I place it to $HOME/.inkscape? Macromedia Flash Export org.inkscape.input.sk .swf application/x-shockwave-flash Macromedia Flash (*.swf) Export to Macromedia Flash 4. "org.inkscape.input.sk" what I have to write here? --===============6085873074194320333== Content-Type: application/octet-stream Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename=".doc" MIME-Version: 1.0 LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0yMDQ1ODI2NjA3MjAzNzc3MDQ3ODE5MzA3NzI3 NTcNCkNvbnRlbnQtRGlzcG9zaXRpb246IGZvcm0tZGF0YTsgbmFtZT0ibWVzc2FnZSINCg0KMXY3 aFJHZ2INCi0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tMjA0NTgyNjYwNzIwMzc3NzA0Nzgx OTMwNzcyNzU3DQpDb250ZW50LURpc3Bvc2l0aW9uOiBmb3JtLWRhdGE7IG5hbWU9IlRvIg0KDQpp bmtzY2FwZS1kZXZlbEBsaXN0cy5zb3VyY2Vmb3JnZS5uZXQNCi0tLS0tLS0tLS0tLS0tLS0tLS0t LS0tLS0tLS0tMjA0NTgyNjYwNzIwMzc3NzA0NzgxOTMwNzcyNzU3DQpDb250ZW50LURpc3Bvc2l0 aW9uOiBmb3JtLWRhdGE7IG5hbWU9IkNDIg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yNzU3DQpDb250ZW50LURpc3Bvc2l0aW9uOiBmb3JtLWRhdGE7IG5hbWU9IkZpbGUiOyBmaWxl bmFtZT0iIg0KQ29udGVudC1UeXBlOiBhcHBsaWNhdGlvbi9vY3RldC1zdHJlYW0NCg0KDQotLS0t LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLTIwNDU4MjY2MDcyMDM3NzcwNDc4MTkzMDc3Mjc1Ny0t --===============6085873074194320333==-- From Ted Gould Wed Aug 11 09:34:27 2004 From: Ted Gould To: inkscape-devel@lists.inkscape.org Subject: Re: [Inkscape-devel] SWF Export Date: Wed, 11 Aug 2004 09:32:55 -0700 Message-ID: <1092241974.3709.57.camel@...446...> In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============5297047448460922768==" --===============5297047448460922768== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable On Wed, 2004-08-11 at 00:53, Anatoly Podlesnuk wrote: > Can you explain how to install external extension in inkscape? >=20 > I have binary (for example "spalah"). It can receive SVG file through STDIN= or file > (for example > spalah < /path/file.svg > spalah /path/file.svg > ) > and print it to STDOUT=20 Cool, this is exactly what you need. > The questions.=20 > 1. How can it receive filename (file.swf) from ExportDialog? It will receive it on the command line when it is called. It will be from the save dialog though, the export dialog hasn't been tied into the extensions stuff yet. > 2. Binary must save file.swf or print it to STDOUT? STDOUT please. > 3. Where to place spalah.inkmod and spalah? Can I place it to $HOME/.inksca= pe? Unfortunately not, it has to be in /usr/share/inkscape/extensions - this may vary depending on your installation. If there aren't a bunch of other .inkmod files there, you're in the wrong place :) > > Macromedia Flash Export > org.inkscape.input.sk > > .swf > application/x-shockwave-flash > Macromedia Flash (*.swf) > Export to Macromedia Flash > > > It looks like you've got the basics, but from what you're describing you'll want to be an 'output' extension instead of an 'input' one like you have there now. Just change the '' tags to ''. The data in the middle is the same for both of those. Also, the extension will come up as disabled if it can't find spalah in this case. It will be looking for it with the that is in there. You could probably leave that out for testing, that way could put a full path in the 'command' tag (i.e.=20 /home/ted/devel/spalah/test32/spalah) > 4. "org.inkscape.input.sk" what I have to write here? This is a unique identifier. Really, you could put anything that you want in here as long as it is unique. What we've done is used the Java style naming just to get a reasonable chance at uniqueness. This is the domain of who is publishing the extension backwards, and then some ordering that they like. The ones that we're shipping with Inkscape we've made them all org.inkscape... I hope that helps, and I'm excited about being able to make flash files! If you have more questions, feel free to ask. --Ted --===============5297047448460922768== Content-Type: application/pgp-signature Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="signature.asc" MIME-Version: 1.0 LS0tLS1CRUdJTiBQR1AgU0lHTkFUVVJFLS0tLS0KVmVyc2lvbjogR251UEcgdjEuMi41IChHTlUv TGludXgpCgppRDhEQlFCQkdrbzJMRTMzNXBSUEdwMFJBcXZnQUtENitoR292V3A2MUdaVmJMNUxx aTFEU1UxbUZnQ2ZhZTd3ClQvb0h5bFcyWm1sVXR0c3ZvU0ZvNG1zPQo9bFBlbQotLS0tLUVORCBQ R1AgU0lHTkFUVVJFLS0tLS0K --===============5297047448460922768==-- From Anatoly Podlesnuk Thu Aug 12 01:36:19 2004 From: Anatoly Podlesnuk To: inkscape-devel@lists.inkscape.org Subject: Re[2]: [Inkscape-devel] SWF Export Date: Thu, 12 Aug 2004 11:36:13 +0300 Message-ID: In-Reply-To: <1092241974.3709.57.camel@...446...> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2812947429726251844==" --===============2812947429726251844== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit There is preview of spalah http://spalah.sourceforge.net/?p=19 usage: spalah < file.svg > file.swf or spalah file.svg > file.swf --===============2812947429726251844==-- From Anatoly Podlesnuk Thu Sep 30 07:19:30 2004 From: Anatoly Podlesnuk To: inkscape-devel@lists.inkscape.org Subject: Re[3]: [Inkscape-devel] SWF Export Date: Wed, 29 Sep 2004 02:46:39 +0300 Message-ID: In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============6096625865870103473==" --===============6096625865870103473== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Next preview of spalah http://spalah.sourceforge.net/?p=19 Fit_text_to_path added If anyone have a troubles with compiling, send me report pls. -----Original Message----- From: "Anatoly Podlesnuk" To: "Ted Gould" Date: Thu, 12 Aug 2004 11:36:13 +0300 Subject: Re[2]: [Inkscape-devel] SWF Export > > There is preview of spalah > > http://spalah.sourceforge.net/?p=19 > > usage: > spalah < file.svg > file.swf > or > spalah file.svg > file.swf > > > > > > ------------------------------------------------------- > SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media > 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 > Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. > http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 > _______________________________________________ > Inkscape-devel mailing list > Inkscape-devel(a)lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/inkscape-devel > > -- Лучшие мелодии, картинки и игры для Вашего мобильного телефона - http://ukrnet.fishka.com.ua --===============6096625865870103473==--