Coming soon to Catodon, something that was asked for since the Firefish days, but was never implemented: .HEIC image format support

#catodon #fediverse #heic #iphone #ios

On Photoprism Claude, and HEIC Files on a Pi

Reading Time: 2 minutes

When I migrated my Photoprism library from an HP Laptop to a Pi5 I found that there was a nine thousand photo hole in the total photo count. It's when I looked closer that I found that the gap between expected photos and actual photos is down to Photoprism and the Pi5 not playing nicely when it comes to HEIC files.

I decided to experiment with Claude AI as it is flavour of the month and the first advice it gave was "force reindex the entire library". Anyone who has played with raspberry Pi will know why that was an absurd proposition. I played along anyway and within minutes my Pi was sulking so I went for a walk, on the off chance that it would be ready when I got home. It was still sulking, and worse than that, pings took up to 30 milliseconds or more.

I tried sudo reboot, and I tried a soft reset via the button. I waited a while and when neither worked I went for a hard reboot. That's when the photo drive failed to mount properly so I rebooted the Pi properly and the drive mounted so I could continue.

The Photosync JPEG experiment

Now that we see that blind trust in Claude is misplaced we can use the human rational mind. As I saw that the photos that were missing appeared to be iphone photos I decided to change the photosync presets for uploading to the Pi5 Photoprism instance. I told it only to upload JPEGs. I refreshed the index via the web UI.

The Shell Script

Now that we determined that the HEIC files were missing and that refreshing the index was not working we went ahead with creating a shell script that would convert HEIC files to jpeg files using heif-convert.

The shell script found the HEIC files, in situ, converted them to jpeg and then deleted the HEIC files. The result is a HEIC free library.

The Result

After re-indexing the library with the jpegs we had 115,000 files, rather than 110,000 so we recovered 5000 files, out of 9000. When I explored the library this morning I saw that the iphone photos seem to be there, and that the library, especially for recent photos, is healthier.

Tensorflow Disable: True

In this situation it was necessary to disable tensorflow because it led to the Pi crashing twice, where I had to hard reset. With Immich you have granular control on what it is doing so with a Pi you can be as gentle, or as demanding as you want. If you're gentle it runs for hours, without crashing. If you're not it crashes.

Disabling tensorflow allowed me to try a final index within minutes rather than hours, or days.

And Finally

The calamity of having 9000 images, seemingly all camera phone photos missing can be quite distressing, until you realise that the missing images appear to be HEIC files. I know that I prefer to keep HEIC files, rather than converted files, when possible. With Photoprism, and a Pi5 it makes sense to keep things simple, and upload JPEGs.

Due to these circumstances I see Photoprism on the Pi as a backup solution.

#converting #heic #jpeg #pi #script #shell

Вайбкодинг на практике: пишем оптимизатор медиа архива для Windows на .BAT с помощью Gemini, ChatGPT и Qwen

