WarpPNG.datatype 44.2 (9.1.2000)

The fastest 24-bit JPEG picture datatype! (for WarpUP PPC systems only)

Copyright © 1999-2000 Oliver Roberts, All Rights Reserved.

- Download WarpPNGdt.lha (44K)

[See also: WarpJPEG.datatype]

WarpPNG.datatype is a yet another PNG datatype. The difference is that this is for owners of PPC cards, and it has been targetted specifically at WarpUp (not PowerUp). Even better, it is compact, clean, free and well behaved - a true plug'n'play PPC datatype.

I decided to write this datatype because no other decent WarpOS native PNG datatype exists for the PPC, and it is was relatively easy to implement being based on the same engine that WarpJPEG.datatype uses.

  Changes since 44.1:
  • When the OS3.5 picture.datatype is in use, dithering is now switched off (only) if the image is to be rendered to a hi/true colour screen, resulting in much higher performance, with negligable quality loss.
  • Dispatcher now performs some extra functions, which should quash possible stability problems.

Speed

WarpPNG is currently the fastest PNG datatype available. The table below shows the time (in seconds) it took to decode 14 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 WarpPNG's internal settings:

PowerPCM68K
WarpPNGakPNG 44.65PNGdt
44.2WarpUp68KG.Nikl
1024x768 24-bit colour, 833721 bytes1.361.945.013.75
1024x768 24-bit colour, interlaced, 1037008 bytes2.052.6910.026.22
779x767 24-bit colour, 946564 bytes1.191.764.833.33
473x639 24-bit colour, 377518 bytes0.570.882.021.49
473x639 24-bit colour, interlaced, 459869 bytes0.821.194.082.52
368x463 24-bit colour, 279896 bytes0.380.651.611.02
251x400 24-bit colour, 136856 bytes0.250.460.970.59
718x425 8-bit grey, 157890 bytes0.270.531.270.71
718x425 8-bit grey, interlaced, 182522 bytes0.380.753.331.39
1024x768 256 colours, 324599 bytes0.430.761.620.93
779x767 256 colours, 404245 bytes0.420.771.960.95
473x639 256 colours, 163397 bytes0.240.490.980.49
368x463 256 colours, 115942 bytes0.160.310.640.33
251x400 256 colours, 57056 bytes0.110.380.460.20

These figures are provided for comparison purposes only, but they speak for themselves... WarpPNG is at least 50% faster than the native WarpOS version of akPNG in most cases (80-300% faster with palette based and/or smaller files), and around 3 times faster than 68k datatypes on a 060 (the speed difference will be even greater on 040 systems with a fast PPC). All this and no loss in image quality! All tests were performed, multiple times, using Visage, with the following command line: "visage test.png nopng time test".

Requirements

Note that a graphics card is not necessary - the P96 or OS 3.5 picture.datatype will automatically dither images down to your display requirements.


Back to my homepage

Last modified: Sun Jan 09 19:04:15 2000