Skip to content

Instantly share code, notes, and snippets.

@rodrigobdz
Last active January 2, 2025 11:54
Show Gist options
  • Save rodrigobdz/19cde5308c5852da3ff690d790de4cab to your computer and use it in GitHub Desktop.
Save rodrigobdz/19cde5308c5852da3ff690d790de4cab to your computer and use it in GitHub Desktop.
Convert PNG to SVG in macOS
#!/usr/bin/env bash
qlmanage -t -s 1000 -o . $1
@5jt
Copy link

5jt commented Jan 2, 2025

Produced a PNG not a SVG:

❯ qlmanage -t -s 1000 -o . tatin.png
Testing Quick Look thumbnails with files:
	tatin.png
* /Users/sjt/tmp/svg/tatin.png produced one thumbnail
Done producing thumbnails
❯ ls -l
total 16
-rw-r--r--@ 1 sjt  staff  2718  2 Jan 11:41 tatin.png
-rw-r--r--@ 1 sjt  staff  3158  2 Jan 11:51 tatin.png.png

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment