The AROS Archives(anonymous IP:,343) 


   o Audio (94)
   o Datatype (15)
   o Demo (46)
   o Development (243)
   o Document (61)
   o Driver (19)
   o Emulation (60)
   o Game (522)
   o Graphics (221)
   o Library (22)
   o Network (60)
   o Office (21)
   o Utility (245)
   o Video (18)

Total files: 1647

Full index file
Recent index file

Part of aros exec
 Readme for:  Graphics » Icon »


Description: Iff Icon Data Decoder snippets and PDF
Download:       (TIPS: Use the right click menu if your browser takes you back here all the time)
Size: 175kb
Version: 1.00
Date: 30 Nov 23
Author: Mike R.
Submitter: Mike R.
Email: riddle1264/yahoo com
Requirements: AROS with RTG screen
Category: graphics/icon
License: APL
Distribute: yes
FileID: 2768
Comments: 0
Snapshots: 0
Videos: 0
Downloads: 105  (Current version)
105  (Accumulated)
Votes: 0 (0/0)  (30 days/7 days)

[Show comments] [Show snapshots] [Show videos] [Show content] [Replace file] 
This documentation in PDF format and the
accompanying source code snippets are intended to help explain the
encoded storage format for the image data in the IMAG chunks for Glow Icons.
Main features include:
- DecodeRLE sample code for decoding run-length encoded data (8 bits). This is a
functional sample from my test program.
- DecodeBytes sample with bit shifting and masking to decode the IMAG image
bitstream data. This is also a functional sample.
- PDF document "IFF Icon Data Decoded.pdf" to help explain the complex encoding

The image data for the IMAG chunks are encoded using a modified version of RLE
aka Run Length Encoding. It is a bitstream rather 
than a byte stream composed of RLE bytes and image data bytes.

Perhaps, the IFF icon image data storage format is a trade-off between
complexity and practicality. Because applying the RLE encoding 
to chunky data is much more efficient than applying the same encoding to planar
data the storage size is much smaller and thus much 
more practical for Amiga computers which in the early days had very limited
storage space. However, the storage format is complex and 
difficult to implement so bit shifting and masking is needed for encoding &

Files included:
IFF Icon Data Decoded.pdf

Copyright © 2005 - 2024 The AROS Archives All Rights Reserved