Branch: Tag:

2002-03-25

2002-03-25 22:05:29 by Johan Schön <js@opera.com>

Format byte arrays as strings, not as ascii representations of strings

Rev: lib/modules/Standards.pmod/EXIF.pmod:1.9

3:   //! This module implements EXIF (Exchangeable image file format for Digital Still Cameras) 2.1   //! parsing.    - // $Id: EXIF.pmod,v 1.8 2002/03/25 21:49:38 js Exp $ + // $Id: EXIF.pmod,v 1.9 2002/03/25 22:05:29 js Exp $   // Johan Schön <js@roxen.com>, July 2001.   // Based on Exiftool by Robert F. Tobler <rft@cg.tuwien.ac.at>.   //
370:      string format_bytes(string str)   { -  return (array(string))((array(int))str)*" "; +  return str;   }      mapping parse_tag(Stdio.File file, mapping tags, mapping exif_info,
406:    if(tag_len>4)    exif_seek(file, long_value(file->read(4), order), exif_offset);    +  werror("%s %d\n", tag_name, tag_type); +     if(tag_type==1 || tag_type==6 || tag_type==7)    {    if(tag_count==1)