English Amiga Board


Go Back   English Amiga Board > Coders > Coders. System

 
 
Thread Tools
Old 05 October 2017, 22:43   #2001
PeterK
Registered User
 
Join Date: Apr 2005
Location: Hangover
Posts: 2,385
Even more strange: Under OS 3.9 using the original icon.library v45.1 which can only display the planar images of these under AfA damaged and squeezed icons, which are not visible under OS4, it displays all of them like this:

AfA_OS has the bad habit to store some pointers directly in first pixels of the planar images. That's why you can always see some radom pattern at the top of these images.

Last edited by PeterK; 10 May 2018 at 22:18.
PeterK is offline  
Old 05 October 2017, 23:01   #2002
AMIGASYSTEM
Registered User
AMIGASYSTEM's Avatar
 
Join Date: Aug 2014
Location: Brindisi (Italy)
Posts: 3,773
Also AROS sees one side of corrupt icons

Last edited by AMIGASYSTEM; 11 November 2017 at 22:58.
AMIGASYSTEM is offline  
Old 15 October 2017, 21:11   #2003
bladecgn
Registered User

 
Join Date: Nov 2013
Location: Essen / Germany
Posts: 144
Quote:
Originally Posted by PeterK View Post
And for the def_AmigaGuide.info you have to define the transparent color number for ProcessIcon. It will never look perfect, because all pixels with color 0 will become transparent, too. Icons without a transparent color defined are never ghosted in order to allow the preview images of Eastern to stay opaque.

ProcessIcon def_AmigaGuide.info MWB2CI ST1=0 ST2=0 SIT=Project
Thanks very much, that works perfectly!
bladecgn is offline  
Old 21 October 2017, 06:35   #2004
PeterK
Registered User
 
Join Date: Apr 2005
Location: Hangover
Posts: 2,385
Update to icon.library 46.4.455:

Added a new version SB020 which is based on LD020 and tries to achieve softer borders around the icon symbols. This new effect only works on gfx cards. The other versions have no changes except a small fix for bad coding style which was never a real problem.

Don't use it on AmiKit X or it will kill the cat!

Last edited by PeterK; 24 October 2017 at 04:07.
PeterK is offline  
Old 21 October 2017, 09:59   #2005
AMIGASYSTEM
Registered User
AMIGASYSTEM's Avatar
 
Join Date: Aug 2014
Location: Brindisi (Italy)
Posts: 3,773
Quote:
Originally Posted by PeterK View Post
Update to icon.library 46.4.455:

Don't use it on AmiKit X or it will kill the cat!
PeterK my cat did not die with SB020, in Italy it is said that the cat has seven lives

I installed SB020 with AFA OS i can have some benefit? anyway noticed improvements when i turned off AFA OS (right mouse button system start)
AMIGASYSTEM is offline  
Old 21 October 2017, 10:35   #2006
PeterK
Registered User
 
Join Date: Apr 2005
Location: Hangover
Posts: 2,385
The 68020.png with MCP_prefs.info on the right shows the old borders, the SB020.png with MCP.info shows the softer borders.

Of course, AfA_OS_Libs:icon_lib.exe must be disabled to see what icon.library is doing.

And let you be warned, the cat will die sooner or later!
Attached Thumbnails
Click image for larger version

Name:	68020.png
Views:	211
Size:	29.6 KB
ID:	55095   Click image for larger version

Name:	SB020.png
Views:	205
Size:	30.9 KB
ID:	55096  

Last edited by PeterK; 21 October 2017 at 10:45.
PeterK is offline  
Old 22 October 2017, 22:22   #2007
PeterK
Registered User
 
Join Date: Apr 2005
Location: Hangover
Posts: 2,385
Update to icon.library 46.4.456:

Reworked the new SB020 version again and fixed some small mistakes in the border detection code.
PeterK is offline  
Old 23 October 2017, 12:35   #2008
AMIGASYSTEM
Registered User
AMIGASYSTEM's Avatar
 
Join Date: Aug 2014
Location: Brindisi (Italy)
Posts: 3,773
PeterK sorry just to understand better, the version "icon.library_LD020" is to be used on resolutions RTG while "icon.library_68020" per schermi PAL ?



Test "icon.library_LD020" on OS3.9 RTG 1024x768x32Bit UAE Zorro III

Last edited by AMIGASYSTEM; 10 February 2018 at 16:27.
AMIGASYSTEM is offline  
Old 24 October 2017, 00:18   #2009
PeterK
Registered User
 
Join Date: Apr 2005
Location: Hangover
Posts: 2,385
Hi AMIGASYSTEM,

there is no visible difference between the 68020 and the LD020 version, but maybe a little speed difference which depends on the design of your gfx card. On my WinUAE system the 68020 version runs a little faster.

LD020 and also SB020 are using my old line by line direct drawing method for the Read/WritePixelArray() calls. The advantage of transfering every image line separately instead of the whole image at once is that you can shorten these single lines even more than you can shrink the complete image rectangle by reducing it to the visible part without the surrounding background. So, you have to transfer less data to the gfx card and you don't need to allocate an extra buffer for editing the image. A single line fits onto the stack.

The disadvantage is that you need a pair of Read/WritePixelArray() calls for every line. I can't predict which method is faster, LD020 or 68020. It depends on the system.

Btw, why are you still using this ugly icon text with black background bars for the font? I would prefer to use ShodowIconText or OutlineIconText.

Last edited by PeterK; 27 October 2017 at 00:08.
PeterK is offline  
Old 24 October 2017, 01:56   #2010
AMIGASYSTEM
Registered User
AMIGASYSTEM's Avatar
 
