pigallery2 icon indicating copy to clipboard operation
pigallery2 copied to clipboard

Unable to read City from Iptc tag when it equals 14 Cyrillic chars

Open SmartFinn opened this issue 3 years ago • 2 comments

Describe the bug

I faced with really weird bug. The bug is coming from https://github.com/bpatrik/ts-node-iptc

This happens when city in IPTC tags equal 14 Cyrillic chars. It's strange because with 13 (Старомлинівка) and 15 (Завітне бажання) characters it works as expected.

Here is a list of real Ukrainian villages, for testing:

Олександроград
Старомайорське
Новомиколаївка
Новогригорівка

Photo/video (optional) that causes the bug

photos_city_14_cyrillic_chars.zip

Screenshots (optional)

image image

Used app version:

  • docker-nightly

SmartFinn avatar Mar 13 '23 18:03 SmartFinn

It works with ExifReader: image

SmartFinn avatar Mar 13 '23 18:03 SmartFinn

that looks very odd. I eventually want to update the MetadataLoader #277. Although I don't know when will that happen. Probably not in the next 6 months. I'm not sure how much I would want to invest in fixing something like this.

bpatrik avatar Mar 13 '23 22:03 bpatrik

@SmartFinn

If you build from source now, it seems to work. Here are my results:

image image image

grasdk avatar Mar 07 '24 23:03 grasdk

@grasdk I just tested with docker edge-alpine image. Now, it works as expected. Thank you!

SmartFinn avatar Mar 10 '24 11:03 SmartFinn