/qlImageSize

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.

Primary LanguageObjective-COtherNOASSERTION

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

  • Download the .pkg installer here.
  • Open it.
  • Follow the steps. (you will be asked for an admin password)

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.

Twitter : @Nyx0uf