qubes-issues
qubes-issues copied to clipboard
qvm-convert-img fails to convert SVG image
Qubes OS release
R4.2
Brief summary
Try to convert
Steps to reproduce
Download Whonix-logo.svg.
curl -O https://www.whonix.org/w/images/1/19/Whonix-logo.svg
Try to convert image:
qvm-convert-img Whonix-logo.svg Whonix-logo.safe.svg
Expected behavior
Command qvm-convert-img
converts the image.
Actual behavior
gm identify: No decode delegate for this image format (/tmp/qimg-7C8BP9Rv.png).
gm identify: Request did not return an image.
Traceback (most recent call last):
File "/usr/lib/qubes/qimg-convert-client", line 50, in <module>
main()
File "/usr/lib/qubes/qimg-convert-client", line 44, in main
img = qubesimgconverter.Image.get_through_dvm(args.src)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/qubesimgconverter/__init__.py", line 320, in get_through_dvm
return cls.get_from_stream(sys.stdin.buffer, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/qubesimgconverter/__init__.py", line 197, in get_from_stream
raise ValueError('No icon received')
ValueError: No icon received
Converting the qubes-logo-home.svg works while the Whonix-logo.svg fails.
Converting the qubes-logo-home.svg works while the Whonix-logo.svg fails.
Just wanted to double check. Did you also try to convert qubes-logo-home.svg
from svg to svg? Because it should also fail.
Converting the qubes-logo-home.svg works while the Whonix-logo.svg fails.
Just wanted to double check. Did you also try to convert
qubes-logo-home.svg
from svg to svg? Because it should also fail.
Although I named the output file .svg
, the conversion is always from svg to png (I believe, due to rsvg-convert). Yes, converting the Qubes logo from svg to png works, even if the file extension is svg.