English Amiga Board


Go Back   English Amiga Board > Coders > Coders. System

 
 
Thread Tools
Old 11 January 2014, 10:44   #821
mfilos
Paranoid Amigoid
 
mfilos's Avatar
 
Join Date: Mar 2008
Location: Athens/Greece
Age: 45
Posts: 1,978
I don't agree.
MagicWB icons look A LOT BETTER without the border



mfilos is offline  
Old 11 January 2014, 10:50   #822
Bamiga2002
BlizzardPPC'less
 
Bamiga2002's Avatar
 
Join Date: May 2004
Location: Finland
Age: 46
Posts: 3,210
Send a message via MSN to Bamiga2002
But if you need to boot without S-S then the default behaviour with icon borders is preferred IMO. Easier to find those dotted icons for example. And it "honors" the original behaviour
Bamiga2002 is offline  
Old 11 January 2014, 11:04   #823
Michael
A1260T/PPC/BV/SCSI/NET
 
Michael's Avatar
 
Join Date: Jan 2013
Location: Moscow / Russia
Posts: 841
Quote:
Originally Posted by PeterK View Post
Case 1.) Makes no sense at all.

Case 2.) Copy my attached Boot script into C: and start it without your s-s instead of typing several commands. Looks best IMO.
Maybe it's an option, but you can never know if such a script exist on a friends machine your are trying to fix.

