All Projects → Nyx0uf → Qlimagesize

Nyx0uf / Qlimagesize

Licence: mit
QuickLook and Spotlight plugins to display the dimensions, size and DPI of an image in the title bar instead of the filename. Also preview some unsupported formats like WebP & bpg.

Projects that are alternatives of or similar to Qlimagesize

Lqip Modern
Modern approach to Low Quality Image Placeholders (LQIP) using webp and sharp.
Stars: ✭ 85 (-92.06%)
Mutual labels:  webp, images
Lilliput
Resize images and animated GIFs in Go
Stars: ✭ 1,690 (+57.8%)
Mutual labels:  webp, images
Vanilla Lazyload
LazyLoad is a lightweight, flexible script that speeds up your website by deferring the loading of your below-the-fold images, backgrounds, videos, iframes and scripts to when they will enter the viewport. Written in plain "vanilla" JavaScript, it leverages IntersectionObserver, supports responsive images and enables native lazy loading.
Stars: ✭ 6,596 (+515.87%)
Mutual labels:  webp, images
Lozad.js
🔥 Highly performant, light ~1kb and configurable lazy loader in pure JS with no dependencies for responsive images, iframes and more
Stars: ✭ 6,932 (+547.25%)
Mutual labels:  images
Its
image transformation service
Stars: ✭ 28 (-97.39%)
Mutual labels:  images
Imagemin Module
Automatically optimize (compress) all images used in Nuxt.js
Stars: ✭ 37 (-96.55%)
Mutual labels:  images
Images Web Crawler
This package is a complete tool for creating a large dataset of images (specially designed -but not only- for machine learning enthusiasts). It can crawl the web, download images, rename / resize / covert the images and merge folders..
Stars: ✭ 51 (-95.24%)
Mutual labels:  images
Cometa
Super fast, on-demand and on-the-fly, image processing.
Stars: ✭ 8 (-99.25%)
Mutual labels:  images
Dockerfiles
Docker Projects Collection
Stars: ✭ 43 (-95.99%)
Mutual labels:  images
Sms Responsive Images
This TYPO3 extension provides ViewHelpers and configuration to render valid responsive images based on TYPO3's image cropping tool.
Stars: ✭ 35 (-96.73%)
Mutual labels:  images
Pywebp
Python bindings for WebP
Stars: ✭ 35 (-96.73%)
Mutual labels:  webp
Tator Native
Tator: The video and image annotator
Stars: ✭ 28 (-97.39%)
Mutual labels:  images
Cosha
Colorful shadows for your images. 🎨
Stars: ✭ 988 (-7.75%)
Mutual labels:  images
Isparta
APNG、WebP converter
Stars: ✭ 942 (-12.04%)
Mutual labels:  webp
Devtools Timeline Images
Extract images from Chrome DevTools report.
Stars: ✭ 44 (-95.89%)
Mutual labels:  images
Sdwebimageswiftui
SwiftUI Image loading and Animation framework powered by SDWebImage
Stars: ✭ 844 (-21.2%)
Mutual labels:  webp
Image Screenshot
download an image node along with its css properties
Stars: ✭ 40 (-96.27%)
Mutual labels:  images
Photo Affix
📷 Stitch your photos together vertically or horizontally easily!
Stars: ✭ 969 (-9.52%)
Mutual labels:  images
Onloaded
A tiny (350B) library to detect when images have loaded.
Stars: ✭ 33 (-96.92%)
Mutual labels:  images
Fileshare
Debian/Ubuntu applet for screenshots and images sharing using popular online services
Stars: ✭ 35 (-96.73%)
Mutual labels:  images

License: BSD Build Status

This project is composed of both a QuickLook plugin and a Spotlight plugin. Both are independant and can be built separately. They require at least macOS High Sierra (10.13).

qlImageSize

This is the QuickLook plugin, it displays the dimensions, DPI and file size of an image in the title bar.

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

This plugin can also preview and generate Finder thumbnails for natively unsupported images formats bpg and WebP.

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

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

mdImageSize

This is the Spotlight plugin, it displays informations of unsupported images (WebP, bpg) in the Finder's inspector window.

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

Install

3 choices :

  1. Using Homebrew Cask:
    brew cask install qlimagesize mdimagesizemdimporter
    
  2. Download the latest build from https://github.com/Nyx0uf/qlImageSize/releases/latest and save it to your ~/Library/QuickLook and/or ~/Library/Spotlight folder.
  3. Build from sources using Xcode. (just have to hit the build button).

Uninstall

2 choices :

  1. Using Homebrew Cask:
    brew cask uninstall qlimagesize mdimagesizemdimporter
    
  2. Manually :
    • Launch Terminal.app in /Applications/Utilities
    • Copy and paste the following line:
       rm -rf ~/Library/QuickLook/qlImageSize.qlgenerator ~/Library/Spotlight/mdImageSize.mdimporter
      
    • 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, QuickLook for the Pixelmator file format (such as .pxm) might not work due to Code Signing. You can unsign Pixelmator's QuickLook binary using the tool unsign. After downloading and building it, just run :

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

It will create another binary with the extension unsigned, rename the orignal binary for backup then remove the extension for the unsigned binary, ex :

mv /Applications/Pixelmator.app/Contents/Library/QuickLook/PixelmatorLook.qlgenerator/Contents/MacOS/PixelmatorLook /Applications/Pixelmator.app/Contents/Library/QuickLook/PixelmatorLook.qlgenerator/Contents/MacOS/PixelmatorLook.bak
mv /Applications/Pixelmator.app/Contents/Library/QuickLook/PixelmatorLook.qlgenerator/Contents/MacOS/PixelmatorLook.unsigned /Applications/Pixelmator.app/Contents/Library/QuickLook/PixelmatorLook.qlgenerator/Contents/MacOS/PixelmatorLook

Upgrading dependencies

libwbep

Grab the latest version. Decompress the archive and simply run :

./autogen.sh
CFLAGS="-mmacosx-version-min=10.13" ./configure --disable-shared
make

The resulting library can be found in src/.libs/libwebp.a.

libbpg

Grab the latest version. Decompress the archive and edit the Makefile with the following changes :

  • Uncomment the line which reads CONFIG_APPLE=y
  • Comment both lines USE_X265=y and USE_BPGVIEW=y

And replace the following

ifdef CONFIG_APPLE
LDFLAGS+=-Wl,-dead_strip

with

ifdef CONFIG_APPLE
LDFLAGS+=-Wl,-dead_strip
CFLAGS+=-mmacosx-version-min=10.13

Then simply run make. The resulting library will be in the project directory.

License

This project is released under the MIT license, see LICENSE.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].