Decide how to handle HEIF files
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Idoneità per principianti
- 25/100
- Tipo di issue
- Documentazione
- Chiarezza
- Da chiarire
- Stato di attività
- Attiva
- Stack tecnologico
- macos, shell
- Ambito
- developer-experience
Direzione di ricerca
The issue body holds the working notes: switching Screenshot's Capture Format back to PNG, a defaults write com.apple.screencapture type png command, and sips/ImageMagick conversion commands. The title asks for a decision, and the payload never says whether that means a config change, a script, or a doc page, so confirm with the maintainer first. Done means the chosen approach is recorded and the commands are checked on a Mac running Tahoe.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
The HEIF switch comes from an HDR screenshot option Apple added in Tahoe. On supported Macs running macOS Tahoe 26 or later, if the Capture Format setting in the Screenshot app is set to HDR, screenshots are captured in HEIF format and screen recordings in HEVC. On some Macs, the system prompts you during a capture to switch to an HDR format, and after that every screenshot is saved as HEIC. That is probably how it got turned on for you.
Switching back to PNG
Press ⌘⇧5, open Options, and set Capture Format to SDR (Most Compatible). That menu switches between SDR, which saves PNG, and HDR, which saves HEIF/HEIC.
You can also set it from the terminal:
defaults write com.apple.screencapture type png
killall SystemUIServer screencaptureui 2>/dev/null
The type key is undocumented by Apple and may be ignored on newer macOS versions, including some Tahoe installations, so the menu setting is the one that reliably controls the format.
Converting existing HEIC files
sips is built into macOS and uses Apple's own decoder:
for f in *.heic; do sips -s format png "$f" --out "${f%.heic}.png"; done
With ImageMagick 7 (the Homebrew build includes libheif):
magick -list format | grep -i heic # confirm HEIC support
magick in.heic -depth 8 out.png # single file
magick mogrify -format png -depth 8 *.heic # batch, writes next to originals
Use -depth 8 because HDR captures are 10-bit, and without it ImageMagick may write 16-bit PNGs that are about twice the size.
With libheif directly: heif-dec in.heic out.png. Older versions name the tool heif-convert.
PNG can't store HDR, so every one of these tools will compress the bright highlights into the normal brightness range. If ImageMagick's output looks too bright or too dull, try sips, which uses the same image framework as Preview.
- Lingua principale
- Shell
- Stelle
- 1
- Fork
- 0
- Merge medio
- 9h 5m
- PR unite (30g)
- 5
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Nessuna guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di indexzero/dotfiles
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 56/100
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 42/100
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 39/100
-
Easy to remember one-linersAperta
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 48/100
Tutte le issue di indexzero/dotfiles
Issue simili
-
kind/bug/report meta/needs triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
docker-mailserver/docker-mailserver#4831 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 72/100
bigbluebutton/docker#403 ·
-
Exif extensionAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 67/100
getgrav/docker-grav#68 ·
-
Hyprland 0.57: monitor-workspaces reconcile errors on every start and reload when a named workspace exists (workspace.id is nil)Forse già presa @jasasonc l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
priority middle
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 62/100
KATO-Hiro/AtCoderClans#12940 ·
I maintainer di solito rispondono entro 1 giorno