You've already forked imgproxy
mirror of
https://github.com/imgproxy/imgproxy.git
synced 2025-12-01 23:11:31 +02:00
Add SVG pasthrough
This commit is contained in:
@@ -641,7 +641,7 @@ func applyFormatOption(po *processingOptions, args []string) error {
|
||||
return fmt.Errorf("Invalid image format: %s", args[0])
|
||||
}
|
||||
|
||||
if !vipsTypeSupportSave[po.Format] {
|
||||
if !imageTypeSaveSupport(po.Format) {
|
||||
return fmt.Errorf("Resulting image format is not supported: %s", po.Format)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user