AminetAminet
Search:
85879 packages online
• About
• Recent
• Browse
• Search
• Upload
• Setup
• Services

util/dtype/webpdt.ppc-amigaos.lha

Mirror:Random
Showing: ppc-warpup icongeneric icon
No screenshot available
Short:WEBP picture datatype, built on libwebp
Author:"Michele Dipace" michele.dipace at kaffeine.net
Uploader:michele dipace kaffeine net (Michele Dipace)
Type:util/dtype
Version:45.2
Architecture:ppc-amigaos >= 4.1.0
Date:2026-11-18
Requires:AmigaOS 4.1
Replaces:util/dtype/webpdt.ppc-amigaos.lha
Download:util/dtype/webpdt.ppc-amigaos.lha - View contents
Readme:util/dtype/webpdt.ppc-amigaos.readme
Downloads:64

webp.datatype 45.2 (14.11.2026)

A picture datatype that reads WEBP files. Once it is installed, every
program that opens pictures through datatypes.library (MultiView, the
Workbench, image viewers, anything that asks the system for a picture)
opens WEBP files too, without knowing anything about the format.

This archive is for AmigaOS 4.1.
There is one archive for AmigaOS 3.x (68020 or better), one for
AmigaOS 4.1 and one for MorphOS 3. AROS has a WEBP datatype of its own
in the system and needs none of them.

MorphOS 3.20 and 3.21 read WEBP files by themselves, through Reggae:
on MorphOS 3.21 MultiView opens one with no datatype installed. There
this datatype is only for programs that ask datatypes.library for a
picture, which get none without it.

It reads lossy pictures (VP8), lossless pictures (VP8L), pictures with
alpha in both forms, and the first frame of an animation. It does not
write WEBP files and it does not play animations.

The decoding is done by libwebp 1.6.0, the reference library of the
WebM project, unchanged.


INSTALLING

  Open a Shell, change to this drawer and type

      Execute Install

  or copy the two files by hand:

      Classes/DataTypes/webp.datatype   to   SYS:Classes/DataTypes/
      Devs/DataTypes/WebP               to   DEVS:DataTypes/

  and then restart, or tell the system about the new descriptor:

      AddDataTypes REFRESH

  An older version of this datatype is replaced without a question. If
  another WEBP datatype is installed, Install shows its version and
  asks before it replaces it: it uses the same two file names, so only
  one can be installed at a time.

  The descriptor recognises a file by its first twelve bytes, not by
  its name: a WEBP file without the .webp extension is recognised too.


REMOVING

  Delete SYS:Classes/DataTypes/webp.datatype and DEVS:DataTypes/WebP,
  then restart.


WHAT EACH SYSTEM GETS

  A datatype hands its pixels to the system's picture.datatype, and
  what that one can take differs.

  AmigaOS 4.1, MorphOS, and AmigaOS 3.2 with picture.datatype 47.9 or
  later: true colour, and the alpha channel is kept.

  AmigaOS 3.5, 3.9, 3.1.4, an older 3.2, or 3.0/3.1 with the
  picture.datatype of a graphics card system (V43 to 47.8): true
  colour. These do not know about alpha, so a picture with alpha is
  laid on a white background first.

  Plain AmigaOS 3.0/3.1 (picture.datatype V39 to V42): a planar picture
  with the best 256 colours for it, dithered. Pixels that are less than
  half opaque become the transparent colour.

  On a 68000 the library refuses to open, and WEBP files are simply not
  recognised.


CHECKING AN INSTALLATION

  Extras/dtprobe opens a picture through datatypes.library, the way any
  program does, and says what came back:

      Extras/dtprobe Extras/pictures/alpha-lossy.webp

  The last line is a checksum of the pixels. The checksums the test
  pictures in Extras/pictures must give are in docs/CHECKS.md, in the
  source.


MEMORY AND SPEED

  A picture is decoded at its full size, in one go. While it is opened
  the decoded pixels exist twice for a moment: a 512 x 512 picture with
  alpha needs 2 MB for that moment, plus the file. Pictures of more than
  8192 x 8192 pixels and files of more than 64 MB are refused.

  On a 68020 the decoding is not quick. On a stock A1200 (14 MHz) a
  512 x 512 lossy picture with alpha opens in 17 seconds, a lossless
  one in 9, a 320 x 240 lossy picture in under 5.


STATUS

  This is the second release. Its decoder is the one of 45.1, which was
  run in emulators on every system it is made for and, with dtprobe, on
  three real machines. The Install script is new: it was run in emulators
  on every system it is made for and on a real Power Mac G5 with MorphOS
  3.20. What was tried and what was not is in docs/CHECKS.md, in the
  source.


