Re: [Inkscape-devel] Import form openclipart

Hello!
:/ strange my gmail sent this message to pvt e-mail not to list probably. I'f i'm wrong excuse me for the dupe.
This is a bug on OCAL's side. We tried to find someone to fix it on their side and we failed.
It is very possible that I don't understand the real problem, but from my (user) point of view there are bug on both sides, as I wrote on previous message.
Inkscape is importing *only one*, and always *only first* image uploaded to OCAL. And this is IMO a bug in Inkscape. If OCAL supports more than one version of image, and many of them can be SVG files, Inkscape should ask user which one (s)he want's to import. It is possible that somebody will upload a set called: "John Example" and inside you will find files: John Example (SVG) John Example Monochrome (SVG) John Example Manga Style (SVG) Rasterized John Example (PNG)
Inkscape should ask what version of Mr. Example you want to import.
You can say, ppl should not upload various version of picture into one "set". Maybe, but they probably will if they can, and IMO Inkscape and OCAL should work with this, because *software should be for users* not vice versa.
Other bug in OCAL is that it can show thumbnail only if PNG file is first. Yes it is a bug in OCAL which maybe will be killed (a bug) someday.

Hi,
The question of the OCAL importer has already been discussed and as far as I remember the only possible way to make it work correctky is to detect the amount of files in each entry and let the user choose what file to import.
OCAL is based on CCHOST, a system that allows users to submit several files under one entry. In OCAL it has been decided to ALWAYS have a bitmap as the default (first) file in the list because it will be used as the thumbnail. The other files would be SVG (different versions of the same entry, etc...).
Until now, a lot of entries have only the SVG file but not the thumbnail. It is because lots of users just don't upload them, and these are the only entries that open as SVG in Inkscape. Also, there is work undergoing on OCAL to make the thumbnail generation automatic. Once this would be done, EVERY entry will have a bitmap thumbnail as the default (first) file and therefore the OCAL importer will then open ONLY bitmaps.
So the bug is only on the importer side because it never suggested the possibility to have more than one file per entry. OCAL is not to blame.
Mo.
----- Original Message ----- From: "Jakub Klawiter" <jklawiter@...400...> To: inkscape-devel@lists.sourceforge.net Sent: Monday, June 30, 2008 8:55 PM Subject: Re: [Inkscape-devel] Import form openclipart
Hello!
:/ strange my gmail sent this message to pvt e-mail not to list probably. I'f i'm wrong excuse me for the dupe.
This is a bug on OCAL's side. We tried to find someone to fix it on their side and we failed.
It is very possible that I don't understand the real problem, but from my (user) point of view there are bug on both sides, as I wrote on previous message.
Inkscape is importing *only one*, and always *only first* image uploaded to OCAL. And this is IMO a bug in Inkscape. If OCAL supports more than one version of image, and many of them can be SVG files, Inkscape should ask user which one (s)he want's to import. It is possible that somebody will upload a set called: "John Example" and inside you will find files: John Example (SVG) John Example Monochrome (SVG) John Example Manga Style (SVG) Rasterized John Example (PNG)
Inkscape should ask what version of Mr. Example you want to import.
You can say, ppl should not upload various version of picture into one "set". Maybe, but they probably will if they can, and IMO Inkscape and OCAL should work with this, because *software should be for users* not vice versa.
Other bug in OCAL is that it can show thumbnail only if PNG file is first. Yes it is a bug in OCAL which maybe will be killed (a bug) someday.

Hello!
On Tue, Jul 1, 2008 at 2:18 PM, <momo@...1386...> wrote:
The question of the OCAL importer has already been discussed and as far as I remember the only possible way to make it work correctky is to detect the amount of files in each entry and let the user choose what file to import.
IMO it is best option. because of PNG thumbnail, and because of OCAL's entries like this: http://openclipart.org/media/files/nicubunu/6813
or this one: http://openclipart.org/media/files/MrBordello/7811
And once again, maybe PPL should not upload various images into one set, but hey, they will also should not: - work with administrator privileges - stick bank account password to keyboard - send a message as power point attachement
and many, many other things which ppl are doing every day ;-)
Import form OCAL is great feature in inkscape, now IMO it should be useable in natural way for users both of OCAL, and Inkscape.

