Message: previous - next
Month: June 2012

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

From: "E. Liddell" <ejlddll@...>
Date: Fri, 29 Jun 2012 17:08:42 -0400
On Fri, 29 Jun 2012 12:36:36 -0700 (PDT)
Darrell Anderson <humanreadable@...> wrote:

> > 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?
> Thanks for resaving. Strangely, identify still hangs with the resaved file too. I have no idea why that one 
>file causes identify to hang. I waited at several minutes and the command prompt never reappeared in konsole. 
>This is the only compressed svg in the entire source tree that does this.

I have no idea why that would have happened--I glanced at the XML, and as far as
I could tell, there was nothing syntactically wrong with the file, it was just bloated
with invisible text.

(I do have bigger SVG files on hand, but none of them were intended to be
> > 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 . . .)
> Yeah, now that I enlarge the image, kind of funny. What was up with that, I wonder? :-)

And was it something that he owned/had permission to use, or was kdesvn shipping 
with a bizarre hidden copyright violation for however many years?
> > 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.
> Would you do that please? Or convert the text to "greek" text? Whichever is easiest!
> Now that I ask that, I see two other svgz images have that same Atkins diet text. Those also probably should get converted to gray bars or "greek" text:
> hisc-action-tdesvndelete.svgz
> hisc-action-tdesvnadd.svgz

Please see if the attached file works as needed/intended.  If it does, I'll tackle the

> BTW, I just discovered a command line utility named ksvgtopng. Packaged as part of tdelibs. Works really 
>slick. If you fix those three svgz files, I can update the associated png files quite easily. :-)

Heh.  I imagine that's what the KDE devs used.

> With respect to the remaining png files in my original list, I think they all are hopeless. No original upstream 
>sources and nothing will allow even partial viewing. We have no clue what the images should look like.

So we either draw new ones or replace them with reasonably generic icons from
among those already on-hand.  Or, if they're never actually displayed anywhere,
delete them from the tree, just to be tidy.