Menu

#4 convert "fails" with svg/svgz files (broken images)

open
uellue
libgallue (3)
4
2006-05-22
2006-05-22
No

Hi uellue,

the converted svg/svgz images of ImageMagick (convert)
are broken (cropped images, no color gradients or
transparent parts, ...).

PyGallue uses rsvg-convert from librsvg2-bin for the
preview images. This looks much better!

Maybe we could use it (if installed) instead of
ImageMagick for svg/svgz images?

jule

Discussion

  • uellue

    uellue - 2006-05-22
    • priority: 7 --> 4
     
  • uellue

    uellue - 2006-05-22

    Logged In: YES
    user_id=1291457

    That's a good idea! I just updated the roadmap...

    To hack the converting process in a way "if SVG then (cool
    SVG converter) elseif otherFormat (other cool converter)
    elseif ... else (default converter)" is not such a good
    idea. We could instead use rsvg-convert, dcraw and other
    converters to import images and convert them to a compatible
    intermediate format, for example TIFF (or PNG, but that's
    inefficient because of compression). This intermediate
    format could be converted, e.g. resized and rotated. If we
    want to create an instance with a format that isn't
    supported by convert, we could again export to a compatible
    format and use another filter to create the instance
    finally. In the end, this would be a complete redesign of
    the converting process (and a big improvement in regard of
    flexibility). We could, for example, add a descriptor for
    each filter in a form "accepts these fomats, can perform
    these operations, can output these formats". For a given job
    (input format, filter operations, output format) the
    converting process could search a combination of filters
    that can do the job with a minimum of effort.

    Thank you very much for the inspiration! . I don't know a
    quick workaround at the moment, so we'll have to wait until
    I implement the above algorithm.

    Dieter (aka uellue)

     

Log in to post a comment.

MongoDB Logo MongoDB
Gen AI apps are built with MongoDB Atlas
Atlas offers built-in vector search and global availability across 125+ regions. Start building AI apps faster, all in one place.