English Amiga Board


Go Back   English Amiga Board > Coders > Coders. System

 
 
Thread Tools
Old 27 July 2022, 23:24   #3961
AMIGASYSTEM
Registered User
 
AMIGASYSTEM's Avatar
 
Join Date: Aug 2014
Location: Brindisi (Italy)
Age: 70
Posts: 8,252
Quote:
Originally Posted by PeterK View Post
Edit: Concerning the background, this could also be caused by one of the newer rtg.libraries of P96 v3. I had strange colored backgrounds on AfA_OS with a certain rtg.library version, too.

I had suspected, and now I confirm, restored my old Picasso 96 v2.1b everything is working fine again, now the Glow Icon OS 3.5/3.9 are showing fine and no wallpaper is showing.

Also eliminated some crashes on graphics programs that I did not have before updating the Picasso libraries.
AMIGASYSTEM is offline  
Old 02 August 2022, 16:34   #3962
Torti-the-Smurf
Registered User
 
Torti-the-Smurf's Avatar
 
Join Date: Dec 2018
Location: Earth
Posts: 1,064
I have a little question for Peter (or somebody that might know)

How can i get rid of the Transparent that "shines through" the Icon/s ?

(same would happend with the standard Icon.Library)

Is there a way to do get rid of this ?
( and NO , i doesn´t want to get rid of the Copper background )

Anyway, HUGE thanks PETER, this is an essential AMIGA software imho
Attached Thumbnails
Click image for larger version

Name:	example.jpg
Views:	110
Size:	41.6 KB
ID:	76210  
Torti-the-Smurf is offline  
Old 02 August 2022, 17:54   #3963
PeterK
Registered User
 
Join Date: Apr 2005
Location: digital hell, Germany, after 1984, but worse
Posts: 3,374
It seems that somebody who has created this icon has defined a transparent color and also used it for gray pixels of the image, instead of just for the non-existing transparent background.

