Giter Site home page Giter Site logo

ellogon / svg2svs Goto Github PK

View Code? Open in Web Editor NEW
7.0 7.0 0.0 460 KB

Utilities to generate a checkerboard and build multi-layer pyramidal .svs files from Scalable Vector Graphics images.

License: Apache License 2.0

Makefile 4.08% C++ 81.88% Python 14.04%
checkerboard svg svs tiles vips

svg2svs's People

Contributors

lromor avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

svg2svs's Issues

VipsOperation: class "svgload" not found

I installed the dependencies, ran make (no errors or warnings) , and ran the python script to generate checkerboard.svg.
I get an error when trying to create the svs file as follows:

❯ python generate_svg_checkerboard.py  --divisions=10 --subdivisions=10 checkerboard.svg

❯ ls checkerboard.svg
checkerboard.svg

❯ ./svg2svs -l 4,16,48 checkerboard.svg checkerboard.svs

terminate called after throwing an instance of 'vips::VError'
  what():  VipsOperation: class "svgload" not found

❯ vips -v
vips-8.10.6-Tue Mar 23 20:52:58 UTC 2021

Don't know my libvips-dev version though, not sure how to find out.
I am using Ubuntu 20.04.

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.