Logo Search packages:      
Sourcecode: lazygal version File versions  Download package

def lazygal::metadata::ExifTags::get_jpeg_comment (   self )
Reads JPEG comment field, returns empty string if key is not
found.

Definition at line 148 of file metadata.py.

                              :
        '''
        Reads JPEG comment field, returns empty string if key is not
        found.
        '''
        im = Image.open(self.image_path)
        try:
            return im.app['COM']
        except KeyError:
            return ''


Generated by  Doxygen 1.6.0   Back to index