mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-13 21:21:27 +00:00
add converters for image/svg+xml
This commit is contained in:
parent
a067cc9949
commit
eb51882726
|
@ -55,6 +55,9 @@ image/jpg
|
||||||
image/jpeg
|
image/jpeg
|
||||||
convert -density 300 '%f' 'pdf:%o'
|
convert -density 300 '%f' 'pdf:%o'
|
||||||
|
|
||||||
|
image/svg+xml
|
||||||
|
cairosvg -f pdf -o '%o' '%f'
|
||||||
|
|
||||||
application/vnd.ms-powerpoint
|
application/vnd.ms-powerpoint
|
||||||
application/vnd.openxmlformats-officedocument.presentationml.presentation
|
application/vnd.openxmlformats-officedocument.presentationml.presentation
|
||||||
application/vnd.oasis.opendocument.presentation
|
application/vnd.oasis.opendocument.presentation
|
||||||
|
@ -93,6 +96,9 @@ image/jpeg
|
||||||
image/png
|
image/png
|
||||||
convert -resize %wx '%f' 'png:%o'
|
convert -resize %wx '%f' 'png:%o'
|
||||||
|
|
||||||
|
image/svg+xml
|
||||||
|
cairosvg -f png --output-width %w -o '%o' '%f'
|
||||||
|
|
||||||
text/plain
|
text/plain
|
||||||
convert -density 100 -resize %wx 'text:%f[0]' 'png:%o'
|
convert -density 100 -resize %wx 'text:%f[0]' 'png:%o'
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user