English Amiga Board


Go Back   English Amiga Board > Coders > Coders. System

 
 
Thread Tools
Old 21 October 2020, 16:25   #3561
AMIGASYSTEM
Registered User
AMIGASYSTEM's Avatar
 
Join Date: Aug 2014
Location: Brindisi (Italy)
Posts: 6,204
Hi Peter, a question, is there anything to remove the halo (clear frame) that is created around the PNG icons when using a Worckbench MagicWB ?

This problem only happens when there is a background.
Attached Thumbnails
Click image for larger version

Name:	RTG.jpg
Views:	65
Size:	173.9 KB
ID:	69415  

Last edited by AMIGASYSTEM; 21 October 2020 at 16:31.
AMIGASYSTEM is offline  
Old 21 October 2020, 18:54   #3562
PeterK
Registered User
 
Join Date: Apr 2005
Location: Hangover
Posts: 2,812
Hi Carlo, is that a Workbench 3.1?

Usually, on 3.9/3.1.4 you would use Prefs/Workbench to set the frame size or to switch it off completely.

But on your screenshot the borders are disabled and the frames are not transparent, so that looks like WB 3.1 with something like "DontShowIBorder" or similar tools. These programs can not make the frames transparent.

On my IconDemo1200.adf I'm using the NewIcons patch and NiRTGset to make the background of PNG, OS4 and ColorIcons transparent. Look into the startup-sequence to see how that is done. You also have to call NiPrefs or NewIconsPrefs to enable the transparent background and you need one of the original newicon.libraries installed (NOT the emulated libs from Stephan Rupprecht or OS 3.9).

Last edited by PeterK; 21 October 2020 at 19:04.
PeterK is offline  
Old 22 October 2020, 11:22   #3563
AMIGASYSTEM
Registered User
AMIGASYSTEM's Avatar
 
Join Date: Aug 2014
Location: Brindisi (Italy)
Posts: 6,204
It was OS 3.1, with OS3.1.4 and 3.9 I know how to solve.

I had had a look at your floppy IconDemo1200 but I had not considered NewIcons, thanks always very helpful and kind.

Last edited by AMIGASYSTEM; 22 October 2020 at 11:28.
AMIGASYSTEM is offline  
Old 22 October 2020, 12:21   #3564
AMIGASYSTEM
Registered User
AMIGASYSTEM's Avatar
 
Join Date: Aug 2014
Location: Brindisi (Italy)
Posts: 6,204
Perfect Peter, in addition to configure NiPrefs I had to add in the startup-sequence "KillPlanarImages" otherwise on some PNG icons I saw only a dot
Attached Thumbnails
Click image for larger version

Name:	MagicWB.jpg
Views:	39
Size:	204.9 KB
ID:	69443  
AMIGASYSTEM is offline  
Old 22 October 2020, 12:45   #3565
PeterK
Registered User
 
Join Date: Apr 2005
Location: Hangover
Posts: 2,812
PNG icons have no planar images, that are OS4 icons with bad planar images from AfA, I guess. Btw, looks not like a TrueColor screen anymore.
PeterK is offline  
Old 22 October 2020, 13:00   #3566
AMIGASYSTEM
Registered User
AMIGASYSTEM's Avatar
 
Join Date: Aug 2014
Location: Brindisi (Italy)
Posts: 6,204
In fact, with NiPrefs, the Icons lose quality, if I disable transparencies preferences on NiPrefs the colors return.

Also if I change resolution in PAL the dots return

Last edited by AMIGASYSTEM; 24 October 2020 at 14:34.
AMIGASYSTEM is offline  
Old 22 October 2020, 13:31   #3567
PeterK
Registered User
 
Join Date: Apr 2005
Location: Hangover
Posts: 2,812
Sorry, NiRTGset is a hack for non-RTG systems and FBlit only.

Don't use NiRTGset or FBlit on a real RTG system with P96 or CGX4.

Concerning the planar images, there must be something else going wrong with your configuration. I never had that problem. It works here without any dot images on PAL and RTG screens. At the moment I don't have the time to solve your problem, maybe in the evening.
PeterK is offline  
Old 22 October 2020, 13:41   #3568
AMIGASYSTEM
Registered User
AMIGASYSTEM's Avatar
 
