Page 1 of 1

EXIF information to complete

Posted: 30 Aug 2012, 09:04
by Zébulon-21
Hello,

Here on this link to update the French translation file component 3.2.1 for Joomla 2.5 PhocaGallery.

It seems to me that EXIF data is missing in this translation on the lens model.
This information is contained in the photo file with this code:

<aux:Lens> EF24-70mm f/2.8L USM </ to: Lens>

Is it possible to display this information in <aux:Lens> PhocaGallery?

Can you specify the code that should be added?

Thank you for your help and congratulations for the quality of the component PhocaGallery. :twisted:

Re: EXIF information to complete

Posted: 03 Sep 2012, 18:57
by Zébulon-21
Hello,

I raise this topic of interest to professionals and amateurs picture.

Is it possible with phoca Gallery to view the model of lens used for the photo ?

What code needs to be changed to achieve this ?

Thank you in advance for the information.

Re: EXIF information to complete

Posted: 19 Sep 2012, 10:05
by Jan
Hi, the exif feature should display all the information stored in exif data of the picture - those which are known are formated, all other only listed. :idea:

Jan

Re: EXIF information to complete

Posted: 19 Sep 2012, 10:45
by Zébulon-21
OK thank you for the answer.

If I understand correctly, it is only EXIF information found standard on all brands of cameras ?

For example, if you want to view the model of the target (line 94), you must add code to PhocaGallery.

In that case would you be kind enough to indicate the method, then we adapt according to each case.

Code: Select all

