Git Product home page Git Product logo

Comments (7)

AngusJohnson avatar AngusJohnson commented on May 28, 2024 1

OK, in the zip file below, I've just added in limited support for raster images in SVG files.
Images must be embedded (based64 encoded) in the SVG.
Only embedded JPG and PNG images are supported, and external images will not be rendered.
This needs a little more testing before I upload to the repository.
Img32_draft2.zip

from image32.

AngusJohnson avatar AngusJohnson commented on May 28, 2024

There are lots of things I'd like to do with SVG, including rewriting it (because the code is messy and not very well thought out).
However, I'm very occupied with another project so I doubt I'll be doing much with this library except simple and important fixes for several months at least. So, while your request is very reasonable, I'm unlikely to consider implementing it for some time. Sorry.

from image32.

tomwiel avatar tomwiel commented on May 28, 2024

Thank you. I don't know what parts could need a rewrite, but the result is already impressive...

from image32.

tomwiel avatar tomwiel commented on May 28, 2024

Yes, the first version already works (tested with registered TPngImage, TjpegImage)
Some limitations found: image-draw inside of rotated svg; and if image is declared in defs-tag (like this). (probably known)

from image32.

AngusJohnson avatar AngusJohnson commented on May 28, 2024

Some limitations found.

Yep, thanks. Try the latest revision.

from image32.

tomwiel avatar tomwiel commented on May 28, 2024

The additions have helped a lot. Do you have also plans for affine transformation of the element-image?

from image32.

AngusJohnson avatar AngusJohnson commented on May 28, 2024

The additions have helped a lot. Do you have also plans for affine transformation of the element-image?

No. Sorry.

from image32.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.