EDIT: (sorry my explanation was wrong, I didn't test it, because I was too busy)

You can load this icon with the OS 3.9 IconEdit and then look under the palette of each image. There is a little square which shows the currently transparent color of the palette or a diagonal striped pattern, if no color is actually defined as transparent. In most cases you will find that transparency is enabled for color 0, but not always. Just click into this square to disable transparency (get the striped pattern). You have to repeat the same for the second image.

The other tool which can be used to enable/disable the transparent color is ProcessIcon by Dirk Stoecker, which is also supplied in my IconMixer drawer.

It has two arguments for the transparent colors of both images: ST1 and ST2, which must be set to -1 to get rid of transparency. Not tested:

ProcessIcon <IconName> ST1=-1 ST2=-1

Last edited by PeterK; 02 August 2022 at 19:21.
PeterK is offline  
Old 02 August 2022, 21:02   #3964
Torti-the-Smurf
Registered User
 
Torti-the-Smurf's Avatar
 
Join Date: Dec 2018
Location: Earth
Posts: 1,064
Great! ; thank you so much for that info AND for the only Icon.Library i would ever use
Torti-the-Smurf is offline  
Old 07 August 2022, 00:39   #3965
AMIGASYSTEM
Registered User
 
AMIGASYSTEM's Avatar
 
Join Date: Aug 2014
Location: Brindisi (Italy)
Age: 70
Posts: 8,252
Peter what do you think of these new "Folder White" Icons ? (last post)

https://eab.abime.net/showthread.php?t=111421
AMIGASYSTEM is offline  
Old 07 August 2022, 12:12   #3966
PeterK
Registered User
 
Join Date: Apr 2005
Location: digital hell, Germany, after 1984, but worse
Posts: 3,374
Excellent icons, Carlo!

Ok, they don't have the standard yellow orange glow-effect, but your beige brown coloring of the selected icons also looks good and makes it possible to distinguish them clearly from the unselected icons.

Which size do they have? Looks like 64x64, right? Some people may be more interested in 46x46 or 48x48 for their real Amigas.
PeterK is offline  
Old 07 August 2022, 12:44   #3967
AMIGASYSTEM
Registered User
 
AMIGASYSTEM's Avatar
 
Join Date: Aug 2014
Location: Brindisi (Italy)
Age: 70
Posts: 8,252
The one in the screenshot are 48x47, but I also created 64x62 ones, in this scrennshot there are both sizes

Last edited by AMIGASYSTEM; 02 September 2023 at 00:56.
AMIGASYSTEM is offline  
Old 07 August 2022, 12:58   #3968
PeterK
Registered User
 
Join Date: Apr 2005
Location: digital hell, Germany, after 1984, but worse
Posts: 3,374
Oh dear! It seems that I was too blind to realize that some of your icon labels on the screenshot are ending with the suffix "-48". That's caused by my age and my tired eyes, you may know what I mean ...
PeterK is offline  
Old 07 August 2022, 13:00   #3969
AMIGASYSTEM
Registered User
 
AMIGASYSTEM's Avatar
 
Join Date: Aug 2014
Location: Brindisi (Italy)
Age: 70
Posts: 8,252
Quote:
Originally Posted by PeterK View Post
Oh dear! It seems that I was too blind to realize that some of your icon labels on the screenshot are ending with the suffix "-48". That's caused by my age and my tired eyes, you may know what I mean ...
It happens to me too 70 years are very close
However, it is not an age problem, even young people suffer from it ... inattention !
AMIGASYSTEM is offline  
Old 16 August 2022, 14:16   #3970
hexaae
Bug hunter
 
hexaae's Avatar
 
Join Date: Jul 2006
Location: Italy
Age: 48
Posts: 2,161
OK, I'm getting old and forgot some fixes and workarounds for our beloved Workbench
Made a new OS39 install and noticed that, even using WBCtrl from Aminet to expand long file names to 100 chars, when I do a Copy (RAMIGA+C) from Workbench the new filename "Copy_of_..." is truncated to 25 chars. I use SFS (SmartFilesystem 1.280 ( 2-Giu-2017)) with 107 chars limit but same happens in ram (I have ram-handler 47.7 ( 8-Gen-2020))
icon.library and workbench.library should be involved I guess...

P.S.
Another good reason to finally upgrade my SYS: to AmigaOS3.2 I'm still procrastinating
hexaae is offline  
Old 16 August 2022, 14:52   #3971
PeterK
Registered User
 
Join Date: Apr 2005
Location: digital hell, Germany, after 1984, but worse
Posts: 3,374
It was you, who once sent me the fixes from Mike for workbench.library and icon.library. One of them was the fix for copying long file names, which was not supported by WB v45.127 of OS 3.9.

So you need a file system with support for long names, WBCTRL MNL=102, a WB v45.131-132 or WB 45.194, and icon.library v45.4, 46.4 - 51.4. That was the reason why my Revision number is always 4, to be compatible to Mike's WB 45.131.

And it still works on OS 3.9 with 51.4.565! No, I didn't introduce a new bug.
PeterK is offline  
Old 16 August 2022, 15:48   #3972
hexaae
Bug hunter
 
hexaae's Avatar
 
Join Date: Jul 2006
Location: Italy
Age: 48
Posts: 2,161
Quote:
Originally Posted by PeterK View Post
It was you, who once sent me the fixes from Mike for workbench.library and icon.library. One of them was the fix for copying long file names, which was not supported by WB v45.127 of OS 3.9.

So you need a file system with support for long names, WBCTRL MNL=102, a WB v45.131-132 or WB 45.194, and icon.library v45.4, 46.4 - 51.4. That was the reason why my Revision number is always 4, to be compatible to Mike's WB 45.131.

And it still works on OS 3.9 with 51.4.565! No, I didn't introduce a new bug.
Ah! It was that workbench.library 131+ thanks for refreshing my memory
hexaae is offline  
Old 16 August 2022, 16:13   #3973
PeterK
Registered User
 
Join Date: Apr 2005
Location: digital hell, Germany, after 1984, but worse
Posts: 3,374
Btw, OS 3.1.4 has introduced the additional function BumpRevisionLength() for that purpose (copying of long names), which is also included in my library, but not in Mike's v45.4, of course. And the icon.library of 3.1.4+ checks the file system for the supported name length, it won't need WBCTRL or Workbench preferences to set MNL for the copying, but my library still requires this setting, because I don't want to care about file systems.
PeterK is offline  
Old 17 August 2022, 21:20   #3974
Thomas Richter
Registered User
 
Join Date: Jan 2019
Location: Germany
Posts: 3,233
But you should. Without taking care of this, you can create a lot of confusion when creating or copying icons to file systems which cannot take the long name correctly. What the Os icon.library does is that it checks after creating a ".info" file whether the file name arrived correctly. You also need to consider this when reading ".info" files, namely that the file you opened is actually an ".info" file, and not a regular file that was erraneously opened by the file system because it truncated parts of ".info" off.

WBCtrl "max file name" is a broken design simply because the Amiga can easily handle multiple file systems with different length limits, and the user can't hardly know what the overall length limit of all file systems is that could be potentially mounted to the system.
Thomas Richter is offline  
Old 18 August 2022, 10:14   #3975
PeterK
Registered User
 
Join Date: Apr 2005
Location: digital hell, Germany, after 1984, but worse
Posts: 3,374
Ok, ok, you are right, and I will be quiet ...
because we've discussed this topic a few times already in all details at A1k.
PeterK is offline  
Old 21 August 2022, 18:18   #3976
PeterK
Registered User
 
Join Date: Apr 2005
Location: digital hell, Germany, after 1984, but worse
Posts: 3,374
Update to icon.library build #566 (no new HAM versions yet):

Fixed a few bugs in the delayed RLE decompression of very large ColorIcons with more than 32 kB image size.
PeterK is offline  
Old 21 August 2022, 19:38   #3977
AMIGASYSTEM
Registered User
 
AMIGASYSTEM's Avatar
 
Join Date: Aug 2014
Location: Brindisi (Italy)
Age: 70
Posts: 8,252
Thanks Peter for this new version !

If you may be interested it was released "IconClone m68k aros" for icon swapping, it also allows you to go back, also works well with your Icon.library More Apps in the pipeline to manage Icons


http://archives.aros-exec.org/
AMIGASYSTEM is offline  
Old 21 August 2022, 20:50   #3978
PeterK
Registered User
 
Join Date: Apr 2005
Location: digital hell, Germany, after 1984, but worse
Posts: 3,374
Thanks Carlo!

I've tested IconClone, and yes, it works with the Aros 68k icon.library, but it has problems with my library to display OS4 or Aros ARGB icons in the IconClone GUI, although PNG and ColorIcons are appearing correctly. Nevertheless, the image swapping from source to destination and backwards works in all cases.

The question is, how miker tries to retrieve TrueColor images from the icon.library, because my library doesn't support this yet by calling IconControl GetImageData() for ARGB images. It only supports chunky images of ColorIcons, that's why it shows just pixel junk for OS4 and Aros icons. But somehow IconClone gets the PNG images, maybe grabbing them directly out of the PNG icon files and not from icon.library?
PeterK is offline  
Old 21 August 2022, 21:07   #3979
AMIGASYSTEM
Registered User
 
AMIGASYSTEM's Avatar
 
Join Date: Aug 2014
Location: Brindisi (Italy)
Age: 70
Posts: 8,252
I'm not an expert in this, maybe it would be good if you would talk to miker directly, your presence on Aros-exec I think would be very nice !
AMIGASYSTEM is offline  
Old 23 August 2022, 10:22   #3980
hexaae
Bug hunter
 
hexaae's Avatar
 
Join Date: Jul 2006
Location: Italy
Age: 48
Posts: 2,161
@PeterK
Uhm... Why included "icon.library 46.4.566 (68020)" still has that bug dragging icons we discussed some time ago (thought it was fixed)?


NoDelayedImage2 patch doesn't fix it...

My cfg:
OS3.9
P96 3.3.1 (06.06.22) ©2017-2022 iComp
workbench.library 45.132 ( 8-Set-2012)

EDIT:
Oh, I've just found AROS version fixes it on my non-AROS env

Last edited by hexaae; 23 August 2022 at 11:02.
hexaae 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 09:45.

Top

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