Join Date: Aug 2014
Location: Brindisi (Italy)
Posts: 6,204
About TrueColor I had solved, using NiRTGset, now I think the icons are perfect, see screenshots.

For PAL dots I have to check what I'm missing I never used those icons before on MagicWB.
Attached Thumbnails
Click image for larger version

Name:	RTG.jpg
Views:	48
Size:	200.9 KB
ID:	69453  

Last edited by AMIGASYSTEM; 22 October 2020 at 14:07.
AMIGASYSTEM is offline  
Old 24 October 2020, 12:11   #3569
AMIGASYSTEM
Registered User
AMIGASYSTEM's Avatar
 
Join Date: Aug 2014
Location: Brindisi (Italy)
Posts: 6,204
Ok fixed also with the PAL, to give problem was the "AddDataTypes" and "DataTypes.library" that I replaced to use the JPG backgrounds not supported by 3.1
Attached Thumbnails
Click image for larger version

Name:	PAL.jpg
Views:	31
Size:	110.7 KB
ID:	69469  
AMIGASYSTEM is offline  
Old 24 October 2020, 13:05   #3570
PeterK
Registered User
 
Join Date: Apr 2005
Location: Hangover
Posts: 2,812
Thanks Carlo, good to know that installing wrong datatype files can have such strange side effects.

I've also found another conflict with WB 3.1: Birdie patches some drawing functions in a way that my own patches for the blitter functions don't work correctly anymore and the icon background is not cleaned up when you select or release an icon (some parts of the previous image are remaining).
PeterK is offline  
Old 24 October 2020, 14:34   #3571
AMIGASYSTEM
Registered User
AMIGASYSTEM's Avatar
 
Join Date: Aug 2014
Location: Brindisi (Italy)
Posts: 6,204
Quote:
Originally Posted by PeterK View Post
Thanks Carlo, good to know that installing wrong datatype files can have such strange side effects.
The strangest thing is that with RTG resolution the problem does not exist, it only happens with PAL.

Here is what happens on OS 3.1 with PAL with more updated versions of Datatypes + Adddatype + Picture datatype, With RTG no problem as shown above in the screnshot
Attached Thumbnails
Click image for larger version

Name:	PAL-Datatype.jpg
Views:	23
Size:	165.7 KB
ID:	69470  

Last edited by AMIGASYSTEM; 24 October 2020 at 15:16.
AMIGASYSTEM is offline  
Old 24 October 2020, 19:29   #3572
PeterK
Registered User
 
Join Date: Apr 2005
Location: Hangover
Posts: 2,812
Quote:
Originally Posted by AMIGASYSTEM View Post
Here is what happens on OS 3.1 with PAL with more updated versions of Datatypes + Adddatype + Picture datatype,
Which versions are showing these glitches?

Are you using FastIPrefs or the WBPattern that comes with it or the original OS 3.1 IPrefs and WBPattern?

Are the icons displayed correctly without a JPG picture/pattern as background?

Last edited by PeterK; 24 October 2020 at 19:36.
PeterK is offline  
Old 24 October 2020, 20:07   #3573
AMIGASYSTEM
Registered User
AMIGASYSTEM's Avatar
 
Join Date: Aug 2014
Location: Brindisi (Italy)
Posts: 6,204
Quote:
Originally Posted by PeterK View Post
Which versions are showing these glitches?

Are you using FastIPrefs or the WBPattern that comes with it or the original OS 3.1 IPrefs and WBPattern?

Are the icons displayed correctly without a JPG picture/pattern as background?
- No use FastIPrefs

- Use IPrefs and WBPattern Standard OS 3.1

Without background image I only see dots on some kind of Icon see screenshot (only PAL, RTG no Problem)
As said above with "AddDataTypes" and "DataTypes.library" Standard OS3.1 no problem, everything works well in both PAL and RTG.

Of course I used some commands from your demo floppy with a "trick" of mine as you call it
Attached Thumbnails
Click image for larger version

Name:	No-Pattern.jpg
Views:	27
Size:	93.9 KB
ID:	69477  

Last edited by AMIGASYSTEM; 24 October 2020 at 20:32.
AMIGASYSTEM is offline  
 


Currently Active Users Viewing This Thread: 2 (0 members and 2 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 01:08.


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