Join Date: Aug 2014
Location: Brindisi (Italy)
Posts: 3,773
Quote:
Originally Posted by PeterK View Post
Btw, why are you still using this ugly icon text with black background bars for the font? I would prefer to use ShodowIconText or OutlineIconText.
Thanks for the Info, the screenshot i did it on my old man OS 3.9 of mine A4000/060 deceased remained unchanged for so many years.

Added OutlineIconText in the startup-sequence (white text Ok, black text Outline not good)

Last edited by AMIGASYSTEM; 11 May 2018 at 02:35.
AMIGASYSTEM is offline  
Old 24 October 2017, 02:50   #2011
PeterK
Registered User
 
Join Date: Apr 2005
Location: Hangover
Posts: 2,385
I'm using ShadowIconText (black on white), but everybody has his likes and dislikes. It also depends on the background image. Thanks for the screenshot, but on a jpg image you will hardly ever see the soft borders.

What do you think about the new SoftBorder feature in SB020? Is it usefull or do you see any drawbacks like less sharpness or speed as a reason not to use it? Attention, the cat in AmiKit X will lose her second life when you run 456!

Of course, 68020, LD020 and SB020 will work on all screens, not only on gfx cards. Just the new SoftBorder effect is limited to Hi/TrueColor screens, because it needs the cybergraphics.library functions Read/WritePixelArray() to make the borders 50 % transparent.

Last edited by PeterK; 24 October 2017 at 08:19.
PeterK is offline  
Old 24 October 2017, 11:17   #2012
AMIGASYSTEM
Registered User
AMIGASYSTEM's Avatar
 
Join Date: Aug 2014
Location: Brindisi (Italy)
Posts: 3,773
With SB020 i know a little improvement in focus, for speed, with JIT 060 the difference is imperceptible; after dozens of tests the cat has not died yet , even if it does not use it no problem even for AFA OS (AFA OS without icon.library does not start)
AMIGASYSTEM is offline  
Old 25 October 2017, 17:09   #2013
Michael
A1260T/PPC/BV/SCSI/NET

Michael's Avatar
 
Join Date: Jan 2013
Location: Moscow / Russia
Posts: 649
My 1 kopeyka to the stats...

Real 060/BV 1024x768@16bit DOpus5
SB version is slightly slower then normal version (around 3%)
This also depends on the icon set tested, for some the difference is almost zero.

I have decided to keep the regular version on my system,
it benchmarked a few ms better then the LD version for my system icon set based on glow icons.

Also prefer the regular draw mode over soft border, later is nice addition, but really needs a different kind of icons or specially prepared icons to look awesome, since glow icons loose sharpness of some essential borders and meshed icons have even more trouble.
Michael is offline  
Old 25 October 2017, 23:20   #2014
PeterK
Registered User
 
Join Date: Apr 2005
Location: Hangover
Posts: 2,385
Thanks alot for your feedback, Michael.

That's exactly what I wanted to know. If not everybody prefers to use the new Soft Border feature it's better keep it in the separate SB020 version than to enable it by default.

But usually, you have to give your 2 cents ...
PeterK is offline  
Old 26 October 2017, 23:22   #2015
kolla
Registered User
kolla's Avatar
 
Join Date: Nov 2007
Location: Trondheim, Norway
Posts: 1,537
What is the LD020 again? Maybe a short description of the various variants should be on page 1 of this thread
kolla is offline  
Old 27 October 2017, 00:03   #2016
PeterK
Registered User
 
Join Date: Apr 2005
Location: Hangover
Posts: 2,385
LD020 stands for Line by Line Direct Drawing and SB020 is the Soft Border version as explained in post #2009 somewhere above on this page already.
PeterK is offline  
Old 27 October 2017, 19:34   #2017
McTrinsic
Registered User

 
Join Date: Feb 2014
Location: Germany
Posts: 372
Sorry if I may ask...
what are the prerequisites for having a transparent Icon title background? If I enable text shadowing I only get a shadow for the rectangle around the text.
I have OS3.1., latest icon.lib and WB.lib 152 (or whatever... Latest patch).
McTrinsic is offline  
Old 27 October 2017, 21:32   #2018
PeterK
Registered User
 
Join Date: Apr 2005
Location: Hangover
Posts: 2,385
IconLib_46.4.readme:
Quote:
To enable the outline text call OutlineIconText before LoadWB.
For shadow text call ShadowIconText from the startup-sequence.
In Prefs/Fonts you should set the text and the field color for
the text background and then switch back into text only mode.
... before you save the font settings.

Where did you get a patch for WB 45.152 ?
PeterK is offline  
Old 27 October 2017, 23:41   #2019
McTrinsic
Registered User

 
Join Date: Feb 2014
Location: Germany
Posts: 372
Great, I looked for that ... but overlooked, obviously.

Thanks you so much !!!
McTrinsic is offline  
Old 27 October 2017, 23:44   #2020
McTrinsic
Registered User

 
Join Date: Feb 2014
Location: Germany
Posts: 372
Oh, and sorry - I mixed up some libs/versions.

It's 136 for wb.lib.
McTrinsic is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
ClassicWB Full and icon.library 46.4 Retroplay project.ClassicWB 8 05 August 2018 14:57
WB library conflict/versions Akira support.Apps 3 22 July 2010 19:47
PNG Icon to Color Icon Converter? Leandro Jardim request.Apps 1 24 May 2010 05:39
What's the latest version of icon.library for OS3.9? NovaCoder support.Apps 3 30 June 2009 16:43
Requesting icon.library v44+... nikvest request.Other 2 16 September 2007 02:58

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 10:12.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2018, vBulletin Solutions Inc.
Page generated in 0.20834 seconds with 15 queries