![]() |
![]() |
#4121 | |
Registered User
Join Date: Aug 2014
Location: Brindisi (Italy)
Age: 69
Posts: 7,976
|
Quote:
Thanks, great tool, very useful to capture the images of old icons and maybe improve them ![]() @mfilos You should have it on AFA OS, you can also find it here: https://sourceforge.net/p/amega1/cod...upport.library Last edited by AMIGASYSTEM; 12 May 2023 at 22:52. |
|
![]() |
![]() |
#4122 | |
Paranoid Amigoid
![]() Join Date: Mar 2008
Location: Athens/Greece
Age: 44
Posts: 1,937
![]() |
Quote:
![]() |
|
![]() |
![]() |
#4123 | |
Registered User
![]() Join Date: Mar 2010
Location: Beckenham/England
Posts: 766
|
Quote:
https://eab.abime.net/showthread.php...ight=iconmaker With IconMaker you need to "Get Images From Icon" and then "Join images as Icon", so I guess your script is better/quicker - not taken a look yet ![]() Might add this option to IconMaker... |
|
![]() |
![]() |
#4124 | |
Registered User
Join Date: Apr 2005
Location: digital hell, Germany, after 1984, but worse
Posts: 3,248
|
Quote:
My script is indeed based on your "Get Images From Icon" and "Join images as Icon", and then CopyIcon by Stephan Rupprecht in order to get the old icon attributes back from the source to the raw DualPNG icon. Sorry, I've just forgotten to mention that YOU are the master! ![]() My initial suggestion for mfilos per PM was to check out your EAB thread and try your scripts to convert OS4 icons into the PNG format. But the syntax of ImageConverter is not so easy to understand for every user. So I tried to work it out in an example now. @mfilos I could not reproduce your quality loss with the jagged edges here. On my system the NewStyle icons (PNG) are looking exactly as the OldStyle icons (OS4). Do you have "ConvertTrueColor" activated accidentally or the 68020 version installed? But maybe it gets more obvious with your special "Smb-myPC" icon as a test object? Could you upload that icon, please? Last edited by PeterK; 14 May 2023 at 13:48. |
|
![]() |
![]() |
#4125 | |
Paranoid Amigoid
![]() Join Date: Mar 2008
Location: Athens/Greece
Age: 44
Posts: 1,937
![]() |
Quote:
Here's the icon to test it out: https://www.dropbox.com/s/ckgstn1tfy...MyPC.info?dl=0 |
|
![]() |
![]() |
#4126 |
Registered User
Join Date: Apr 2005
Location: digital hell, Germany, after 1984, but worse
Posts: 3,248
|
Ok, now I could reproduce this effect with the jagged edges, but didn't find a solution to fix it yet.
It seems that ImageConverter modifies the alpha channel data when it saves the PNG images by switching everything below a certain threshold (alpha < 59 or 60) to zero (full transparency). Therefore, some images with a very soft fading at the borders will suddenly get jagged edges from this switching to 100 % background. Last edited by PeterK; 14 May 2023 at 23:51. |
![]() |
![]() |
#4127 |
Paranoid Amigoid
![]() Join Date: Mar 2008
Location: Athens/Greece
Age: 44
Posts: 1,937
![]() |
Not such an important issue to fix but I'm sure you'll figure something out for the OCD peepz like me lol
![]() Cheers as always Peter ![]() ![]() ![]() |
![]() |
![]() |
#4128 |
Registered User
![]() Join Date: May 2020
Location: Figueira da Foz
Posts: 131
|
Sorry for being so late to the party! One thing is I have 3.1 installed, is it possible to have transparent icons?
Last edited by pixie; 23 May 2023 at 20:47. |
![]() |
![]() |
#4129 |
Registered User
Join Date: Apr 2005
Location: digital hell, Germany, after 1984, but worse
Posts: 3,248
|
Hello pixie,
yes you can get transparency for the background on WB 3.1 by using the NewIcons patch and NiRTGset as already installed and configured on my IconDemoA1200.adf floppy image, which is available on the 1. page of this thread for download. It only has the disadvantage that color 0 is always transparent, which might let the background shine through in MWB or old icons. Have a look into the startup-sequence of that ADF and the files installed. See screenshot for IconDemoA1200 on the first page. This needs a 68020+ CPU, of course. |
![]() |
![]() |
#4130 |
Registered User
![]() Join Date: May 2020
Location: Figueira da Foz
Posts: 131
|
Thanks! I should have messed something up since while they are without borders they are gray, which look great on a Vanilla setup but doesn't work very well with backgrounds. I am using Picasso 96 on WinUAE, but will look tomorrow to see if I messed it up!
PS - fblit workbench feels just like RTG! :O |
![]() |
![]() |
#4131 |
Registered User
Join Date: Apr 2005
Location: digital hell, Germany, after 1984, but worse
Posts: 3,248
|
My IconDemoA1200 setup is for non-RTG systems, without a gfxcard.
Now you mention that you are using P96 on WinUAE. That could require a different configuration. P96 RTG on WB 3.1 is also possible. Please, never install both together: P96 (native or RTG) and FBlit at the same time. That causes conflicts. I would install P96 for RTG (like uaegfx) only, but on native screens FBlit is a bit faster than P96 Native. FBlit needs the fblit.library installed and the correct version of ENVARC:FBlit.cfg for WB 3.1. My icon.library uses FastMem for icons automatically when FBlit is installed and detected. If you have P96 (RTG or Native) instead of FBlit then you will need my option IconsToFastMem in your startup-sequence somewhere after IPrefs. The NewIcons patch is required for transparency together with Sys:Prefs/NiPrefs, Sys:Prefs/Env-Archive/NewIcons.prefs. NiRTGset only for FBlit on non-RTG systems. But there is one Hyperion Kickstart Rom for 3.1 which is buggy and will never allow borderless or transparent icons (I think it has a workbench.library v40.6). The old DefIcons program for the WBStartup can also be used together with Sys:Prefs/Env-Archive/DefIcons.prefs, but there is no preferences editor for 3.1 available. Please have a look into my IconLib.guide for more options. |
![]() |
![]() |
#4132 |
Registered User
![]() Join Date: May 2020
Location: Figueira da Foz
Posts: 131
|
It's working beautifully! One thing though, I've downloaded
AbandonMI2 They're such a massive icons, even 1Gb is not enough! :O |
![]() |
![]() |
#4133 |
Registered User
Join Date: Apr 2005
Location: digital hell, Germany, after 1984, but worse
Posts: 3,248
|
Yeah, I know these huge (256x256) excellent Mason icons for OS4
![]() |
![]() |
![]() |
#4134 |
Registered User
![]() Join Date: May 2020
Location: Figueira da Foz
Posts: 131
|
I've never ever seen such huge icons!
![]() ![]() Last edited by pixie; 24 May 2023 at 19:23. |
![]() |
![]() |
#4135 |
Registered User
Join Date: Apr 2005
Location: digital hell, Germany, after 1984, but worse
Posts: 3,248
|
Update to icon.library to build #576 for the TrueColor versions on the 1. page:
Removed an undesired alpha threshold when icons were loaded with ImageConverter to avoid a wrong masking at the image borders. That alpha threshold is only required for the Custom Dragging Routines of DOpus5. An indirect and hidden access to the ARGB image data by ImageConverter was not expected by me. The excellent ImageConverter was written by Thilo Koehler, also one of the authors of AmiBlitz3 Basic. Last edited by PeterK; 01 June 2023 at 19:45. |
![]() |
![]() |
#4136 |
Registered User
Join Date: Aug 2014
Location: Brindisi (Italy)
Age: 69
Posts: 7,976
|
|
![]() |
![]() |
#4137 | |
Registered User
![]() Join Date: May 2020
Location: Figueira da Foz
Posts: 131
|
Quote:
Is there any util that allow us to downscale the png icons? I would like to pick those png icons used on Amiga OS 4 and downsize them to AmigaOS 3.2 size but with true colour alpha et all |
|
![]() |
![]() |
#4138 | |
Registered User
Join Date: Aug 2014
Location: Brindisi (Italy)
Age: 69
Posts: 7,976
|
Quote:
You can do this with IconEditor, of course if you want to keep OS4 Icons you have to use OS4 native "IconEditor", if you want to reduce DualPNG Icons instead you can use AROS native or OS3 native "IconEditor" |
|
![]() |
![]() |
#4139 |
Registered User
![]() Join Date: May 2020
Location: Figueira da Foz
Posts: 131
|
I would like to convert png icons, if needed be I would convert OS4 into png. The thing is I cannot get either OS3 native nor AROS. I did find a video of yours on youtube, but it only showed the app being used, not where to download it.
|
![]() |
![]() |
#4140 |
Paranoid Amigoid
![]() Join Date: Mar 2008
Location: Athens/Greece
Age: 44
Posts: 1,937
![]() |
@PeterK
You did it my friend! No more jagged lines on conversion from OS4 to PNG! YOU DA BOMB! ![]() ![]() ![]() Ok time for questions now... The script modifies the original/source icon (for example my SMB icon was 13,844kb and became after convertion 16,516kb. Is that due to the ConvertPNGToOS4 (running in my S-S) that my icons have (due to snapshoting etc)? Opening the icon with HexEditor shows for sure that is not PNG. That's why I always copy the icons I want to convert to RAM: before running your script (not to alter my original icon). Is there a way we can modify the script in order to get these PNG images to T: pngimages/ without altering the original icon? That will save me one copy to RAM for safety :P As a feature request... ![]() @pixie Why don't you just use your PC to downscale icons then upload them back and join them? This is what I do to create custom OS4 icons for the apps that don't have drawer and app icons. Last edited by mfilos; 26 May 2023 at 09:35. |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
![]() |
||||
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 |
|
|