Récupérer les informations EXIF d'une image en PHP - Récupérer la résolution dpi d'une image |
| Jeudi, 21 Janvier 2010 17:31 | |||||
Page 2 sur 2
Ci-dessous un exemple de code php pour obtenir une indication sur la résolution dpi d'une image :<br/><?php Quelques informations concernant XResolution et YResolution dans IFD0 XResolution The number of pixels per ResolutionUnit in the ImageWidth direction. When the image resolution is unknown, 72 [dpi] is designated. Tag = 282 (11A.H) Type = RATIONAL Count = 1 Default = 72 YResolution The number of pixels per ResolutionUnit in the ImageLength direction. The same value as XResolution is designated. Tag = 283 (11B.H) Type = RATIONAL Count = 1
|