This command converts the images found in .info files into IFF ILBMs
or other write-supporting DataTypes.
It will cope with any format icon.library is capable of reading,
including any installed icon modules under OS4, with the exception
of old-style planar icons.
It outputs 24-bit or 32-bit IFF ILBMs (or other formats supported by
DataTypes)
icontoiff68k is compiled for 68k (OS3.5 & 3.9)
icontoiff is compiled for PPC (OS4.0 and up)
Template:
icontoiff SOURCE/A,DEST/A,NOALPHA/S,ALT=ALTERNATE/S,FORMAT=OUTPUTFORMAT/K
Source: Source file (do not include ".info")
Dest: Destination (may be overwritten!)
NoAlpha: Ignore alpha (create a 24-bit ILBM)
Alternate: Convert the alternate (selected) icon image
OutputFormat: Specify the name of a DataType to use to save the image
(*see note below)
* The only DataType known to work is the OS4 WebP DataType, v1.5 or higher.
For ILBM *do not* specify an output format ("ILBM" will cause icontoiff to
use the subclass instead of the superclass and will fail)
Subclass implementers - please see section at end of this readme.
History
=======
v1.3 (15.08.2011)
- Added support for saving in different formats.
v1.2 (03.04.2010)
Disclaimer
==========
All use of this software is at your own risk. I will not take
responsibility for any loss of data etc caused by direct or
indirect use of this software. No warranty is expressed or implied.
If you do not agree, do not use!
DATATYPES SUBCLASS IMPLEMENTERS
===============================
For writing to work you need two things:
1. Support for DTST_RAM source in OM_NEW
This simply needs to initialise a blank DataType object.
If you have no class data, simply don't return an error for DTST_RAM
source.
2. Support for DTM_WRITE format DTWM_RAW
This obviously needs to do the actual writing.
-----BEGIN PGP MESSAGE-----
Version: 2.6.3in
iQB7AwUATkmfFrO1+24s2ZO5AQGGwwMrBSTsCG2T/pOimAHHwMdJnjsMNHIjPxvT
QxgktgUfzaoTJJ8aabrZH82E4vwBm2wxSxDQIg9iKPrmdSVjTCKIwAeLXEqtvwpE
0pFxxUtKj7IY6PcMWtHcb8Je8jVxk4Vnmu4pqkje
=sVh+
-----END PGP MESSAGE-----
| |