|
84762 packages online
|
|
|
|
gfx/misc/TestDTAlpha.lha |
|
No screenshot available
|
|
TestDTAlpha - Freeware.
This tool is freely redistributable and usable upon the conditions that this
notice remains intact and that modified versions of this archive are not distributed
in any way. The author makes no warranty of any kind with respect to this product
and explicitly disclaims any implied warranties of merchantability or fitness for
any particular purpose.
If you are going to this tool within one of your programs and include
it into your program's distribution, feel free to do so. In this case you have
to add the following statement into your program's documentation:
"This program makes use of TestDTAlpha @ 2008 by Andreas R. Kleinert".
Note: This tool requires dtimage.library - Freeware.
(included is V3.1 for testing purposes)
************************************************************************************
There is at least one V44/45 version of picture.datatype in some OS version
which does NOT support alpha channel export (always returns fixed value
for alpha byte, no matter what is set by the corresponding image Datatype).
This makes it hard for image datatypes to decide whether to support alpha
channel or not.
This tool does the following:
It checks if the first RGBA pixel of a given image - after loading via
datatypes - equals 21190385 ($15130355). Actually only the last byte is of
interest, which contains an alpha value different from $00 or $FF.
If the check is successful, the following ENV variable is created:
ENV:Datatypes/PICDTALPHA ALPHA=OK [linefeed]
otherwise
ENV:Datatypes/PICDTALPHA ALPHA=BAD [linefeed]
The ENV variable must have this entry in the first line.
Any further content is optional.
Syntax:
TestDTAlpha 1pixelimage-withalpha.ext
Three 1 pixel test files for PNG, TIFF and SVG are included.
How to interpret the ENV variable:
If it does not exist, assume that pic-dt does support alpha channel
and allow the end-user manual control over any kind of settings.
If it exists and contains "BAD" then pic-dt does not support alpha channel.
If it exists and contains "OK" then pic-dt does support alpha channel.
************************************************************************************
Main changes since previous versions:
V1.2 (27.1.2007):
- now using dtimage v3.3, which fixes an issue with PDTA_Remap
(-> Bernd Roesch)
- fixed V1.1 history
V1.1 (26.1.2007):
- now using dtimage v3.2, which always sets PDTA_DitherQuality to 0,
(-> Thomas Klein)
- some pic-dts (e.g. with alpha.tif) crashed on 1x1 pixel images on some
systems (could not reproduce)
(-> Thomas Klein)
- added 8x8 pixel image versions
************************************************************************************
© 2008 by Dipl.-Ing. Andreas Kleinert. All rights reserved.
|
Contents of gfx/misc/TestDTAlpha.lha
PERMSSN UID GID PACKED SIZE RATIO METHOD CRC STAMP NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[generic] 70 70 100.0% -lh0- 2c81 Jan 20 10:14 TestDTAlpha/1x1/alpha.png
[generic] 93 878 10.6% -lh5- 9e03 Jan 20 10:14 TestDTAlpha/1x1/alpha.svg
[generic] 64 122 52.5% -lh5- c44c Jan 20 10:14 TestDTAlpha/1x1/alpha.tif
[generic] 78 78 100.0% -lh0- 8d9f Jan 26 09:43 TestDTAlpha/8x8/alpha.png
[generic] 115 898 12.8% -lh5- 9c8b Jan 26 09:43 TestDTAlpha/8x8/alpha.svg
[generic] 68 374 18.2% -lh5- 8f26 Jan 26 09:43 TestDTAlpha/8x8/alpha.tif
[generic] 3166 5324 59.5% -lh5- c375 Jan 27 21:08 TestDTAlpha/dtimage.library
[generic] 141 184 76.6% -lh5- 3033 Jan 20 09:54 TestDTAlpha/scoptions
[generic] 207 1118 18.5% -lh5- f6d2 Jan 26 09:44 TestDTAlpha/smakefile
[generic] 74 85 87.1% -lh5- eedf Jan 20 09:53 TestDTAlpha/smakefile.wth
[generic] 5549 8568 64.8% -lh5- e293 Jan 27 21:08 TestDTAlpha/TestDTAlpha
[generic] 705 1440 49.0% -lh5- d258 Jan 20 10:53 TestDTAlpha/TestDTAlpha.c
[generic] 304 614 49.5% -lh5- ad00 Jan 20 10:34 TestDTAlpha/TestDTAlpha.h
[generic] 385 831 46.3% -lh5- 4bb9 Jan 27 21:08 TestDTAlpha/TestDTAlpha.info
[generic] 1386 3037 45.6% -lh5- 2f15 Jan 27 21:09 TestDTAlpha/TestDTAlpha.readme
---------- ----------- ------- ------- ------ ---------- ------------ -------------
Total 15 files 12405 23621 52.5% Jan 27 16:49
|
|
|
|
Page generated in 0.02 seconds |
Aminet © 1992-2024 Urban
Müller and the Aminet team.
Aminet contact address: <aminetaminet net> |