QuickLook plugin to display the dimensions and size of an image in the title bar instead of the filename. Also preview some unsupported formats like WebP & bpg.
Branch: master
Clone or download
Nyx0uf Merge pull request #35 from LucasLarson/patch-1
Try to match macOS’s behavior
Latest commit 1898004 Feb 4, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app/uti_exporter.app/Contents dpi Dec 19, 2018
common dpi Dec 19, 2018
deps update libwebp to 1.0.1 Dec 19, 2018
mdimporter dpi Dec 19, 2018
qlImageSize.xcodeproj update libwebp to 1.0.1 Dec 19, 2018
qlgenerator Try to match macOS’s behavior Feb 2, 2019
.gitignore version Mar 21, 2017
LICENSE dpi Dec 19, 2018
README.md Update README.md Jan 9, 2019
images-samples.txz dpi Dec 19, 2018

README.md

qlImageSize

This is a QuickLook plugin for OS X 10.11+ to display the dimensions of an image and its file size in the title bar.

https://static.whine.fr/images/2014/qlimagesize4.jpg

This plugin can also preview and generate Finder thumbnails for unsupported images formats like :

https://static.whine.fr/images/2014/qlimagesize3.jpg

https://static.whine.fr/images/2014/qlimagesize2.jpg

mdImageSize

It's a Spotlight plugin to display informations of unsupported images (WebP, bpg, Portable Pixmap) in the Finder's inspector window.

https://static.whine.fr/images/2014/mdimagesize1.jpg

Installation

2 choices :

Uninstall

  • Launch Terminal.app (in /Applications/Utilities)
  • Copy and paste the following line into the Terminal :

sudo rm -rf "/Library/Application Support/qlimagesize" "~/Library/QuickLook/qlImageSize.qlgenerator" "~/Library/Spotlight/mdImageSize.mdimporter"

  • Press Enter.
  • Type your password and press Enter.

Limitations

If you are a Pixelmator user, its own QuickLook plugin might get in the way when previewing WebP files. To fix this you need to edit the file /Applications/Pixelmator.app/Contents/Library/QuickLook/PixelmatorLook.qlgenerator/Contents/Info.plist and remove the dict entry that handles webp.

After editing the Info.plist, the QuickLook for Pixelmator file format (such as .pxm) might not work due to Code Signing, you can unsign the Pixelmator's QuickLook binary using this tool, unsign. After downloading and make the tool, unsign the binary inside MacOS/ , it will create another binary with the extension unsigned, rename the orignal binary for backup then remove the extension for the unsigned binary.

./unsign /Applications/Pixelmator.app/Contents/Library/QuickLook/PixelmatorLook.qlgenerator/Contents/MacOS/PixelmatorLook

License

qlImageSize is released under the Simplified BSD license, see LICENSE.