mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-12 04:31:32 +00:00
add conversion for application/x-xopp
This commit is contained in:
parent
8854ae5543
commit
9e6573ecc7
|
@ -78,6 +78,14 @@ message/rfc822
|
||||||
text/plain
|
text/plain
|
||||||
iconv -c -f utf-8 -t latin1 '%f' | a2ps -1 -q -a1 -R -B -o - - | ps2pdf - -
|
iconv -c -f utf-8 -t latin1 '%f' | a2ps -1 -q -a1 -R -B -o - - | ps2pdf - -
|
||||||
|
|
||||||
|
application/x-xopp
|
||||||
|
|
||||||
|
xournalpp -p "%o" "%f"
|
||||||
|
|
||||||
|
Converting from application/x-xopp to pdf only works if the xopp file
|
||||||
|
does not use a pdf document as a background, because this pdf is not
|
||||||
|
stored in the xopp fіle.
|
||||||
|
|
||||||
Conversion to png for preview images
|
Conversion to png for preview images
|
||||||
=====================================
|
=====================================
|
||||||
|
|
||||||
|
@ -150,3 +158,10 @@ video/mp4
|
||||||
audio/mpeg
|
audio/mpeg
|
||||||
|
|
||||||
sox "%f" -n spectrogram -x 600 -Y 550 -r -l -o - | convert -resize %wx png:- "png:%o"
|
sox "%f" -n spectrogram -x 600 -Y 550 -r -l -o - | convert -resize %wx png:- "png:%o"
|
||||||
|
|
||||||
|
application/x-xopp
|
||||||
|
xournalpp -i "%o" --export-png-width=%w "%f"
|
||||||
|
|
||||||
|
Converting from application/x-xopp to png only works if the xopp file
|
||||||
|
does not use a pdf document as a background, because this pdf is not
|
||||||
|
stored in the xopp fіle.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user