Comments (4)
Sorry, Intervention Image is based on the GD library. GD doesn't support SVG at all.
from image.
Is this feasible for you anytime soon?
from image.
Thanks for the reply, but is there a way to at least enable a method for allowing unknown filetypes? I can use SVGs in my application and they show up fine in the browser, but since i'm using Davzie's Laravel/Bootstrap, which uses Intervention/Image, it throws an exception when I upload an SVG through my CMS, so if I goto use my CMS - since it's using Intervention/Image, it will throw the error - so i'd just like to turn that off somehow - or allow for unknown filetypes even if Intervention/Image doesn't interpret the file at all.
from image.
I don't know Davzie's Laravel/Bootstrap but since it seems to be based on Laravel 4, I would handle the exception with Laravel and tell the user what's wrong. Or just limit the upload to certain file types.
from image.
Related Issues (20)
- Image size increases if the uploaded image is compressed image HOT 1
- AVIF image support has been disabled HOT 1
- Add doc block @link tags to main methods HOT 1
- Class "Intervention\Image\ImageServiceProvider" not found in intervention/image 3.3 HOT 5
- Text stroke (outlines) HOT 3
- image pattern fill question HOT 1
- imagesetthickness() in DrawLineModifier has no effect in certain environments HOT 6
- drawLine width() not working with GD driver HOT 2
- Gif Allowed memory size exhausted HOT 2
- Add possibility to read/decode Image without animation
- 256MB exhausted on "read" a 5MB image HOT 2
- compress image file which is private in AWS s3 HOT 1
- How can use stroke? HOT 1
- imagecreatefrompng(): gd-png: libpng warning: iCCP: known incorrect sRGB profile HOT 1
- Arabic Or Persian Multi Line Text is reverse HOT 2
- Unable to mock final classes HOT 1
- How to encode data URI scheme? HOT 1
- Method to check what formats are supported HOT 2
- access the core format imagemagick without getCore(); HOT 2
- Add possibility to read Imagick or GDImage instance directly with ImageManager::read() HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from image.