{"id":13512055,"url":"https://github.com/Nyx0uf/qlImageSize","last_synced_at":"2025-03-30T22:31:57.412Z","repository":{"id":2360225,"uuid":"3323812","full_name":"Nyx0uf/qlImageSize","owner":"Nyx0uf","description":"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 \u0026 bpg.","archived":false,"fork":false,"pushed_at":"2023-03-03T06:58:30.000Z","size":29375,"stargazers_count":1202,"open_issues_count":1,"forks_count":67,"subscribers_count":55,"default_branch":"master","last_synced_at":"2025-03-25T14:09:16.869Z","etag":null,"topics":["bpg","images","objective-c","quicklook","quicklook-plugin","webp"],"latest_commit_sha":null,"homepage":"","language":"Objective-C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"corylanou/go-meetup-events","license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Nyx0uf.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2012-02-01T10:17:24.000Z","updated_at":"2025-03-24T23:36:10.000Z","dependencies_parsed_at":"2023-07-05T16:15:33.928Z","dependency_job_id":null,"html_url":"https://github.com/Nyx0uf/qlImageSize","commit_stats":{"total_commits":197,"total_committers":14,"mean_commits":"14.071428571428571","dds":0.5025380710659899,"last_synced_commit":"41082059f6b0d57609a60aa27b7127552e17708f"},"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nyx0uf%2FqlImageSize","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nyx0uf%2FqlImageSize/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nyx0uf%2FqlImageSize/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nyx0uf%2FqlImageSize/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Nyx0uf","download_url":"https://codeload.github.com/Nyx0uf/qlImageSize/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246390896,"owners_count":20769475,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bpg","images","objective-c","quicklook","quicklook-plugin","webp"],"created_at":"2024-08-01T03:01:27.304Z","updated_at":"2025-03-30T22:31:52.403Z","avatar_url":"https://github.com/Nyx0uf.png","language":"Objective-C","readme":"# This project is not maintained anymore, it has been killed by macOS 10.15, see issues for details.\n\n![License: BSD](https://img.shields.io/badge/license-BSD-blue.svg?style=flat) [![Build Status](https://travis-ci.com/Nyx0uf/qlImageSize.svg?branch=master)](https://travis-ci.com/Nyx0uf/qlImageSize)\n\nThis project is composed of both a **QuickLook** plugin and a **Spotlight** plugin. Both are independant and can be built separately.\nThey require at least *macOS High Sierra (10.13)*.\n\n# qlImageSize\n\nThis is the **QuickLook** plugin, it displays the dimensions, DPI and file size of an image in the title bar.\n\n![https://static.whine.fr/images/2014/qlimagesize4.jpg](https://static.whine.fr/images/2019/qlimagesize1.jpg)\n\nThis plugin can also preview and generate *Finder* thumbnails for natively unsupported images formats [bpg](http://bellard.org/bpg/ \"bpg\") and  [WebP](https://developers.google.com/speed/webp/ \"WebP\").\n\n![https://static.whine.fr/images/2014/qlimagesize3.jpg](https://static.whine.fr/images/2014/qlimagesize3.jpg)\n\n![https://static.whine.fr/images/2014/qlimagesize2.jpg](https://static.whine.fr/images/2014/qlimagesize2.jpg)\n\n\n# mdImageSize\n\nThis is the **Spotlight** plugin, it displays informations of unsupported images (**WebP**, **bpg**) in the Finder's inspector window.\n\n![https://static.whine.fr/images/2014/mdimagesize1.jpg](https://static.whine.fr/images/2014/mdimagesize1.jpg)\n\n\n# Install\n\n3 choices :\n\n1. Using [Homebrew Cask](https://brew.sh/): \n    ```\n    brew install --cask qlimagesize mdimagesizemdimporter\n    ```\n2. Download the latest build from https://github.com/Nyx0uf/qlImageSize/releases/latest and save it to your `~/Library/QuickLook` and/or `~/Library/Spotlight` folder.\n3. Build from sources using Xcode. (just have to hit the build button).\n\n\n# Uninstall\n\n2 choices :\n\n1. Using [Homebrew Cask](https://brew.sh/):\n    ```\n    brew uninstall --cask qlimagesize mdimagesizemdimporter\n    ```\n2. Manually :\n    - Launch *Terminal.app* in `/Applications/Utilities`\n    - Copy and paste the following line:\n\t\t```\n\t\trm -rf ~/Library/QuickLook/qlImageSize.qlgenerator ~/Library/Spotlight/mdImageSize.mdimporter\n\t\t```\n    - Press \u003ckbd\u003eEnter\u003c/kbd\u003e.\n\n\n# Limitations\n\nIf 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**.\n\nAfter 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](https://github.com/steakknife/unsign). After downloading and building it, just run :\n\n\tunsign /Applications/Pixelmator.app/Contents/Library/QuickLook/PixelmatorLook.qlgenerator/Contents/MacOS/PixelmatorLook`.\n\nIt will create another binary with the extension **unsigned**, rename the orignal binary for backup then remove the extension for the unsigned binary, ex :\n\n\tmv /Applications/Pixelmator.app/Contents/Library/QuickLook/PixelmatorLook.qlgenerator/Contents/MacOS/PixelmatorLook /Applications/Pixelmator.app/Contents/Library/QuickLook/PixelmatorLook.qlgenerator/Contents/MacOS/PixelmatorLook.bak\n\tmv /Applications/Pixelmator.app/Contents/Library/QuickLook/PixelmatorLook.qlgenerator/Contents/MacOS/PixelmatorLook.unsigned /Applications/Pixelmator.app/Contents/Library/QuickLook/PixelmatorLook.qlgenerator/Contents/MacOS/PixelmatorLook\n\n\n# Upgrading dependencies\n\n### libwbep\n\nGrab the [latest version](https://github.com/webmproject/libwebp/releases). Decompress the archive and simply run :\n\n\t./autogen.sh\n\tCFLAGS=\"-mmacosx-version-min=10.13\" ./configure --disable-shared\n\tmake\n\nThe resulting library can be found in *src/.libs/libwebp.a*.\n\n### libbpg\n\nGrab the [latest version](https://bellard.org/bpg/). Decompress the archive and edit the `Makefile` with the following changes :\n\n- Uncomment the line which reads `CONFIG_APPLE=y`\n- Comment both lines `USE_X265=y` and `USE_BPGVIEW=y`\n\nAnd replace the following\n\n\tifdef CONFIG_APPLE\n\tLDFLAGS+=-Wl,-dead_strip\n\nwith \n\n\tifdef CONFIG_APPLE\n\tLDFLAGS+=-Wl,-dead_strip\n\tCFLAGS+=-mmacosx-version-min=10.13\n\nThen simply run `make`. The resulting library will be in the project directory.\n\n# License\n\nThis project is released under the *MIT license*, see **LICENSE**.\n","funding_links":[],"categories":["Objective-C","Plugins"],"sub_categories":["Using [HomeBrew Cask](http://caskroom.github.io/)","[qlImageSize](https://github.com/Nyx0uf/qlImageSize)"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FNyx0uf%2FqlImageSize","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FNyx0uf%2FqlImageSize","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FNyx0uf%2FqlImageSize/lists"}