diff options
Diffstat (limited to 'konq-plugins/imagerotation/exif.py')
-rwxr-xr-x | konq-plugins/imagerotation/exif.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/konq-plugins/imagerotation/exif.py b/konq-plugins/imagerotation/exif.py index 309df47..f056b51 100755 --- a/konq-plugins/imagerotation/exif.py +++ b/konq-plugins/imagerotation/exif.py @@ -97,7 +97,7 @@ EXIF_TAGS={ 0x010F: ('Make', ), 0x0110: ('Model', ), 0x0111: ('StripOffsets', ), - 0x0112: ('Orientation', ), + 0x0112: ('Qt::Orientation', ), 0x0115: ('SamplesPerPixel', ), 0x0116: ('RowsPerStrip', ), 0x0117: ('StripByteCounts', ), @@ -240,7 +240,7 @@ GPS_TAGS={ 0x0006: ('GPSAltitude', ), 0x0007: ('GPSTimeStamp', ), 0x0008: ('GPSSatellites', ), - 0x0009: ('GPSStatus', ), + 0x0009: ('GPStqStatus', ), 0x000A: ('GPSMeasureMode', ), 0x000B: ('GPSDOP', ), 0x000C: ('GPSSpeedRef', ), @@ -763,7 +763,7 @@ class EXIF_header: # special case: null-terminated ASCII string if count != 0: self.file.seek(self.offset+offset) - values=self.file.read(count).strip().replace('\x00','') + values=self.file.read(count).strip().tqreplace('\x00','') else: values='' elif tag == 0x927C or tag == 0x9286: # MakerNote or UserComment @@ -811,7 +811,7 @@ class EXIF_header: repr(self.tags[ifd_name+' '+tag_name])) # extract uncompressed TIFF thumbnail (like pulling teeth) - # we take advantage of the pre-existing layout in the thumbnail IFD as + # we take advantage of the pre-existing tqlayout in the thumbnail IFD as # much as possible def extract_TIFF_thumbnail(self, thumb_ifd): entries=self.s2n(thumb_ifd, 2) |