EXIF格式分析及通过XML处理(4)[5]

[入库:2006年2月23日] [更新:2007年3月24日]

本文简介:

        case 9 :  // SLONG

            if ( ent.EntrySize == 1 )

                pChild->Text = IntToStr( ent.EntryValue );

            else

                throw Exception( "Unsupported!" );

            break;

        case 10:  // SRATIONAL

            pChild->Text = FloatToStr( *reinterpret_cast<int *>( aTIFFHeader + ent.EntryValue )

                / ( double )( *reinterpret_cast<int *>( aTIFFHeader + ent.EntryValue + sizeof ( int ) ) ) );

            break;

        default:  //  LONG & other unknown type

            pChild->Text = Format( "0x%.08X", ARRAYOFCONST( ( ( int )ent.EntryValue ) ) );

            break;

        }

        switch ( ent.EntryTag ) {

        case 0x8769 :  //  Exif IFD

            GetIFD( aNode, aTIFFHeader, ent.EntryValue, "EXIF" );

            break;

        case 0x8805 :  //  GPS IFD

本文关键:EXIF XML XSL
 

本站最佳浏览方式为 分辨率 1024x768 IE 6.0(或更高版本的 IE浏览器)

go top