Defining a size attribute

Build 1501 on 14/Nov/2017  This topic last edited on: 10/Jun/2015, at 14:28

There are three possible values for the Tera-specific extra attribute gs:size: Main, Aux and Ext. These are defined as follows:

<xs:attribute name="size" type="tNonNegativeLong" gs:compute="true" gs:size="Main" gs:dimension="datasize:byte">

 <xs:annotation>

   <xs:appinfo>

     <gs:ui mode="Hidden"/>

   </xs:appinfo>

   <xs:documentation>Object 'main' size: the size in bytes of the image data</xs:documentation>

 </xs:annotation>

</xs:attribute>

 

<xs:attribute name="auxSize" type="tNonNegativeLong" gs:compute="true" gs:size="Aux" gs:dimension="datasize:byte">

 <xs:annotation>

   <xs:appinfo>

     <gs:ui mode="Hidden"/>

   </xs:appinfo>

   <xs:documentation>Object 'auxiliary' size: the size in bytes of the image thumbnail</xs:documentation>

 </xs:annotation>

</xs:attribute>

 

<xs:attribute name="extSize" type="tNonNegativeLong" gs:compute="true" gs:size="Ext" gs:dimension="datasize:byte">

 <xs:annotation>

   <xs:appinfo>

     <gs:ui mode="Hidden"/>

   </xs:appinfo>

   <xs:documentation>Object 'extended' size: the size in bytes of the image preview</xs:documentation>

 </xs:annotation>

</xs:attribute>

 

These sizes correspond to the calculation of the MaxSize, MaxAuxSize and MaxExtSize defined in a quota.

See also

Object size

Quota

Partition