Image Convertion Library test code

Points to note

Test executable file locations

WINS location	Hardware location	
\epoc32\release\wins\udeb\
or
\epoc32\release\wins\urel\	c:\ or z:\	

Automatic test executables - should be run before every release
Success: Test program exits cleanly
Failure: Test program stops with an error message.

Filename	Purpose	
TIMAGE.EXE	Image handling tests 	
TFAILIMAGE.EXE	Image alloc tests	

Manual test applications

Filename	Purpose	
TIMAGEVIEWER.APP	Image file viewer – install as an application with TIMAGEVIEWER.AIF and TIMAGEVIEWER.RSC	

TIMAGE.EXE/TFAILIMAGE.EXE support files
Install to \epoc32\wins\c\TImage\ on WINS and [c|d|z]:\TImage\ on hardware:

bmp1bpp.bmp
bmp24bpp.bmp
bmp4bpp.bmp
bmp8bpp.bmp
bmprle4.bmp
bmprle8.bmp
jfif10.jpg
jfif100.jpg
jfif30.jpg
jfif420.jpg
jfif422.jpg
jfif444.jpg
jfif60.jpg
jfifMono.jpg
jfifProg.jpg
mbm12bpp.mbm
mbm16bpp.mbm
mbm1bpp.mbm
mbm24bpp.mbm
mbm2bpp.mbm
mbm4bppc.mbm
mbm4bppm.mbm
mbm8bppc.mbm
mbm8bppm.mbm
png1.png
png2.png
png3.png
png4.png
tif1.tif
tif2.tif
tif3.tif
tmdavid.mbm
trans.gif
wmf1.wmf
wmf2.wmf
wmf3.wmf
wmf4.wmf
wmf5.wmf
wmf6.wmf

Install to \epoc32\wins\c\TImage\anon\ on WINS and [c|d|z]:\TImage\anon\ on hardware:

otabitmap
otabitmap.mbm
wirelessbitmap
wirelessbitmap.mbm

Install to \epoc32\wins\c\TImage\ref\ on WINS and [c|d|z]:\TImage\ref\ on hardware:

bmp1bpp.mbm
bmp4bpp.mbm
bmp8bpp.mbm
bmp24bpp.mbm
bmprle4.mbm
bmprle8.mbm
jfif10.mbm
jfif100.mbm
jfif30.mbm
jfif420.mbm
jfif422.mbm
jfif444.mbm
jfif60.mbm
jfifMono.mbm
jfifProg.mbm
mbm12bpp.mbm
mbm16bpp.mbm
mbm1bpp.mbm
mbm24bpp.mbm
mbm2bpp.mbm
mbm4bppc.mbm
mbm4bppm.mbm
mbm8bppc.mbm
mbm8bppm.mbm
png1.mbm
png2.mbm
png3.mbm
png4.mbm
scaled0.mbm
scaled1.mbm
scaled2.mbm
scaled3.mbm
scaled4.mbm
scaled5.mbm
tif1.mbm
tif2.mbm
tif3.mbm
tmdavid.mbm
trans.mbm
wmf1.mbm
wmf2.mbm
wmf3.mbm
wmf4.mbm
wmf5.mbm
wmf6.mbm

Note: wmf reference files (ie wmf*.mbm) are specific to the target device. These are stored in Ref\WinsRef, Ref\Arm4Ref and Ref\IntRef folders for WINS emulator, Assabet and Integragor platforms respectively. The are automatically installed in \Ref folders on the appropriate platforms.

Test rom building

ImageConversion\group\ImageConversion.iby is listed in bld.inf as an export to \epoc32\rom\include. 
ImageConversion\group\ImageConversionTest.iby and ImageConversion\group\ImageConversionTestIntegrator.iby are listed in bld.inf as a test.  

To build for rom for an assabet, typically use the line from \epoc32\rom:
	tools\buildrom assabet engbuild imageconversion.iby imageconversiontest.iby

For the integrator use:
	tools\buildrom assabet engbuild imageconversion.iby imageconversiontestintegrator.iby