AmigaOS 4.0


IBrowse - Get It

Valid XHTML 1.0!


Register Register Now
Bug Tracker
Futaura.co.uk / Oliver Roberts
JPEG 45.13
PNG 45.21
TIFF 45.9
BMP 45.7
PCX 45.5
PSD 45.5
Prefs 45.9
· WarpTIFF.datatype
The fastest 24-bit TIFF picture datatype!
For 68k, OS4, WarpOS and MorphOS.
Copyright © 2000-2016 Oliver Roberts, All Rights Reserved.
Version: 45.9
Released: 4 May 2016

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 and 96-bit), palette based / greyscale (1-bit, 2-bit, 4-bit, 8-bit, 16-bit and 32-bit), CMYK (32-bit, 64-bit and 128-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.0.6, zlib 1.2.8, jpeglib 9b/6b and libjpeg-turbo
Warp Datatypes

· Speed

The table below shows the time (in seconds) it took to decode 12 different images on my A1200 603e/240MHz 060/50MHz, with BVision and CGX picture.datatype, with other tested datatypes configured as close as possible to WarpTIFF's internal 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 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.

PowerPC/68K (dual-cpu) PowerPC (no 68K) M68K
akTIFF 44.112WarpTIFF
584x768x24 RGB uncompressed, 1.28Mb 0.451.811.840.320.340.520.6814.94
584x768x24 RGB packbits, 1.29Mb 0.661.070.900.380.400.68*15.35
584x768x24 RGB deflated, 910K 0.72**0.580.561.741.94*
800x607x8 Grey packbits, 190K 0.18**0.13*0.220.412.68
800x607x8 Grey tiled, 768K 0.29**0.22*0.29**
333x225x8 Grey CIE LogL, 71K 0.48**0.19*1.18**
333x225x24 RGB CIE LogLuv, 220K 1.24**0.45*2.36**
487x414x8 Colour uncompressed, 205K 0.120.470.380.
256x192x8 Colour packbits, 46K
1728x1028x1 B&W Fax, 32K 0.390.900.750.200.530.572.06*
664x813x1 B&W uncompressed, 66K 0.160.470.370.
1512x359x4 Grey thunderscan, 151K 0.19**0.14*0.31**
512x384x24 RGB JPEG compressed, 24K 0.23**0.20*0.69**
512x384x24 RGB LZW compressed, 209K 0.34**0.300.680.620.88*

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

Note: all tests were performed, multiple times, using Visage, with the following command line: "visage test.tiff time test". Most of the test images were taken from http://download.osgeo.org/libtiff/pics-3.8.0.tar.gz.

· Requirements

  • Kickstart 3.0 or higher
  • picture.datatype v43 or higher (i.e. either of the ones supplied with AmigaOS 3.5+, P96 or CGraphX)
68k version
  • 68020 processor or higher (optimized versions included)
WarpOS version
  • PPC accelerator card + 68040/060
  • WarpUp Release 5.0 or higher
OS4 version
  • PPC accelerator card / AmigaOne
  • AmigaOS 4.0 or higher
MorphOS version
  • PPC accelerator card / Pegasos
  • MorphOS 1.4 or higher
Note that a graphics card is not necessary.

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