Twitter iPhone pliant OnePlus 11 PS5 Disney+ Orange Livebox Windows 11

exif problème d'encodage

14 réponses
Avatar
Une Bévue
Bonjour,

je lis (via php) les infos exif d'une image prise par un téléphone
Samsung SM-N7505.

quand je lis ça au terminal j'ai une ligne "Comment" avec un caractère
mal encodé (???) :
Comment : File written by Adobe Photoshop� 5.0
-----------------------------------------------------------------^-----

du coup je ne peux pas lire, avec php, les autres données.

mais je pourrais demander à exiftool de transcoder, quelqu'un a une idée
du codaage utilisé pour produire cette erreur ?

une autre info des métadonnéess :
ExifByteOrder : Little-endian (Intel, II)


au cas où bous auriez quelque lumière.

le fichier en question est une photo prise par un téléphone et envoyée
par email, je ne vois pas ce que fais photoshop là-dedans (c'est moi qui
me suis envoyé la photo) ?

4 réponses

1 2
Avatar
Olivier Miakinen
Le 16/12/2016 11:12, Une Bévue a écrit :
Essaye :
-charset exif=MacRoman
-charset iptc=MacRoman
-charset id3=MacRoman
-charset photoshop=MacRoman
-charset quicktime=MacRoman

toujours :
Comment : File written by Adobe Photoshop� 5.0

Et :
-charset 20161202_085945.jpg=MacRoman
?
--
Olivier Miakinen
Avatar
Olivier Miakinen
Le 16/12/2016 11:18, j'écrivais :
Et :
-charset 20161202_085945.jpg=MacRoman
?

Ah, je crois que c'est sans espoir.
<cit. http://www.sno.phy.queensu.ca/~phil/exiftool/faq.html#Q10>
JPEG Comment: The encoding for the JPEG Comment (COM segment) is not
specified, so ExifTool reads/writes this text without conversion.
</cit.>
À moins que peut-être :
-charset JPEG=MacRoman
ou :
-charset COM=MacRoman
?
--
Olivier Miakinen
Avatar
Une Bévue
Le 16/12/2016 à 11:18, Olivier Miakinen a écrit :
Et :
-charset 20161202_085945.jpg=MacRoman
?

ça me donne le man d'exifttol ))
Avatar
Une Bévue
Le 16/12/2016 à 11:24, Olivier Miakinen a écrit :
Ah, je crois que c'est sans espoir.

me 2...
<cit. http://www.sno.phy.queensu.ca/~phil/exiftool/faq.html#Q10>
JPEG Comment: The encoding for the JPEG Comment (COM segment) is not
specified, so ExifTool reads/writes this text without conversion.
</cit.>

bon !
À moins que peut-être :
-charset JPEG=MacRoman
ou :
-charset COM=MacRoman

que dalle !
arrêtons d'user le soleil !
1 2