
 $VER: RGFX-Chunks.doc 3.10 (16.08.2012)
 =======================================

 A typical structure of a RGFX file (recommended):

     FORM-RGFX

       RGHD     image header
       RSCM     viemode information
       RDIP     DIPF information
       RCOL     color and transparency information
       RFLG     optional; further flags       
       NAME     optional
       AUTH     optional
       ANNO     optional
       Copy     optional
       EXIF     optional; see IFF-META spec
       IPTC     optional; see IFF-META spec
       XMP0     optional; see IFF-META spec
       XMP1     optional; see IFF-META spec
       GEOT     optional; see IFF-META spec       
       GEOF     optional; see IFF-META spec         
       ICCP     optional; see IFF-META spec       
       ICCN     optional; see IFF-META spec       
       GAMA     optional; see IFF-META/ILBM64 spec       
       CHRM     optional; see IFF-META/ILBM64 spec       
       SRGB     optional; see IFF-META/ILBM64 spec       
       RBOD     the graphics itself

  Additional (optional) chunks should appear somewhere
  between RCOL and RBOD.

  Please refer to rgfx.h and the .readme for the chunk
  purpose and specifications, i.e. permitted standard chunks.

  A few optional third party RGFX chunks are discussed
  in the following. These are not part of the
  format specification and should be considered
  private, proprietary extensions.


 RGFX - Optional chunks
 ======================

 RXYA - Viewable XY-Area
 -----------------------
 ** based on an idea by Peter Bornhall <bornhall@swipnet.se>

    It may be useful to specify a small "view area" fromout
    a larger image, e.g. a 320x200 area inside a 2048x2048
    image - for example if the image has a black border

 struct RXYA
  {
   ULONG xy_LeftEdge; /* like a window */
   ULONG xy_TopEdge;
   ULONG xy_Width;
   ULONG xy_Height;
  };


 RXXX - Image Rating
 -------------------
 ** based on an idea by Peter Bornhall <bornhall@swipnet.se>

 Not all images may be suitable for any group of recipients.

 struct RXXX
  {
   ULONG xxx_Rating; /* e.g. for parents who want to control access */
  };

 #define RXXX_HARMLESS          (0L) /* this image won't affect anyone         (e.g. cliparts)       */

 #define RXXX_PARENTAL_ADVISORY (1L) /* some people may feel offended by this  (e.g. violent comics) */
 #define RXXX_VIOLENT           (2L) /* most people will feel offended by this (e.g. more violent)   */
 #define RXXX_ADULT             (3L) /* guess what                                                   */


 RALH - DEPRECATED/OBSOLETE
 ---------------------------------------------------
 ** based on an idea by Marcel Offermans <M.Offermans@CBi.CentraalBeheer.NL>
 ** not recommended for new implementations based on RGFX V2.0 or higher

 [ use V3.0 RGHD and RTRN instead for now - missing pieces may be added in V4.x ]
