sindresorhus / quick-look-plugins

List of useful Quick Look plugins for developers
18.09k stars 534 forks source link

whishlist: svg images #30

Closed alesrosina closed 9 years ago

alesrosina commented 9 years ago

I'm using this software for svg images - i think i would make sense to include it on the list.

http://gapplin.wolfrosch.com/

sindresorhus commented 9 years ago

Ask them to put the Quick Look plugin on Homebrew.

Though I don't really see the point as at least OS X Yosemite supports SVG natively:

❯ qlmanage -m | grep svg
  public.svg-image -> /System/Library/QuickLook/Web.qlgenerator (675.42 - loaded)
mrh-is commented 9 years ago

OS X does support it natively, but the Gapplin plugin is better. OS X puts a ton of unnecessary whitespace around the SVG, whereas Gapplin trims that and makes the content much easier to see. On Fri, Apr 17, 2015 at 8:18 AM Sindre Sorhus notifications@github.com wrote:

Closed #30 https://github.com/sindresorhus/quick-look-plugins/issues/30.

— Reply to this email directly or view it on GitHub https://github.com/sindresorhus/quick-look-plugins/issues/30#event-283999284 .

sindresorhus commented 9 years ago

Ask them to put the Quick Look plugin on Homebrew.

Alright, happy to add it when the above is done ;)

kevva commented 9 years ago

Does it really support it natively? I've tried on two different Macbooks with the same result (a white window).

sindresorhus commented 9 years ago

@kevva I disabled all my Quick Look plugins (none which were susceptible for that functionality anyways) and qlmanage -r && qlmanage -r cache to reset everything. Still showed multiple different SVG images just fine.

kevva commented 9 years ago

Lol, weird. Might been something wrong with the image. Sounds unlikely though.

mkstix6 commented 4 years ago

Sorry, I know this is old and closed but perhaps someone found a solution; won't be offended if you ignore me.

Ye, do any of you know how to stop QuickLook showing small SVG icons like this, with a massive white area, preferably zoomed in more so the icon is bigger?

Screenshot 2020-04-24 at 18 27 54

This file has a 24px view-box:

<svg height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="m0 0h24v24 etc…</svg>