<?xpacket begin="" id="W5M0MpCehiHzreSzNTczkc9d"?>
<x:xmpmeta xmlns:x="adobe:ns:meta/" x:xmptk="Adobe XMP Core 4.2.2-c063 53.352624, 2008/07/30-18:12:18        ">
   <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
      <rdf:Description rdf:about=""
            xmlns:exif="http://ns.adobe.com/exif/1.0/">
         <exif:ApertureValue>5310704/1000000</exif:ApertureValue>
         <exif:ColorSpace>65535</exif:ColorSpace>
         <exif:CustomRendered>0</exif:CustomRendered>
         <exif:DateTimeDigitized>2012-09-12T15:25:31+00:30</exif:DateTimeDigitized>
         <exif:DateTimeOriginal>2012-09-12T15:25:31+00:30</exif:DateTimeOriginal>
         <exif:ExifVersion>0221</exif:ExifVersion>
         <exif:ExposureBiasValue>0/1</exif:ExposureBiasValue>
         <exif:ExposureMode>0</exif:ExposureMode>
         <exif:ExposureProgram>2</exif:ExposureProgram>
         <exif:ExposureTime>1/100</exif:ExposureTime>
         <exif:FNumber>63/10</exif:FNumber>
         <exif:FlashpixVersion>0100</exif:FlashpixVersion>
         <exif:FocalLength>10/1</exif:FocalLength>
         <exif:FocalPlaneResolutionUnit>2</exif:FocalPlaneResolutionUnit>
         <exif:FocalPlaneXResolution>5184000/907</exif:FocalPlaneXResolution>
         <exif:FocalPlaneYResolution>3456000/595</exif:FocalPlaneYResolution>
         <exif:GPSAltitude>84761/379</exif:GPSAltitude>
         <exif:GPSAltitudeRef>0</exif:GPSAltitudeRef>
         <exif:GPSLatitude>47,28.175932N</exif:GPSLatitude>
         <exif:GPSLongitude>5,16.330164E</exif:GPSLongitude>
         <exif:GPSMapDatum>WGS-84</exif:GPSMapDatum>
         <exif:GPSTimeStamp>2012-09-12T14:59:37Z</exif:GPSTimeStamp>
         <exif:GPSVersionID>2.2.0.0</exif:GPSVersionID>
         <exif:MeteringMode>5</exif:MeteringMode>
         <exif:PixelXDimension>1000</exif:PixelXDimension>
         <exif:PixelYDimension>667</exif:PixelYDimension>
         <exif:SceneCaptureType>0</exif:SceneCaptureType>
         <exif:ShutterSpeedValue>6643856/1000000</exif:ShutterSpeedValue>
         <exif:WhiteBalance>0</exif:WhiteBalance>
         <exif:MaxApertureValue>3625/1000</exif:MaxApertureValue>
         <exif:SubjectDistance>62/100</exif:SubjectDistance>
         <exif:NativeDigest>36864,40960,40961,37121,37122,40962,40963,37510,40964,36867,36868,33434,33437,34850,34852,34855,34856,37377,37378,37379,37380,37381,37382,37383,37384,37385,37386,37396,41483,41484,41486,41487,41488,41492,41493,41495,41728,41729,41730,41985,41986,41987,41988,41989,41990,41991,41992,41993,41994,41995,41996,42016,0,2,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,20,22,23,24,25,26,27,28,30;7E07CD837C402929458F77FA01F01BB9</exif:NativeDigest>
         <exif:ComponentsConfiguration>
            <rdf:Seq>
               <rdf:li>1</rdf:li>
               <rdf:li>2</rdf:li>
               <rdf:li>3</rdf:li>
               <rdf:li>0</rdf:li>
            </rdf:Seq>
         </exif:ComponentsConfiguration>
         <exif:UserComment>
            <rdf:Alt>
               <rdf:li xml:lang="x-default"/>
            </rdf:Alt>
         </exif:UserComment>
         <exif:ISOSpeedRatings>
            <rdf:Seq>
               <rdf:li>100</rdf:li>
            </rdf:Seq>
         </exif:ISOSpeedRatings>
         <exif:Flash rdf:parseType="Resource">
            <exif:Fired>False</exif:Fired>
            <exif:Return>0</exif:Return>
            <exif:Mode>2</exif:Mode>
            <exif:Function>False</exif:Function>
            <exif:RedEyeMode>False</exif:RedEyeMode>
         </exif:Flash>
      </rdf:Description>
      <rdf:Description rdf:about=""
            xmlns:photoshop="http://ns.adobe.com/photoshop/1.0/">
         <photoshop:DateCreated>2012-09-12</photoshop:DateCreated>
         <photoshop:LegacyIPTCDigest>D0D0CDFACF488BED3ACD062C65DEB6E0</photoshop:LegacyIPTCDigest>
         <photoshop:ColorMode>3</photoshop:ColorMode>
         <photoshop:ICCProfile>Adobe RGB (1998)</photoshop:ICCProfile>
      </rdf:Description>
      <rdf:Description rdf:about=""
            xmlns:tiff="http://ns.adobe.com/tiff/1.0/">
         <tiff:Make>Canon</tiff:Make>
         <tiff:Model>Canon EOS 7D</tiff:Model>
         <tiff:ImageWidth>5184</tiff:ImageWidth>
         <tiff:ImageLength>3456</tiff:ImageLength>
         <tiff:XResolution>2400000/10000</tiff:XResolution>
         <tiff:YResolution>2400000/10000</tiff:YResolution>
         <tiff:ResolutionUnit>2</tiff:ResolutionUnit>
         <tiff:Orientation>1</tiff:Orientation>
         <tiff:NativeDigest>256,257,258,259,262,274,277,284,530,531,282,283,296,301,318,319,529,532,306,270,271,272,305,315,33432;0D04B5266955B283B8CFDF6491672EE2</tiff:NativeDigest>
      </rdf:Description>
      <rdf:Description rdf:about=""
            xmlns:xmp="http://ns.adobe.com/xap/1.0/">
         <xmp:CreateDate>2012-09-12T15:25:31.00</xmp:CreateDate>
         <xmp:ModifyDate>2012-09-16T18:52:37+02:00</xmp:ModifyDate>
         <xmp:Rating>0</xmp:Rating>
         <xmp:MetadataDate>2012-09-16T18:52:37+02:00</xmp:MetadataDate>
      </rdf:Description>
      <rdf:Description rdf:about=""
            xmlns:aux="http://ns.adobe.com/exif/1.0/aux/">
         <aux:SerialNumber>2481231346</aux:SerialNumber>
         <aux:LensInfo>10/1 22/1 0/0 0/0</aux:LensInfo>
         <aux:Lens>EF-S10-22mm f/3.5-4.5 USM</aux:Lens>
         <aux:LensID>235</aux:LensID>
         <aux:ImageNumber>0</aux:ImageNumber>
         <aux:FlashCompensation>0/1</aux:FlashCompensation>
         <aux:Firmware>1.2.5</aux:Firmware>
      </rdf:Description>
      <rdf:Description rdf:about=""
            xmlns:crs="http://ns.adobe.com/camera-raw-settings/1.0/">
         <crs:RawFileName>2012_09_12_IMG_2706.CR2</crs:RawFileName>
         <crs:Version>5.7</crs:Version>
         <crs:ProcessVersion>5.0</crs:ProcessVersion>
         <crs:WhiteBalance>Daylight</crs:WhiteBalance>
         <crs:Temperature>5500</crs:Temperature>
         <crs:Tint>+10</crs:Tint>
         <crs:Exposure>0.00</crs:Exposure>
         <crs:Shadows>5</crs:Shadows>
         <crs:Brightness>+50</crs:Brightness>
         <crs:Contrast>+30</crs:Contrast>
         <crs:Saturation>0</crs:Saturation>
         <crs:Sharpness>25</crs:Sharpness>
         <crs:LuminanceSmoothing>0</crs:LuminanceSmoothing>
         <crs:ColorNoiseReduction>25</crs:ColorNoiseReduction>
         <crs:ChromaticAberrationR>0</crs:ChromaticAberrationR>
         <crs:ChromaticAberrationB>0</crs:ChromaticAberrationB>
         <crs:VignetteAmount>0</crs:VignetteAmount>
         <crs:ShadowTint>0</crs:ShadowTint>
         <crs:RedHue>0</crs:RedHue>
         <crs:RedSaturation>0</crs:RedSaturation>
         <crs:GreenHue>0</crs:GreenHue>
         <crs:GreenSaturation>0</crs:GreenSaturation>
         <crs:BlueHue>0</crs:BlueHue>
         <crs:BlueSaturation>0</crs:BlueSaturation>
         <crs:FillLight>10</crs:FillLight>
         <crs:Vibrance>0</crs:Vibrance>
         <crs:HighlightRecovery>0</crs:HighlightRecovery>
         <crs:Clarity>0</crs:Clarity>
         <crs:Defringe>0</crs:Defringe>
         <crs:HueAdjustmentRed>0</crs:HueAdjustmentRed>
         <crs:HueAdjustmentOrange>0</crs:HueAdjustmentOrange>
         <crs:HueAdjustmentYellow>0</crs:HueAdjustmentYellow>
         <crs:HueAdjustmentGreen>0</crs:HueAdjustmentGreen>
         <crs:HueAdjustmentAqua>0</crs:HueAdjustmentAqua>
         <crs:HueAdjustmentBlue>0</crs:HueAdjustmentBlue>
         <crs:HueAdjustmentPurple>0</crs:HueAdjustmentPurple>
         <crs:HueAdjustmentMagenta>0</crs:HueAdjustmentMagenta>
         <crs:SaturationAdjustmentRed>0</crs:SaturationAdjustmentRed>
         <crs:SaturationAdjustmentOrange>0</crs:SaturationAdjustmentOrange>
         <crs:SaturationAdjustmentYellow>0</crs:SaturationAdjustmentYellow>
         <crs:SaturationAdjustmentGreen>0</crs:SaturationAdjustmentGreen>
         <crs:SaturationAdjustmentAqua>0</crs:SaturationAdjustmentAqua>
         <crs:SaturationAdjustmentBlue>0</crs:SaturationAdjustmentBlue>
         <crs:SaturationAdjustmentPurple>0</crs:SaturationAdjustmentPurple>
         <crs:SaturationAdjustmentMagenta>0</crs:SaturationAdjustmentMagenta>
         <crs:LuminanceAdjustmentRed>0</crs:LuminanceAdjustmentRed>
         <crs:LuminanceAdjustmentOrange>0</crs:LuminanceAdjustmentOrange>
         <crs:LuminanceAdjustmentYellow>+60</crs:LuminanceAdjustmentYellow>
         <crs:LuminanceAdjustmentGreen>+60</crs:LuminanceAdjustmentGreen>
         <crs:LuminanceAdjustmentAqua>0</crs:LuminanceAdjustmentAqua>
         <crs:LuminanceAdjustmentBlue>0</crs:LuminanceAdjustmentBlue>
         <crs:LuminanceAdjustmentPurple>0</crs:LuminanceAdjustmentPurple>
         <crs:LuminanceAdjustmentMagenta>+100</crs:LuminanceAdjustmentMagenta>
         <crs:SplitToningShadowHue>0</crs:SplitToningShadowHue>
         <crs:SplitToningShadowSaturation>0</crs:SplitToningShadowSaturation>
         <crs:SplitToningHighlightHue>0</crs:SplitToningHighlightHue>
         <crs:SplitToningHighlightSaturation>0</crs:SplitToningHighlightSaturation>
         <crs:SplitToningBalance>0</crs:SplitToningBalance>
         <crs:ParametricShadows>0</crs:ParametricShadows>
         <crs:ParametricDarks>0</crs:ParametricDarks>
         <crs:ParametricLights>0</crs:ParametricLights>
         <crs:ParametricHighlights>0</crs:ParametricHighlights>
         <crs:ParametricShadowSplit>25</crs:ParametricShadowSplit>
         <crs:ParametricMidtoneSplit>50</crs:ParametricMidtoneSplit>
         <crs:ParametricHighlightSplit>75</crs:ParametricHighlightSplit>
         <crs:SharpenRadius>+1.0</crs:SharpenRadius>
         <crs:SharpenDetail>25</crs:SharpenDetail>
         <crs:SharpenEdgeMasking>0</crs:SharpenEdgeMasking>
         <crs:PostCropVignetteAmount>0</crs:PostCropVignetteAmount>
         <crs:GrainAmount>0</crs:GrainAmount>
         <crs:ConvertToGrayscale>False</crs:ConvertToGrayscale>
         <crs:ToneCurveName>Medium Contrast</crs:ToneCurveName>
         <crs:CameraProfile>Adobe Standard</crs:CameraProfile>
         <crs:CameraProfileDigest>41F68367DA3B31B07AB631D81D0E942D</crs:CameraProfileDigest>
         <crs:HasSettings>True</crs:HasSettings>
         <crs:HasCrop>False</crs:HasCrop>
         <crs:AlreadyApplied>True</crs:AlreadyApplied>
         <crs:ToneCurve>
            <rdf:Seq>
               <rdf:li>0, 0</rdf:li>
               <rdf:li>32, 22</rdf:li>
               <rdf:li>64, 56</rdf:li>
               <rdf:li>128, 128</rdf:li>
               <rdf:li>192, 196</rdf:li>
               <rdf:li>255, 255</rdf:li>
            </rdf:Seq>
         </crs:ToneCurve>
      </rdf:Description>
      <rdf:Description rdf:about=""
            xmlns:dc="http://purl.org/dc/elements/1.1/">
         <dc:format>image/jpeg</dc:format>
         <dc:creator>
            <rdf:Seq>
               <rdf:li>Picceu Pascal</rdf:li>
            </rdf:Seq>
         </dc:creator>
         <dc:rights>
            <rdf:Alt>
               <rdf:li xml:lang="x-default">Tous droits reserves</rdf:li>
            </rdf:Alt>
         </dc:rights>
      </rdf:Description>
      <rdf:Description rdf:about=""
            xmlns:xmpMM="http://ns.adobe.com/xap/1.0/mm/"
            xmlns:stEvt="http://ns.adobe.com/xap/1.0/sType/ResourceEvent#">
         <xmpMM:InstanceID>xmp.iid:405875AA1C00E2118C0CABBFD5E8F765</xmpMM:InstanceID>
         <xmpMM:DocumentID>xmp.did:405875AA1C00E2118C0CABBFD5E8F765</xmpMM:DocumentID>
         <xmpMM:OriginalDocumentID>xmp.did:405875AA1C00E2118C0CABBFD5E8F765</xmpMM:OriginalDocumentID>
         <xmpMM:History>
            <rdf:Seq>
               <rdf:li rdf:parseType="Resource">
                  <stEvt:action>saved</stEvt:action>
                  <stEvt:instanceID>xmp.iid:405875AA1C00E2118C0CABBFD5E8F765</stEvt:instanceID>
                  <stEvt:when>2012-09-16T18:52:37+02:00</stEvt:when>
                  <stEvt:softwareAgent>Adobe Photoshop CS4 Windows</stEvt:softwareAgent>
                  <stEvt:changed>/</stEvt:changed>
               </rdf:li>
            </rdf:Seq>
         </xmpMM:History>
      </rdf:Description>
   </rdf:RDF>
</x:xmpmeta>
                                                                                                                                                   
<?xpacket end="w"?>

Re: EXIF information to complete

Posted: 19 Sep 2012, 19:36
by Zébulon-21
OK thank you for the answer. :|

If I understand correctly, EXIF ​​information are standard on all brands of cameras.

By cons, for more information, they vary from one brand to another?

In that case would you be kind enough to indicate a code example to publish PhocaGallery.

We can then build on this example to exploit all sorts of information.

Re: EXIF information to complete

Posted: 25 Sep 2012, 11:16
by Jan
Hi, most common parameters are translated to some readable form, all other are displayed with raw form. So if there are not translated exif parameters, and they are used, they need to be customized directly in the code :-(

Jan