Message: previous - next
Month: June 2012

Re: [trinity-devel] Possible corrupt/unviewable images

From: "E. Liddell" <ejlddll@...>
Date: Fri, 29 Jun 2012 14:45:08 -0400
On Fri, 29 Jun 2012 11:02:18 -0700 (PDT)
Darrell Anderson <humanreadable@...> wrote:

> > 
> > tdegraphics/ksvg/test/tiger.svg

This file appears to have been written by hand rather than saved by
a vector editor and may be unidentifiable as SVG to some renderers, 
as it lacks a namespace statement or any linked DTDs or schemas.  
If tiger2.svg was not also flagged, that is almost certainly the problem.  
Open tiger.svg in a text editor, change the <svg> at the very beginning 
of the file to <svg xmlns=""> , and see if
Imagemagick accepts it then.  If it doesn't, I would suggest deleting the 
file, as it's really the same image as tiger2 (the latter has been translated 
down and right so that the entire tiger head falls within the canvas, but 
that's the only material difference as far as I can tell).

> > applications/tdesvn/src/pics/hisc-action-tdesvnaddrecursive.svgz

Re-saved this one for you.  If that doesn't help, I suspect the problem
is either whatever spammed the Adobe namespace into the file, or the use 
of some fancy features (chained clones) and/or the over 600 individual shapes
the file contains (that text on the "document" pages?  It's actual text, 
rendered as shapes, although I'm not sure I even want to know why the
original artist had a Spanish-language document on the Atkins diet handy,
or why they chose to C&P that instead of something remotely relevant
like the text of the GPL . . .)

Anyway, the visual I get from Inkscape matches hi64-action-tdesvnaddrecursive.png,
so it's probably correct.  

If this doesn't fix it, best thing to do is probably replace the text with
horizontal grey bars (it can't be read at icon-size anyway).  And not
use clones.