Discussion:
[Scribus] Open Clip Art extension
unknown
2005-02-15 02:15:46 UTC
Permalink
Hi,

I just created a clip art browser in a dockwindow. It accesses the clip art
library from openclipart.org. So it is not necessary to have all files on the
harddisk.

See screenshots
Loading Image...
Loading Image...

Unfortunately I didn't find a way to import a SVG-file with Scripter.
LoadImage() does not seem to support SVGs. Is there any other way to make it
working??


Henning
unknown
2005-02-15 05:51:47 UTC
Permalink
Post by unknown
I just created a clip art browser in a dockwindow. It accesses the clip art
library from openclipart.org. So it is not necessary to have all files on the
harddisk.
Cool. _extremely_ cool, in fact. Wow. Any chance we'll be able to put
that up on the website or include it in the samples later?
Post by unknown
Unfortunately I didn't find a way to import a SVG-file with Scripter.
LoadImage() does not seem to support SVGs. Is there any other way to make it
working?
That's not currently supported, but I'd like get it working at some
point. It's going to be somewhat tricky, because SVG import is a plugin
that's loaded dynamically at runtime, so one can't rely on some (eg)
'svgLoadImage' function to be present.

It doesn't work through loadImage() because the vector import plugins do
their own thing independent of raster image frames and the image format
code.

Petr got EPS export working from scripter in 1.3, which I think is very
cool, so it can evidently be done. I'm going to try to find a way to
provide a generic import interface for the scripter, though, so there's
no need to hand code functions for each importer.
--
Craig Ringer
unknown
2005-02-15 18:30:54 UTC
Permalink
Post by unknown
Post by unknown
I just created a clip art browser in a dockwindow. It accesses the clip art
library from openclipart.org. So it is not necessary to have all files on the
harddisk.
Cool. _extremely_ cool, in fact. Wow. Any chance we'll be able to put
that up on the website or include it in the samples later?
Post by unknown
Unfortunately I didn't find a way to import a SVG-file with Scripter.
LoadImage() does not seem to support SVGs. Is there any other way to make it
working?
That's not currently supported, but I'd like get it working at some
point. It's going to be somewhat tricky, because SVG import is a plugin
that's loaded dynamically at runtime, so one can't rely on some (eg)
'svgLoadImage' function to be present.
It doesn't work through loadImage() because the vector import plugins do
their own thing independent of raster image frames and the image format
code.
And speaking of this, aside from the desirability of being able to script SVG's into Scribus, I think it would be nice to be able to resize/scale SVG's inside of Scribus much in the way that you can with image frames. I realize that what's going on under the hood/bonnet might be quite different, but the user interface could be more similar.


Greg
unknown
2005-02-15 07:32:28 UTC
Permalink
Post by unknown
Hi,
I just created a clip art browser in a dockwindow. It accesses the clip art
library from openclipart.org. So it is not necessary to have all files on
the harddisk.
See screenshots
http://home.cco-ev.de/~henning/scribus/openclipart1.png
http://home.cco-ev.de/~henning/scribus/openclipart2.png
Unfortunately I didn't find a way to import a SVG-file with Scripter.
LoadImage() does not seem to support SVGs. Is there any other way to make
it working??
Truly awesome. This was on the plans for 1.3. Is this something you would like
to have us include within Scribus itself (possibly with some mods... dont
know yet)?

SVGs, as Craig Ringer has said, use the SVG import plugin and dont use Load
Image.

Craig
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://nashi.altmuehlnet.de/pipermail/scribus/attachments/20050215/08f5bcfc/attachment.pgp
unknown
2005-02-15 11:36:59 UTC
Permalink
Post by unknown
Truly awesome
Absolutely - Henning, this is realllly cool :)
Post by unknown
This was on the plans for 1.3. Is this something you would like
to have us include within Scribus itself (possibly with some mods... dont
know yet)?
A similar tool for accessing http://openphoto.net/ would complement
this well.

And I think the reverse is also important, for publishing to the
libraries, which I filed on InkScape's feature request a while back -
http://xrl.us/e5mc (Link to sourceforge.net)

This and import filters are *amazing* :)
--
Regards,
dave
unknown
2005-02-16 00:23:43 UTC
Permalink
Post by unknown
Post by unknown
Hi,
I just created a clip art browser in a dockwindow. It accesses the clip art
library from openclipart.org. So it is not necessary to have all files on
the harddisk.
See screenshots
http://home.cco-ev.de/~henning/scribus/openclipart1.png
http://home.cco-ev.de/~henning/scribus/openclipart2.png
Unfortunately I didn't find a way to import a SVG-file with Scripter.
LoadImage() does not seem to support SVGs. Is there any other way to make
it working??
Truly awesome. This was on the plans for 1.3. Is this something you would like
to have us include within Scribus itself (possibly with some mods... dont
know yet)?
SVGs, as Craig Ringer has said, use the SVG import plugin and dont use Load
Image.
Craig
Where can we get this thing? 'Cause it sounds freaking cool...

Wes
Post by unknown
------------------------------------------------------------------------
_______________________________________________
Scribus mailing list
Scribus at nashi.altmuehlnet.de
http://nashi.altmuehlnet.de/mailman/listinfo/scribus
unknown
2005-02-15 20:59:20 UTC
Permalink
Post by unknown
Where can we get this thing? 'Cause it sounds freaking cool...
Wes
Currently, I am working on a reference manual for symbols and
footprints for gschem and PCB (Part of the gEDA tool set). The
manual is graphics intensive and something like this would make
the job a lot easier. Although, if it only points to openclipart.org,
I'd have to modify it to point to the svg files on my hard drive
which should not be to hard.

Regards

Marvin Dickens
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://nashi.altmuehlnet.de/pipermail/scribus/attachments/20050215/6f8e05db/attachment.pgp
Continue reading on narkive:
Loading...