in reply to SVG to many PNG problem

A bigger problem is that the output file is a different size each time.
Considering that you are taking a fixed vector graphic, and translating it to a compressed bitmapped format changing only the scale, getting different sized outputs is to be expected, isn't?

Replies are listed 'Best First'.
Re^2: SVG to many PNG problem
by stabu (Scribe) on May 01, 2009 at 15:47 UTC
    that's an interesting comment. Yes, it shouldn't be a problem. It is quite definitely a feature of SVG, an essential key to its flexibility. So even more than expecting it, I should have been looking forward to it.

    I'm just looking for the right programming manner in which to express that flexibility. Many features become problems due to a context or situation with unaligned constraints. Choosing Image::LibRSVG and its comparatively small number of methods is just such a situation. And I mean my choice of the module, not the module itself ... I'm taking about the design decision.

    I'm not sure I should apologise though. It's just far too common a perspective to take. At best I was cavalier in calling it a problem. At worst, careless. I could have made two spelling mistakes instead, I don't think it would be graver.
      It is quite definitely a feature of SVG, an essential key to its flexibility.
      You've lost me here. Considering that you are writing PNG files, what does that have to do with SVG features?