Начитавшись за последние пару месяцев статей про вайбкодинг и воодушевившись, что сейчас в микрофон ноута скажу «ОК Гугл, сделай мне скрипт для кодирования фото и видео архива за 15 лет» и далее как в фильме Она (2013), нейросеть мне разберет по полочкам, то что откладывалось и накапливалось.. Я столкнулся с суровой реальность :( Но дело сделал! Поэтапное решение под катом.

https://habr.com/ru/articles/995582/

#вайбкодинг #фото #видео #cmd #bat #ffmpeg #heic #jpg #hevc #нейросети

Вайбкодинг на практике: пишем оптимизатор медиа архива для Windows на .BAT с помощью Gemini, ChatGPT и Qwen

Начитавшись за последние пару месяцев статей про вайбкодинг и воодушевившись, что сейчас в микрофон ноута скажу «ОК Гугл, сделай мне скрипт для кодирования фото и видео...

Хабр

HEIC päätteiset kuvat ei lataannu tälle instanssille? tietsikalta, kännykällä nälköjänsä onnistuu...

#heic #iPhone #kuvat

TIL: To enable HEIC preview support (apple image format, idk) for your nextcloud , you have to add it manually to the supported preview providers array in the config: https://help.nextcloud.com/t/solved-image-previews-only-working-for-heic-photos/164302/8

Edit: Looks like it has a good reason it's disabled by default: https://hackerone.com/reports/1261413 , https://github.com/nextcloud/server/pull/28079

#apple #heic #nextcloud #til #sysadmin

[Solved] Image Previews only working for HEIC photos

Looks like I do actually have to list all types. https://www.reddit.com/r/NextCloud/comments/rwu0sh/heic_preview_support/ Solved. Fixed config ends with: 'maintenance' => false, 'enable_previews' => true, 'enabledPreviewProviders' => array ( 'OC\Preview\PNG', 'OC\Preview\JPEG', 'OC\Preview\GIF', 'OC\Preview\BMP', 'OC\Preview\XBitmap', 'OC\Preview\MP3', 'OC\Preview\TXT', 'OC\Preview\MarkDown', 'OC\Preview\OpenDocument', 'OC\Preview\Krita', '...

Nextcloud community

𝗩𝗮𝗻 𝗛𝗘𝗜𝗖 𝗻𝗮𝗮𝗿 𝗝𝗣𝗘𝗚: 𝘇𝗼 𝗽𝗮𝘀 𝗷𝗲 𝗵𝗲𝘁 𝗶𝗣𝗵𝗼𝗻𝗲-𝗳𝗼𝘁𝗼𝗳𝗼𝗿𝗺𝗮𝗮𝘁 𝗮𝗮𝗻

Standaard maakt de iPhone-camera foto's in het ruimtebesparende HEIC-formaat. Wil je toch liever het JPEG-formaat gebruiken? Dat kan met de stappen in deze tip.

https://www.iculture.nl/tips/jpeg-formaat/

#HEIC #JPEG #iPhone

Voor als je vaak foto’s uitwisselt

Zo schiet je je foto’s altijd in JPEG-formaat in plaats van HEIC.

iCulture

𝗩𝗮𝗻 𝗛𝗘𝗜𝗖 𝗻𝗮𝗮𝗿 𝗝𝗣𝗘𝗚: 𝘇𝗼 𝗽𝗮𝘀 𝗷𝗲 𝗵𝗲𝘁 𝗶𝗣𝗵𝗼𝗻𝗲-𝗳𝗼𝘁𝗼𝗳𝗼𝗿𝗺𝗮𝗮𝘁 𝗮𝗮𝗻

Standaard maakt de iPhone-camera foto's in het ruimtebesparende HEIC-formaat. Wil je toch liever het JPEG-formaat gebruiken? Dat kan met de stappen in deze tip.

https://www.iculture.nl/tips/jpeg-formaat/

#HEIC #JPEG #iPhone

Voor als je vaak foto’s uitwisselt

Zo schiet je je foto’s altijd in JPEG-formaat in plaats van HEIC.

iCulture

𝗩𝗮𝗻 𝗛𝗘𝗜𝗖 𝗻𝗮𝗮𝗿 𝗝𝗣𝗘𝗚: 𝘇𝗼 𝗽𝗮𝘀 𝗷𝗲 𝗵𝗲𝘁 𝗶𝗣𝗵𝗼𝗻𝗲-𝗳𝗼𝘁𝗼𝗳𝗼𝗿𝗺𝗮𝗮𝘁 𝗮𝗮𝗻

Standaard maakt de iPhone-camera foto's in het ruimtebesparende HEIC-formaat. Wil je toch liever het JPEG-formaat gebruiken? Dat kan met de stappen in deze tip.

https://www.iculture.nl/tips/jpeg-formaat/

#HEIC #JPEG #iPhone

Voor als je vaak foto’s uitwisselt

Zo schiet je je foto’s altijd in JPEG-formaat in plaats van HEIC.

iCulture
XnView es una aplicación multiplataforma con licencia FREEWARE (SIN Adware, NO Spyware) para uso privado o educativo (incluidas organizaciones sin ánimo de lucro) que nos permite visuarlizar, editar y convertir fotografias entre distintos formatos incluidos archivos .HEIC.
https://www.enfaseterminal.com/2026/01/xn-view.html
#xnview #blogenfaseterminal #fotografia #HEIC #linux #windows

🚨 HEIC images in WordPress? Here’s what you need to know!

HEIC offers better quality at smaller file sizes, but WordPress can only process them if the Imagick PHP extension with HEIC support is enabled on your server. Without it, uploads may fail or break your galleries.

Check out our latest post to understand why HEIC isn’t supported by default and how to make it work safely on your hosting.
https://regallery.team/core/heic-support-in-wordpress-what-you-need-to-know/

#WordPress #HEIC #Imagick #WebDevelopment
#ImageOptimization