module Cooltrainer::DistorteD::Molecule::SVG
Constants
- LOWER_WORLD
- OUTER_LIMITS
WISHLIST: Support VML for old IE compatibility.
Example: RaphaëlJS — https://en.wikipedia.org/wiki/Rapha%C3%ABl_(JavaScript_library)
Public Instance Methods
to_vips_image()
click to toggle source
# File lib/distorted/media_molecule/svg.rb, line 30 def to_vips_image # NOTE: libvips 8.9 added the `unlimited` argument to svgload. # Loading SVGs >= 10MiB in size will fail on older libvips. # https://github.com/libvips/libvips/commit/55e49831b801e05ddd974b1e2102fda7956c53f5 @vips_image ||= Vips::Image.new_from_file(path) end