18-Apr-2024 16:36 GMT.
UNDER CONSTRUCTION
[Files] Bug in PowerIcons - warningANN.lu
Posted on 21-Oct-2003 15:11 GMT by Elena Novaretti15 comments
View flat
View list
A bug in PowerIcons 1.0/1.01 has been found. Nobody cames to the light perfect :) I'm working to fix it soon. Using icon.library < 45.10 causes PowerIcons to show alignment problems with default icons. That's not really a PowerIcons bug, rather a stupid code used by pre-45.10 icon.library when returning from the idenfitying hook. For now please use icon.library 45.10 (OS 3.9 BB2). I'm working to fix it, so wait for release 1.02 on Aminet. .&
List of all comments to this article
Sorted by date, most recent at bottom
Comment 1Pentrite21-Oct-2003 13:31 GMT
Comment 2Peter Gordon21-Oct-2003 13:47 GMT
Comment 3Anonymous21-Oct-2003 13:57 GMT
Comment 4bbrockie21-Oct-2003 14:36 GMT
Comment 5IamCleverToo21-Oct-2003 15:00 GMT
Comment 6another one21-Oct-2003 16:36 GMT
Comment 7Felix21-Oct-2003 19:04 GMT
Comment 8Me Too21-Oct-2003 22:12 GMT
Comment 9miksuh22-Oct-2003 10:18 GMT
Comment 10miksuh22-Oct-2003 10:19 GMT
Comment 11Bill Hoggett22-Oct-2003 13:19 GMT
Comment 12StAn22-Oct-2003 15:25 GMT
Bug in PowerIcons - warning : Comment 13 of 15ANN.lu
Posted by Kjetil on 22-Oct-2003 16:02 GMT
In reply to Comment 12 (StAn):
1. unchanged palette
find the best color whit out changing the palette, dither the images!

2. stupid
Well no I done this, the quality becomes extremely bad whit your suggestion, a better way is to analyze the picture to find the most color component whit the biggest delta values,

3. simple
sum the delta red + delta green + delta blue, and calculate the number of bits per color component, this method makes it some what better, now dither the image.

4. complex
the best way is to collect colors from the image in table, if the number of color becomes grater then the number of colors you can use, the try again whit less accuracy

red & FE, green & 0xFE, blue & 0xFE
>256 than try again
red & FC, green & 0xFC, blue & 0xFC
>256 than try again
red & F8, green & 0xF8, blue & 0xF8

now you have a new palette, try render the image, by finding the closes colors you can find, and dither the image.

number 1,2 and 3 reacquires the GUI, background and icons to be refreshed whit a minimum of 3 seconds intervals when changes are made, strange color flashes may happen from time to time, unless you double buffer the desktop
Jump...
TopPrevious commentNext commentbottom
List of all comments to this article (continued)
Comment 14Anonymous22-Oct-2003 22:09 GMT
Comment 15Bill Hoggett22-Oct-2003 23:55 GMT
Back to Top