AmigaOS 4.0


IBrowse - Get It

Valid XHTML 1.0!


RegisterRegister Now
Bug Tracker
Futaura.co.uk / Oliver Roberts
· WarpTIFF.datatype
The fastest 24-bit TIFF picture datatype!
For 68k, OS4, WarpOS and MorphOS.
Copyright © 2000-2022 Oliver Roberts, All Rights Reserved.
Version: 45.12
Released: 30 October 2022

WarpTIFF.datatype is a powerful, fast datatype capable of reading images stored using the Tagged Image File Format that adhere to the 5.0 or 6.0 TIFF specification or BigTIFF specification. In terms of encoding support, it offers the widest selection of any TIFF datatype on the Amiga. As users of other datatypes in my WarpDT series will be familiar with, WarpTIFF comes optimized in a variety of cpu flavours, with PPC versions (native OS4, WarpOS and MorphOS) and separate versions for 68020, 030, 040 and 060. Even better, it is fast, compact, clean, well behaved and fast - a true plug'n'play PPC datatype. One of the key features of my WarpDT engine is its superior speed, and WarpTIFF inherits that just like the other datatypes in the series. There are various user settings available, which can be changed using the WarpDT Preferences program.

· Features

  • Supports 5.0 and 6.0 TIFF and BigTIFF specification files, including those using Packbits, Thunderscan, CCITT (fax), Pixar, LogLuv (CIE and SGILog), LZW, Deflate (zip), JBIG and JPEG (old and new) compression schemes, plus uncompressed files
  • Image types supported include RGB (24-bit, 48-bit, 96-bit and 192-bit) with or without alpha channel, palette based / greyscale (1-bit, 2-bit, 4-bit, 8-bit, 16-bit, 32-bit and 64-bit), CMYK (32-bit, 64-bit and 256-bit), YCbCr and CIELab
  • Can handle Xerox / ScanSoft Pagis XIF files (eXtended Image Format)
  • Supports image data organized as strips, tiles or separate components
  • For multi-image files, applications may choose which picture to decode
  • Scaling options for high resolution fax images
  • Highly optimized datatype dispatch engine, and fast TIFF decoder, resulting in a very efficient, compact and quick TIFF datatype
  • Asynchronous file i/o and double buffering techniques (WarpOS only), which speeds up image decoding
  • Optimized versions for 68020, 030, 040 and 060
  • PowerPC support with native OS4, WarpOS and MorphOS versions
  • AltiVec speed optimizations (JPEG decompression) for OS4 and MorphOS
  • Alter the pen allocation precision when images are remapped to an 8-bit display
  • Specific support for the AmigaOS picture.datatype v44+, when available
  • The dithering feature of the AmigaOS picture.datatype v44+ can be configured to your liking (e.g. disabled for 15/16-bit displays)
  • Based on libtiff 4.4.0, zlib 1.2.12, jpeglib 9e/6b and libjpeg-turbo
Warp Datatypes

· Speed

All benchmarks below were calculated with PicDTBench and its default settings, loading images from a HDD, using the average of 10 iterations, functionally comparable to "visage test.tif time test". For a fair comparison, other datatypes tested were configured as close as possible to WarpTIFF's default settings.

The table below shows the time (in seconds) it took to decode 14 different images on my A1200 + BlizzardPPC 603e+/240MHz 060/50MHz, with BVision and CGX picture.datatype, and test files located on a SCSI2SD V6. Other tested datatypes were configured as close as possible to WarpTIFF's default settings. However, I should emphasize that the figures below are for comparison purposes only - the actual values are likely to be slightly different (faster or slower) on your system, but I'm confident that the WarpOS version of WarpTIFF is noticably faster than other TIFF datatypes, whilst supporting more encoding types.

The figures speak for themselves... WarpTIFF for WarpOS is clearly much faster than other PPC datatypes where most image types are concerned, with WarpTIFF generally around 2-4 times faster depending on image type. For cpu-intensive codings the WarpOS version is about twice as fast as WarpTIFF 68k on a 060 (the speed difference will be even greater on 040 systems with a fast PPC). Maybe you don't believe these claims - my answer to that is simple... Try WarpTIFF for yourself and you will see the difference! :)

The results for the MorphOS version are even more impressive, outperforming the WarpOS version. For some RGB encodings akTIFF and WarpTIFF performance is comparable, but for most other encodings, WarpTIFF is around 2 times faster than akTIFF.

The results for the 68k version are much the same, relatively speaking. WarpTIFF is by far the fastest, able to decode all types of images faster than akTIFF and supports many more encodings.

Benchmarked system
A1200 + BlizzardPPC 603e+/240MHz 060/50MHz,
BVision, CGX picture.datatype + SCSI2SD V6
PowerPC/68K (dual-cpu) PowerPC (no 68K) M68K
akTIFF 44.131WarpTIFF
584x768x24 RGB uncompressed, 1.28Mb0.331.161.310.290.320.410.443.36
584x768x24 RGB packbits, 1.29Mb0.420.480.450.370.400.48x3.44
584x768x24 RGB deflated, 910K0.49xx0.540.581.441.83x
800x607x8 Grey packbits, 190K0.13xx0.12x0.160.311.92
800x607x8 Grey tiled, 768K0.22xx0.19x0.21xx
333x225x8 Grey CIE LogL, 71K0.38xx0.16x1.18xx
333x225x24 RGB CIE LogLuv, 220K0.98xx0.42x2.34xx
487x414x8 Colour uncompressed, 205K0.090.440.450.
256x192x8 Colour packbits, 46K0.
1728x1028x1 B&W Fax, 32K0.241.931.900.210.480.441.89x
664x813x1 B&W uncompressed, 66K0.110.710.700.
1512x359x4 Grey thunderscan, 151K0.12xx0.13x0.25xx
512x384x24 RGB JPEG compressed, 24K0.17xx0.16x0.53xx
512x384x24 RGB LZW compressed, 209K0.35xx0.340.550.660.80x

(x = not supported, causes crash or corrupt output image)

· System Requirements

68k version

  • Kickstart 3.0 or higher
  • 68020 processor or higher (optimized versions included)
  • picture.datatype v43 or higher (supplied with AmigaOS 3.1.4, 3.2, 3.5, 3.9, CyberGraphX, P96 or AfA OS)
WarpOS version
  • Kickstart 3.0 or higher
  • PPC accelerator card + 68040/060
  • WarpUp Release 5.0 or higher
  • picture.datatype v43 or higher (supplied with AmigaOS 3.1.4, 3.2, 3.5, 3.9, CyberGraphX, P96 or AfA OS)
OS4 version
  • PPC accelerator card / AmigaOne / SAM
  • AmigaOS 4.0 or higher
MorphOS version
  • PPC accelerator card / Pegasos / Efika
  • MorphOS 1.4 or higher
Note that a graphics card is not necessary.

Page design by Oliver Roberts - Copyright © 2001-2024, All Rights Reserved - Terms & Conditions