Quote:
Originally Posted by PeterK View Post
No sorry, generating 4c images would take too much time and needs a lot more space. Everybody can still do that with IconEdit (put the colored pixel into the lower right corner of the selected image to avoid the size trimming).
This does not work. a) you would get a coloured pxl floating around
b) Yes, IconEdit can save the classic image, but if you touch the icon with something else, possibly just snapshoting it, the classic data is replaced by a dot (Maybe it's behaviour of some tools I use ;-( ).

Yes, it will take some extra space, but time wise is should be only a single time operation when the image is generated. In normal use it is ignored. (In away it's similat to Cloanto AmigaForever fall back mode when new icons are disabled, you get classic icon images)


PS: I too prefer the system default behaviour regarding borders ;-)

Anybody knows a tool or shell command to handle icon images ?
eg. CondenseIcon can remove images, but who can add them back?
Michael is offline  
Old 11 January 2014, 12:35   #824
gulliver
BoingBagged
 
gulliver's Avatar
 
Join Date: Aug 2007
Location: The South of nowhere
Age: 46
Posts: 2,358
Quote:
Originally Posted by PeterK View Post
@gulliver
Did you have a problem yet?
Fortunately no, everything seems to be fine...for now
gulliver is offline  
Old 11 January 2014, 15:15   #825
PeterK
Registered User
 
Join Date: Apr 2005
Location: digital hell, Germany, after 1984, but worse
Posts: 3,385
Update to icon.library 46.4.332

Supporting the tags ICONDRAWA_Frameless and ICONDRAWA_Borderless in DrawIconStateA() with direct drawing now.

The alpha blending of OS4 icons is converted into two levels of merging with gray before switching to transparency like it was already done for PNG icons. This may result in softer fading edges sometimes.


@mfilos
Thanks a lot for your excellent screenshots
Unfortunately, it seems to be pointless trying to convince these naggers
PeterK is offline  
Old 11 January 2014, 15:22   #826
Bamiga2002
BlizzardPPC'less
 
Bamiga2002's Avatar
 
Join Date: May 2004
Location: Finland
Age: 46
Posts: 3,210
Send a message via MSN to Bamiga2002
Quote:
Originally Posted by PeterK View Post
...
Unfortunately, it seems to be pointless trying to convince these naggers

sorry dude, personal preference just is what it is
Hey, we're Amigoids - we like nagging

EDIT: forgot to add thanks for continuous icon.library work
Bamiga2002 is offline  
Old 12 January 2014, 11:56   #827
bladecgn
Registered User
 
Join Date: Nov 2013
Location: Essen / Germany
Posts: 188
If I enable Icon borders all icons but the AsyncWB icon in the WBStartup folder (OS 3.9) get borders.

I can't figure out why AsyncWB get no icon border.
bladecgn is offline  
Old 12 January 2014, 13:31   #828
mfilos
Paranoid Amigoid
 
mfilos's Avatar
 
Join Date: Mar 2008
Location: Athens/Greece
Age: 45
Posts: 1,978
On my main system I have MagicWB iconset so I can't reproduce the issue.
On another backup system with ClassicWB3.9, I was able to reproduce the issue and not only AsyncWB but also other icons in Prefs didn't have the border. Maybe it could be due to replacement of stock icons with others from Bloodwych but can't be sure nor I ever was bothered.

Btw PeterK your latest version works just fine
I made a test and haven't found a difference between some test MasonIcons I have. Then again, I'm a crappy tester when it comes to more than 8 colors LOL
Cheers for your awesome work as always though.
mfilos is offline  
Old 12 January 2014, 16:28   #829
Michael
A1260T/PPC/BV/SCSI/NET
 
Michael's Avatar
 
Join Date: Jan 2013
Location: Moscow / Russia
Posts: 841
Quote:
Originally Posted by bladecgn View Post
If I enable Icon borders all icons but the AsyncWB icon in the WBStartup folder (OS 3.9) get borders.

I can't figure out why AsyncWB get no icon border.
Icons have special flags that can be set.
One sets icon border ON/OFF for WB, the other is border ON?OFF for DOpus5.

All my GlowIcons have this flag set (default) so the only problem is current implementation of icon.library that does not follow the rules, and set border
off for all icons, when it should not do that unless a WB env variable was set.

Which brings a new point I would like to raise why I need 4c icons ;-)
Set WB env - No Colour Icons, and we end up with a Workbench full of dot icons :-(

Desperately need something that can generate alt 4c images for icons
as if we are running Peter's excellent library with good remapping in 4c mode. (No need for on the fly conversion, just a cli tool to use and point at the most important icons to generate alt images in them so that they are visible in all cases)
Michael is offline  
Old 13 January 2014, 21:05   #830
PeterK
Registered User
 
Join Date: Apr 2005
Location: digital hell, Germany, after 1984, but worse
Posts: 3,385
Quote:
Originally Posted by mfilos View Post
I made a test and haven't found a difference between some test MasonIcons I have. Then again, I'm a crappy tester when it comes to more than 8 colors LOL
No, what you really need for this test is a crappy OS4 ARGB icon where the designer tried to hide the ugly edges with very bad aliasing effects by fading them out via alpha blending.

My changes in the color reduction code are adding two steps of merging with (25% and 50%) gray before switching to transparency. This gives just a small improvement compared to the truecolor images with alpha channel, but at least it's better than nothing. This example is really the worst icon which I could find in my collection.

Attached are 3 images: from AfA_OS, from IconLib330 and from IconLib332: (Enlarge to fullscreen)

Last edited by PeterK; 10 May 2018 at 21:21.
PeterK is offline  
Old 13 January 2014, 21:24   #831
PeterK
Registered User
 
Join Date: Apr 2005
Location: digital hell, Germany, after 1984, but worse
Posts: 3,385
Quote:
Originally Posted by bladecgn View Post
If I enable Icon borders all icons but the AsyncWB icon in the WBStartup folder (OS 3.9) get borders.

I can't figure out why AsyncWB get no icon border.
You can load these icons into the OS 3.9 IconEdit, remove the flag "Borderless" and save them again.
PeterK is offline  
Old 13 January 2014, 21:24   #832
mfilos
Paranoid Amigoid
 
mfilos's Avatar
 
Join Date: Mar 2008
Location: Athens/Greece
Age: 45
Posts: 1,978
Aha!!! Thanks for the information Peter.
mfilos is offline  
Old 14 January 2014, 03:14   #833
Michael
A1260T/PPC/BV/SCSI/NET
 
Michael's Avatar
 
Join Date: Jan 2013
Location: Moscow / Russia
Posts: 841
Quote:
Originally Posted by PeterK View Post
You can load these icons into the OS 3.9 IconEdit, remove the flag "Borderless" and save them again.
Yes, but be warned, it will also trim the icon size!
Use ProcessIcon or CondenseIcon to remove/set the borderless flag.
For DOpus5, use internal icon info, and set borders off.
Michael is offline  
Old 14 January 2014, 03:44   #834
PeterK
Registered User
 
Join Date: Apr 2005
Location: digital hell, Germany, after 1984, but worse
Posts: 3,385
ProcessIcon does nothing with borders or frames,
and CondenseIcon has only a switch FL=Frameless to remove frames.

But bladecgn wants to enable borders !
PeterK is offline  
Old 14 January 2014, 04:08   #835
Minuous
Coder/webmaster/gamer
 
Minuous's Avatar
 
Join Date: Oct 2001
Location: Canberra/Australia
Posts: 2,678
>(I don't like these ugly frames to be enabled by default)

Then you should change your Preferences, rather than changing the behaviour of icon.library.
Minuous is offline  
Old 14 January 2014, 04:23   #836
PeterK
Registered User
 
Join Date: Apr 2005
Location: digital hell, Germany, after 1984, but worse
Posts: 3,385
If you don't like the behaviour of my library, then you should change the library, rather than trying to change my mind

To be more serious, if the OS 3.5 preferences are set to the defaults, then everything will just appear as you would expect it:

Correction: I've just checked out the original ENVARC:sys/workbench.prefs settings from the Amiga OS 3.9 CD, and to my surprise, the default configuration of the OS developers is FRAMES OFF !! (Hmm, I must have done something wrong, but when I start from the OS 3.9 Emergency-Boot-Disk all the icons appear without frames.)

But of course, every user can change these Workbench preferences and save them. Then the IPrefs v44 task will always read the new settings from ENV:sys/workbench.prefs and send them to the icon.library overwriting the internal defaults, which indeed are different than those of the original library.

There is only one user here who wants to start his system without using the system preferences, but who is too lazy to call the command IconFramesON in such an unusual case.

Last edited by PeterK; 14 January 2014 at 07:19.
PeterK is offline  
Old 14 January 2014, 15:02   #837
Michael
A1260T/PPC/BV/SCSI/NET
 
Michael's Avatar
 
Join Date: Jan 2013
Location: Moscow / Russia
Posts: 841
Yes, but a few are agreeing to the fact that the default lib prefs should be the same as with other official libs (when no env vars are set) be it a cut down boot or a fully loaded system.
And only then the user can decide what they like by setting the prefs if defaults do not suite him.
Your lib is an excellent upgrade with new essential extra function, but it has to obey the system rules for standard functions. Thus making it a transparent upgrade for most users.


Quote:
Originally Posted by PeterK View Post
ProcessIcon does nothing with borders or frames,
and CondenseIcon has only a switch FL=Frameless to remove frames.

But bladecgn wants to enable borders !
Great news, I thought he was wondering how to remove the border from an icon when library setting Borders=ON is used.

Now it's getting even more interesting, why they have made a swith to disable border and no way to bring it back ;-)

Last edited by prowler; 14 January 2014 at 21:02. Reason: Back-to-back posts merged.
Michael is offline  
Old 15 January 2014, 07:00   #838
bladecgn
Registered User
 
Join Date: Nov 2013
Location: Essen / Germany
Posts: 188
Quote:
Originally Posted by PeterK View Post
You can load these icons into the OS 3.9 IconEdit, remove the flag "Borderless" and save them again.
That did the trick Peter. Thanks very much for this and of cource this ingenious superfast icon.library!

Another question: Do I need the "IconsToFastMem" command if I select "Other Mem" in workbench preferences?
Edit: Just tested it, I don't need the command then. Now I understand, those commands are only for people that are not using IPrefs.
Only command you can't set by GUI is OutlineIconText

Last edited by bladecgn; 18 January 2014 at 16:47.
bladecgn is offline  
Old 15 January 2014, 08:43   #839
mfilos
Paranoid Amigoid
 
mfilos's Avatar
 
Join Date: Mar 2008
Location: Athens/Greece
Age: 45
Posts: 1,978
The "Other Mem" feature exists only in OS3.9. For older Workbench versions that don't have this feature using the "IconsToFastMem" is the only way
mfilos is offline  
Old 18 January 2014, 21:02   #840
AGS
XoXo/Tasko Developer
 
AGS's Avatar
 
Join Date: Dec 2013
Location: Munich
Age: 49
Posts: 450
Question

Hi Peter,

when I use the original icon.library and open my App on an own screen, the icon colors are wrong. When I use your lib, the icon colors are correct. Can you tell me why?

ags
Attached Thumbnails
Click image for larger version

Name:	iconsbadcolors.jpg
Views:	289
Size:	69.7 KB
ID:	38684  
AGS 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 13:57
WB library conflict/versions Amiga1992 support.Apps 3 22 July 2010 18:47
PNG Icon to Color Icon Converter? Leandro Jardim request.Apps 1 24 May 2010 04:39
What's the latest version of icon.library for OS3.9? NovaCoder support.Apps 3 30 June 2009 15:43
Requesting icon.library v44+... nikvest request.Other 2 16 September 2007 01: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 06:31.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.23702 seconds with 14 queries