PiRSquared17 / thebigpicture

Automatically exported from code.google.com/p/thebigpicture
0 stars 0 forks source link

Data types should be generalized #13

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The data types for Exif are written with IFD in mind, but can also be used
for IPTC/NAA and possible future extensions. Therefore, a different file
datatypes.py is created. ifddatatypes now only holds the array for matching
a data type to a number.

The problem is that each data type also stores this number internally. This
should be removed and somehow be made specific for IFD's. BTW, IPTC does
not work with numbers to encode the data type, only one data type is allowed.

Original issue reported on code.google.com by p.edel...@gmail.com on 17 Mar 2007 at 11:17

GoogleCodeExporter commented 9 years ago
The num parameter was never used, so simply removing it was enough.

Original comment by p.edel...@gmail.com on 17 Mar 2007 at 11:48