AminetAminet
Search:
84749 packages online
About
Recent
Browse
Search
Upload
Setup
Services

docs/misc/YUVN-A.lha

Mirror:Random
Showing: m68k-amigaos iconppc-amigaos iconppc-morphos iconi386-aros iconi386-amithlon iconppc-warpup iconppc-powerup icongeneric icon
No screenshot available
Short:IFF-YUVN alpha extension (DATO)
Author: info at ar-kleinert.de
Uploader:info ar-kleinert de
Type:docs/misc
Version:1.1
Architecture:generic
Date:2008-01-13
Download:docs/misc/YUVN-A.lha - View contents
Readme:docs/misc/YUVN-A.readme
Downloads:932

 Previously, the IFF-YUVN file format supported
 the following image data formats basically:

  YUV 400
  YUV 411
  YUV 422
  YUV 444

  YUV 200
  YUV 211
  YUV 222

 by means of separate chunks for Y, U and V.

 Now the following - as a consequent logical extension
 of the previously mentioned definitions - is introduced
 by SView5-Library:

  AYUV    (for all of the previously mentioned)

 by means of adding an additional chunk for standard
 A(lpha) information.

 Following the naming traditions for the other chunks
 the new chunk is called "DATO" - in order to avoid
 overlaps with older definitions "DATA" could not be
 used: there already existed a predecessor called "DATA"
 which supported only alpha values in the range 16..235).

 The O in DATO stands for opacity.

 The contained alpha information always needs to be
 provided for each pixel of the image, thus DATO
 always contains [width * height] alpha pixels,
 which is the same dimensional size as for DATY.
 Assuming a bit depth of 8, the size is exactly
 the same.

 The meaning of each 8 bit alpha value is the same
 as with PNG alpha channels,
 i.e. 0x00 = fully transparent, 0xFF = fully opaque.

 Typical file structure:

  ID_YCHD
  ID_NAME	// optional
  ID_AUTH	// optional
  ID_ANNO	// optional
  ID_Copy	// optional
  ID_DATO	// optional (A)lpha information
  ID_DATY
  ID_DATA	// optional (16..253 alpha values)
  ID_DATU
  ID_DATV

  (*) use either DATO or DATA, but not both


Contents of docs/misc/YUVN-A.lha
 PERMSSN    UID  GID    PACKED    SIZE  RATIO METHOD CRC     STAMP          NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[generic]                  808    1608  50.2% -lh5- 1bb2 Jan 12 23:23 YUVN-A.readme
---------- ----------- ------- ------- ------ ---------- ------------ -------------
 Total         1 file      808    1608  50.2%            Jan 12 19:42
Page generated in 0.02 seconds
Aminet © 1992-2024 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>