Logo Search packages:      
Sourcecode: f-spot version File versions  Download package

void TagLib::Jpeg::File::Read ( ReadStyle  propertiesStyle  )  [inline, private]

Reads the information from file with a specified read style.

Parameters:
propertiesStyle A ReadStyle value specifying at what level of accuracy to read the media properties, or ReadStyle.None to ignore the properties.

Definition at line 239 of file File.cs.

References TagLib::File::Mode, and TagLib::File::TagTypesOnDisk.

            {
                  Mode = AccessMode.Read;
                  try {
                        ImageTag = new CombinedImageTag (TagTypes.XMP | TagTypes.TiffIFD | TagTypes.JpegComment);

                        ValidateHeader ();
                        ReadMetadata ();

                        TagTypesOnDisk = TagTypes;

                        if (propertiesStyle != ReadStyle.None)
                              properties = ExtractProperties ();

                  } finally {
                        Mode = AccessMode.Closed;
                  }
            }


Generated by  Doxygen 1.6.0   Back to index