OTHER WEBP DATATYPES

  This is not the first WEBP datatype for these systems. Aminet already
  has these:

      util/dtype/webp_dt.lha        AmigaOS 4, the first one, from 2010
      util/dtype/WarpWebPdt.lha     AmigaOS 3.x (a version for each 68k
                                    CPU), AmigaOS 4, WarpOS and MorphOS
      util/dtype/WebPDatatype.lha   AmigaOS 3.x, 68020 or better

  If one of them is installed and does what you need, you do not need
  this one. Two WEBP datatypes installed at the same time leave the
  choice between them to the system, so keep only one.

  What this one adds is support for the picture.datatype of a plain
  AmigaOS 3.0 or 3.1 (V39 to V42), which takes no true colour: there it
  hands over the best 256 colours for the picture. Its source is free
  under the GPL, and it is built on libwebp 1.6.0.


SOURCE AND LICENCE

  https://github.com/kaffeine1/webp-datatype
  This archive was built from commit f4b3ee114600.

  webp.datatype is free software under the GNU General Public License,
  version 3 or (at your option) any later version: see COPYING.
  Copyright (c) 2026 Michele Dipace.

  libwebp is Copyright (c) 2010 Google Inc. and is under its own BSD
  3-clause licence, with a patent grant: see COPYING.libwebp and
  PATENTS.libwebp.


HISTORY

  45.2 (14.11.2026)   Install can be run by a program, with nobody there:
                      it finds its files when Easy2Install starts it,
                      and asks only before it replaces another WEBP
                      datatype. The decoder is the same.
  45.1 (12.11.2026)   First release.


Contents of util/dtype/webpdt.ppc-amigaos.lha
 PERMSSN    UID  GID    PACKED    SIZE  RATIO METHOD CRC     STAMP          NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
drwxr-xr-x   501/20          0       0 ****** -lhd- 0000 Nov 17 07:08 webpdt/
-rw-r--r--   501/20      12589   35149  35.8% -lh5- 7065 Nov 17 07:08 webpdt/COPYING
-rw-r--r--   501/20        774    1496  51.7% -lh5- c35d Nov 17 07:08 webpdt/COPYING.libwebp
drwxr-xr-x   501/20          0       0 ****** -lhd- 0000 Nov 17 07:08 webpdt/Classes/
drwxr-xr-x   501/20          0       0 ****** -lhd- 0000 Nov 17 07:08 webpdt/Classes/DataTypes/
-rwxr-xr-x   501/20      86673  223524  38.8% -lh5- 9421 Nov 17 07:08 webpdt/Classes/DataTypes/webp.datatype
drwxr-xr-x   501/20          0       0 ****** -lhd- 0000 Nov 17 07:08 webpdt/Devs/
drwxr-xr-x   501/20          0       0 ****** -lhd- 0000 Nov 17 07:08 webpdt/Devs/DataTypes/
-rw-r--r--   501/20        121     142  85.2% -lh5- e1d3 Nov 17 07:08 webpdt/Devs/DataTypes/WebP
drwxr-xr-x   501/20          0       0 ****** -lhd- 0000 Nov 17 07:08 webpdt/Extras/
-rwxr-xr-x   501/20       5694   70032   8.1% -lh5- 760d Nov 17 07:08 webpdt/Extras/dtprobe
drwxr-xr-x   501/20          0       0 ****** -lhd- 0000 Nov 17 07:08 webpdt/Extras/pictures/
-rw-r--r--   501/20      41594   41594 100.0% -lh0- 8b6e Nov 17 07:08 webpdt/Extras/pictures/alpha-lossless.webp
-rw-r--r--   501/20      21062   21120  99.7% -lh5- 8d3d Nov 17 07:08 webpdt/Extras/pictures/alpha-lossy.webp
-rw-r--r--   501/20       5144    5144 100.0% -lh0- 9481 Nov 17 07:08 webpdt/Extras/pictures/animated-offset.webp
-rw-r--r--   501/20       1653    1720  96.1% -lh5- 61f8 Nov 17 07:08 webpdt/Extras/pictures/animated.webp
-rw-r--r--   501/20       1082    1082 100.0% -lh0- 5a62 Nov 17 07:08 webpdt/Extras/pictures/lossless.webp
-rw-r--r--   501/20       3882    3882 100.0% -lh0- 7d02 Nov 17 07:08 webpdt/Extras/pictures/lossy.webp
-rw-r--r--   501/20        506     506 100.0% -lh0- eafc Nov 17 07:08 webpdt/Extras/pictures/odd-37x29.webp
-rw-r--r--   501/20       1031    2798  36.8% -lh5- c130 Nov 17 07:08 webpdt/Install
-rw-r--r--   501/20        666    1436  46.4% -lh5- fbda Nov 17 07:08 webpdt/PATENTS.libwebp
-rw-r--r--   501/20       2370    5452  43.5% -lh5- e4cb Nov 17 07:08 webpdt/ReadMe
---------- ----------- ------- ------- ------ ---------- ------------ -------------
 Total        22 files  184841  415077  44.5%            Nov 18 00:25
Page generated in 0.01 seconds
Aminet © 1992-2024 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>