BG
missing image (animated)
by Lazur - uploaded on March 21, 2018, 9:28 pm
An attemt to make the question mark look spinning.
Does it really work? Unfortunately no.
The animated object is a stroked path with no fill and somehow in the midlle it produces rendering errors at the quarter turn, resulting in a bit of flickering. Too bad.
- Tags
- 2018 blue broken link icon Lazur linked image missing image placeholder question mark raster image rendering safari square svg URH web webkit
- Safe for Work?
- Yes
Remixed from 2
Remixes
No remixes yet — be the first.
Want to remix this clipart?
- Download the SVG
- Edit it in your favourite SVG editor
- Upload with Upload Remix (links automatically)
Sources
No catalog sources linked yet.
I found this clipart!
Related Finds — Openclipart spotted in the wild. Browse all · Atom
No Finds yet.
Log in to post a Found.
Comments
@j4p4n
2018-03-22 17:32:31+00Doesn't animate on my end. Any Devs watching? User one of Lazur URH's images for error instead of small junky bitmap!
@AdamStanislav
2018-03-22 17:44:10+00It animates here. And there is no bitmap in it. What browser do you have?
@Lazur
2018-03-22 22:45:05+00This animation renders in chrome/chromium but doesn't in firefox.
Although it seems chrome degraded in some aspect of animation rendering.
Previously this renered fine in chrome but off-center in firefox: https://openclipart.org/detail/291353/kaleidoscope-animated -somehow the rotation centre is misaligned, now placed somewhere off screen?
Regarding the raster problem:
was tracing missing image/broken link images of inkscape and safari.
https://openclipart.org/detail/298748/missing-image is a blocky/optimised speed rendering trace of the one image re-rendered in the thumbnail of this clipart: https://openclipart.org/detail/279137/abstract-flower-without-stem.
If there is a raster image linked in the document and uploaded here, the renderer eventually will choose a substitute image for them (since the source is being unaccessible).
Openclipart uses inkscape 0.91 to render inkscape-drawn cliparts, while webkit for the rest.
Inkscape uses a 64 px/64 px substitute image, traced here as blocky/optimised speed rendering: https://openclipart.org/detail/298614/linked-image-not-found.
This abomination can be seen for example in this clipart's thumbnail, rendered with the default smooth rendering: https://openclipart.org/detail/294433/facebook-logo.*
If you open that clipart in inkscape, you'll have the access for that embedded raster double of the missing linked image.
Webkit uses the question mark icon. As seen in this image's thumbnail: https://openclipart.org/detail/279137/abstract-flower-without-stem -traced it as blocky before too here:https://openclipart.org/detail/298748/missing-image.
But as I don't have safari on this machine, looked up the source files of webkit instead to get to this image.
https://trac.webkit.org/browser/webkit/trunk/Source/WebCore/Resources/missingImage.png?rev=229769
(It also has a 3 times larger version, however the smallest appears in all the problematic clipart thumbnails.)
So.
@j4p4n: If you wanted developers to update their missing image handling, there are some limitations.
First, it's finding a renderer that renders the vector substitutes instead of raster ones.
Could be done probably by using symbol objects.
Would need to push that concept into inkscape and to webkit.
Inkscape features can be requested at the bugtracker at launchpad: https://launchpad.net/inkscape
Probably it would get a low priority and/or virtually no interest of a developer, so maybe it's a better idea contacting them over the irc #inkscape @freenode or joining the mailing list.
Maybe at the Hackfest in Boston in a few days?
Webkit is also available @freenode #webkit, have no idea about their feature request tracker if there is any.
That would be the first part.
Then, you'd need convincing openclipart developers (Magirly/Wolfgang at this point) to look into the issue: update the renderer engines.
Was asking him a few questions regarding thumbnail generating last October,
He told he was very overloaded at the time, though I still haven't received an answer for my questions.
(Which were by the way:
1. which inkscape version is used for generating the thumbnails (is that 0.91? can it be updated?)
2. what is the query limit for size width of thumbnails
3. is there a time limit to process a rendering
4. what are the default widths -besides 90 px, 800 px and 2400 px -is there a default width between 800 and 2400 px, for checking the largest thumbnail that got generated.
5. is the clipart in question still being processed 9 hours after the uploading?
I was uploading this processor melting filtered closeup and wanted a solution: https://openclipart.org/detail/288461/leaf-closeup
My knowledge since -openclipart uses 0.91's renderer -cairo one, but cannot process the newer sintax of gradient meshes and has issues on component transferring the alpha channel the same way.
Query limit, what is it:
the thumbnail image has an url containing 2400 in the link, namely https://openclipart.org/image/2400px/svg_to_png/298822/missingImageanim3.png for this clipart.
If 2400 is edited out manually to another value, openclipart will generate a raster image of the given number in it's width defined by pixels.
2400 px wide thumbnail image is the default.
If scripted it is a barn door for a ddos attacks and/or if there is no size limit, you could request an unreasonably large raster image which could take serious resources to process and possibly break the thumbnail generating or worse.
By the sheer number of my badly generated thumbnails I assume it's shut down not by openclipart's limits but by inkscape's access to utilise the resources. So was interested if that leaf detail started processing at all I couldn't seen on my machine. Or know if there was an automatically generated image in smaller size for checking.
As far as I know there are 4 sizes generated each time for every uploads:
90 px, 170 px, 800 px, 2400 px. If you query those by the url, they don't need extra time to be generated, they are already available on uploaded cliparts. Except for those few... like the sledgehammer: https://openclipart.org/detail/288821/sledgehammer-2 -thumbnail of 90 px generated nicely, of 2400 px only a small strip of pixels at the top of the image before shutting down.
Still don't know what is the largest that will be generated if requested.
Without an answer, may need further testing.)
Not sure if he couldn't answer out of forgetting or of technical limitations.
My vague guess is, updating the renderers could mean dumping every existing clipart thumbnail, and owerwriting them with the newly generated ones from the new renderer.
With 298894 cliparts in the database at the moment, it could take some serious time to process them.
tl;dr: even if a developer reads this, it would hardly happen any time soon.
*Making blocky looking vectors look as smooth rendered raster images is not as easy as it seems.
Probably closest would be creating a gradient mesh of the same raster yet openclipart could only render them if they were drawn with inkscape 0.91 -which is quite outdated. New version is coming out in a few weeks/months, and between 0.91 and 0.92 gradient meshes got seriously improved.
Other option would be a clever way of compositing semi-transparent gradients. Either way, takes too much effort to reproduce an ugly look.
Log in to comment.