| 1 | |
| 2 | When I switched to TrueColor on my Linux box, I found that xfishtank just crash |
| 3 | with a segmentation fault, how frustrating. Digging into the code, I found |
| 4 | that it only support depths 1-8. Thanks to John Cwikla's article: |
| 5 | |
| 6 | The X Color Context: Color Management For (Almost) Any Occasion |
| 7 | in The X Advisor: June 1995 - Vol 1 No 1. http://www.unx.com/DD/advisor |
| 8 | |
| 9 | I got xfishtank to support TrueColor. I've only tested it on Linux running |
| 10 | XFree86-3.1.2 in 16 and 24 bpp. If anybody can get it to work on other |
| 11 | platform or other video modes, please drop me a line. |
| 12 | |
| 13 | I have no idea what this version will do in DirectColor modes because I have |
| 14 | no way of testing. This version ignores the -C (color limit) flag when running |
| 15 | in > 8 bpp modes. There's no need for limitting the number of color in |
| 16 | TrueColor modes right? |
| 17 | |
| 18 | You may use, redistribute this version as long as you keep all the READMEs and |
| 19 | copyright stuff with the code. This is to ensure credit goes to those deserve. |
| 20 | After all, I did not write this code. I only add TrueColor support. |
| 21 | |
| 22 | There no warranty of any kind. Use this code at your own risk. Don't blame me |
| 23 | for any damage it may cause. Bugfixes and comments are welcome. |
| 24 | |
| 25 | Enjoy, |
| 26 | |
| 27 | TJ Phan |
| 28 | phan@aur.alcatel.com |