Jakub Klawiter wrote:
Hello!
On Tue, Jul 1, 2008 at 2:18 PM, <momo@...1386...> wrote:
The question of the OCAL importer has already been discussed and as far as I remember the only possible way to make it work correctky is to detect the amount of files in each entry and let the user choose what file to import.
IMO it is best option. because of PNG thumbnail, and because of OCAL's entries like this: http://openclipart.org/media/files/nicubunu/6813
Not because the image is mine, but this is what I think is good use of sets.
or this one: http://openclipart.org/media/files/MrBordello/7811
And this bad use.
And once again, maybe PPL should not upload various images into one set, but hey, they will also should not:
Not quite, the opinion at OCAL is that uploading in sets is a good thing when the images are very similar, like you have one blue flower and *exactly* the same colored in red. Otherwise it would only increase the image count. If you think this is bad, probably we can talk about this on the OCAL list (even if some of us are subscribed also here).
- work with administrator privileges
- stick bank account password to keyboard
- send a message as power point attachement
and many, many other things which ppl are doing every day ;-)
Import form OCAL is great feature in inkscape, now IMO it should be useable in natural way for users both of OCAL, and Inkscape.

Hello!
On Wed, Jul 2, 2008 at 7:49 AM, Nicu Buculei <nicu_gfx@...726...> wrote:
amount of files in each entry and let the user choose what file to import.
IMO it is best option. because of PNG thumbnail, and because of OCAL's entries like this: http://openclipart.org/media/files/nicubunu/6813
Not because the image is mine, but this is what I think is good use of sets.
I agree, this is good way, and that is not. But i'm trying to say something else.
Software should not force people to make things in one "correct" way, or if it (software) wants to do it it should block/correct user every time he wants to do anything against rules. On OCAL side it means: - you can upload only one file by type into set (one png, one svg), and the server sort's it everytime first PNG than svg. It's not good because "sets" are good, or at least can be something good or - you can upload as many files as you want. If there is a raster one it will be used as thumbnail, and set to first position or IMO best option - you can upload as many SVGs (and not other file types) as you want into set, and server will than generate thumbnails from it to show them on webpage in a way: one SVG -> one thumbnail, and those thumbnails are not part of the set so they are invisible via API. It is a part on what you as inkscape developers have no influence, but probably OCAL's API will not change when it can generate thumbnails, so you can do everything best with existing situation, which probably will work correct when OCAL side will lvl up in userfriendly skill.
On the inkscape side software should give as much as possible from data. So best option is that if i'm searching for 'statue' in import dialog i should get:
- RPG map symbols: Statue (SET) - Statue of Liberty - Statue of Liberty - Statue of Liberty NY - Statue not existing in OCAL (PNG ONLY!) (...)
if i'll select the first one inkscape should show a dialog with: title: RPG map symbols: Statue (SET) - color (svg) - outline (svg)
Or best a window like this: http://wariat.org.pl/smietnik/Import%20from%20OCAL%20concept%20dialog.svg
This way i can access every SVG stored in OCAL, and IMO it is the most userfriendly way to do this.
Not quite, the opinion at OCAL is that uploading in sets is a good thing when the images are very similar, like you have one blue flower and *exactly* the same colored in red. Otherwise it would only increase the image count.
It is what i'm talking about. Rules says that ppl should upload files into one set only if they are similar, and ppl are doing something else. It does not matter what kind of building SVG set is good what is bad. Now inkscape has no funcionality to import anything from "set" and this is IMO BadThingTM, and Inkscape Bug or if you like lack of functionality.
If you think this is bad, probably we can talk about this on the OCAL list (even if some of us are subscribed also here).
Now I'm talking about Inkscape import functionality, if it is needed I can also subscribe OCAL list, but from my point of view most important is to know what Inkscape developers are thinking about the case.
participants (3)
-
unknown@example.com
-
Jakub Klawiter
-
Nicu Buculei