English Amiga Board


Go Back   English Amiga Board > Support > support.Apps

 
 
Thread Tools
Old 19 February 2011, 18:02   #1
Foul
Registered User
 
Foul's Avatar
 
Join Date: Jun 2009
Location: Perigueux/France
Age: 49
Posts: 1,516
Send a message via ICQ to Foul Send a message via MSN to Foul
Question PeterK's IconLib Official Thread

Is there a way to show 32 bits icons like Masonicons (http://www.masonicons.de/) under OS 3.9 ?

Just got My Bvision, and only 24 bits screens available..

Any tips ?

Last edited by Foul; 03 May 2011 at 08:27. Reason: New title
Foul is offline  
Old 19 February 2011, 19:15   #2
Mad-Matt
Longplayer
 
Mad-Matt's Avatar
 
Join Date: Jan 2005
Location: Lincoln / UK
Age: 44
Posts: 1,846
Send a message via ICQ to Mad-Matt Send a message via MSN to Mad-Matt
you may have packed24 tooltype enabled in your BVision m onitor driver/file. Removing should enable 32bit screenmodes at the loss of the slower 24bit modes.

If those 32bit AmigaOS4 icons are really png icons, then they might work with Powericons patch.
Mad-Matt is offline  
Old 19 February 2011, 19:29   #3
Foul
Registered User
 
Foul's Avatar
 
Join Date: Jun 2009
Location: Perigueux/France
Age: 49
Posts: 1,516
Send a message via ICQ to Foul Send a message via MSN to Foul
yeah ! i will test that asap ..

Thank you

Second question : all my drawer icons are semi-transparents .. i don't know why ... in prefs-env the icon is normal ... but everywhere in my hd, the icons are semi-transparent .. maybe another tooltype to enable/disable ?

edit : packed24 to OFF .. : screen attached with AmigaOS4 icons + semi-transparent icons

edit2 : transparency is a powericons effect : GHOST=100 to correct it
Attached Thumbnails
Click image for larger version

Name:	capture.png
Views:	585
Size:	200.3 KB
ID:	27945  

Last edited by Foul; 19 February 2011 at 22:03.
Foul is offline  
Old 20 February 2011, 00:30   #4
Minuous
Coder/webmaster/gamer
 
Minuous's Avatar
 
Join Date: Oct 2001
Location: Canberra/Australia
Posts: 2,630
I get this problem too. The MasonIcons are DualPNG so PowerIcons doesn't help.
Minuous is offline  
Old 20 February 2011, 01:01   #5
PeterK
Registered User
 
Join Date: Apr 2005
Location: digital hell, Germany, after 1984, but worse
Posts: 3,365
No, these MasonIcons are not in DualPNG format but in an AmigaOS4 style DiskObject structure with an ARGB chunk (8 bit Alphachannel + 24 bit RGB).

You can use them with AfA_OS or Scalos on OS 3.9 Hi/TrueColor screens (any 15/16/24 bit screens should be sufficient).

Maybe, I will add a limited AGA support for this icon format to the icon.library soon.... who knows?

Last edited by PeterK; 20 February 2011 at 03:51.
PeterK is offline  
Old 20 February 2011, 07:39   #6
gulliver
BoingBagged
 
gulliver's Avatar
 
Join Date: Aug 2007
Location: The South of nowhere
Age: 46
Posts: 2,358
@PeterK
It sounds really great.
gulliver is offline  
Old 21 February 2011, 21:40   #7
Minuous
Coder/webmaster/gamer
 
Minuous's Avatar
 
Join Date: Oct 2001
Location: Canberra/Australia
Posts: 2,630
@PeterK:

Ah. Thanks for the correction.
Minuous is offline  
Old 26 February 2011, 03:00   #8
PeterK
Registered User
 
Join Date: Apr 2005
Location: digital hell, Germany, after 1984, but worse
Posts: 3,365
Who knows the DiskObject file structure for the ARGB chunk of OS4 32 bit icons exactly ??

What is the contents of the ARGB header before the image data starts ?
Which compression is used ? ByteRun ?

Any help appreciated ...
PeterK is offline  
Old 26 February 2011, 05:21   #9
gulliver
BoingBagged
 
gulliver's Avatar
 
Join Date: Aug 2007
Location: The South of nowhere
Age: 46
Posts: 2,358
@PeterK
I suggest you contact Robert Szacki he is the author of the soon to be out of the beta stage, 32-bit capable fixed Icon Editor for AmigaOS4.
He is available at:

robert dot szacki at gmail dot com
gulliver is offline  
Old 28 February 2011, 22:48   #10
PeterK
Registered User
 
Join Date: Apr 2005
Location: digital hell, Germany, after 1984, but worse
Posts: 3,365
Thank you, gulliver !!
Meanwhile, I found some more information about the ARGB chunk, but in case that I still cannot decode this data then I will ask Robert for help.

Unfortunately, the latest Aminet release of the icon.library and all versions since 46.4.180 have a new bug concerning disk and drawer icons. Some icons can even cause crashes, for example when inserting or mounting a disk. I made the mistake to delete the so called DrawerData if the tooltypes or the default tool string were not 100% correct. Fixed now:

http://aminet.net/package/util/libs/IconLib_46.4

Last edited by PeterK; 14 March 2011 at 06:19.
PeterK is offline  
Old 28 February 2011, 23:06   #11
mfilos
Paranoid Amigoid
 
mfilos's Avatar
 
Join Date: Mar 2008
Location: Athens/Greece
Age: 45
Posts: 1,978
Awesome PeterK!
Thanks a lot
mfilos is offline  
Old 01 March 2011, 07:13   #12
PeterK
Registered User
 
Join Date: Apr 2005
Location: digital hell, Germany, after 1984, but worse
Posts: 3,365
SIGH

I've just seen that both, the OS4 icons and also the PNG icons need the zlib library for decompressing the image data. This means my library won't support these icons very soon, if ever?
PeterK is offline  
Old 14 March 2011, 14:42   #13
PeterK
Registered User
 
Join Date: Apr 2005
Location: digital hell, Germany, after 1984, but worse
Posts: 3,365
32 bit OS4 and MasonIcons may come onto your AGA screen now !!

Please, check out my first attempt to convert these TrueColor icons to 8 bit and tell me what you think about it. Important: It needs zlib.library from Aminet: http://aminet.net/package/util/libs/zlib-library

I hope you'll enjoy it....

http://aminet.net/package/util/libs/IconLib_46.4

Last edited by PeterK; 15 March 2011 at 22:11.
PeterK is offline  
Old 14 March 2011, 15:38   #14
mfilos
Paranoid Amigoid
 
mfilos's Avatar
 
Join Date: Mar 2008
Location: Athens/Greece
Age: 45
Posts: 1,978
Thanks a lot for your efforts PeterK

Just tried it on my WinUAE clone of my A600 (I built the module into ROM and started with that).

Even in ECS the results are indeed awesome!!!

I'm attaching 2 screenshots from the old library and the new one

(I'm glad you told about the zlib.library. I was about to hit my head on the wall lol)
Attached Thumbnails
Click image for larger version

Name:	old_iconlib.png
Views:	537
Size:	76.9 KB
ID:	28102   Click image for larger version

Name:	new_iconlib.png
Views:	543
Size:	71.3 KB
ID:	28103  
mfilos is offline  
Old 14 March 2011, 15:41   #15
gulliver
BoingBagged
 
gulliver's Avatar
 
Join Date: Aug 2007
Location: The South of nowhere
Age: 46
Posts: 2,358
Just did a quick test on WinUAE with the OS4 cdrom and those icons look great (AGA 256 col)!

Thank you again PeterK
Attached Thumbnails
Click image for larger version

Name:	021.png
Views:	514
Size:	29.8 KB
ID:	28104  
gulliver is offline  
Old 14 March 2011, 16:26   #16
mfilos
Paranoid Amigoid
 
mfilos's Avatar
 
Join Date: Mar 2008
Location: Athens/Greece
Age: 45
Posts: 1,978
Yep Gulliver. Exactly the same screenshot in mine A1200 WinUAE test
mfilos is offline  
Old 14 March 2011, 17:12   #17
PeterK
Registered User
 
Join Date: Apr 2005
Location: digital hell, Germany, after 1984, but worse
Posts: 3,365
Thank you for the feedback !
I've just uploaded the library above again, just a tiny, maybe not even visible change in the color adjustment. The final version will go to Aminet soon. So please check it for any possible conflicts with other software. I cannot do thousands of tests myself every time after updating a few bytes here or there. THANKS a lot.

http://aminet.net/package/util/libs/IconLib_46.4

http://www.masonicons.info/4.html

Last edited by PeterK; 15 March 2011 at 22:10.
PeterK is offline  
Old 14 March 2011, 17:25   #18
James
Registered User
 
Join Date: Mar 2010
Location: Beckenham/England
Posts: 795
Quote:
Originally Posted by PeterK View Post
32 bit OS4 and MasonIcons may come onto your AGA screen now !!
Great news! Thanks!
James is offline  
Old 14 March 2011, 17:31   #19
mfilos
Paranoid Amigoid
 
mfilos's Avatar
 
Join Date: Mar 2008
Location: Athens/Greece
Age: 45
Posts: 1,978
Awesomeness!

Just ROMED the new version and guess what! Who would believe that you could use Masonicons without PowerIcons :O

Nice job man
Attached Thumbnails
Click image for larger version

Name:	new.png
Views:	476
Size:	70.3 KB
ID:	28107  
mfilos is offline  
Old 25 March 2011, 20:24   #20
PeterK
Registered User
 
Join Date: Apr 2005
Location: digital hell, Germany, after 1984, but worse
Posts: 3,365
Yet another one: Icon.library 46.4.193

My first try to make PNG images visible on AGA screens without using a big libPNG which would blow up my small and sweet icon libby too much. The result is a compromise, not really a good image quality, because I'm using the standard OS 3.5+ picture.datatypes for decoding the PNG stream. Unfortunately they don't seem to support the alpha channel by 100%.

Only the WarpPNG.datatype gives some usable ARGB data, because it has the ability to set the background color to black and so I could take that as a simple substitute for the missing alpha channel data to achieve transparency. But this isn't possible with the akPNG.datatype.

If somebody knows how to get FULL ARGB data in ASM with ReadPixelArray, please help!

Update below...

Last edited by PeterK; 26 March 2011 at 05:45.
PeterK 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
C Code without official includes redblade Coders. Language 3 20 March 2013 14:05
A new OFFICIAL AmigaOne 500 DDNI News 49 18 July 2012 16:08
some goodies not in official .dat thevoice project.TOSEC (amiga only) 8 11 November 2006 12:35
The Official "Newly Aquired Games" thread StarEye project.SPS (was CAPS) 42 24 February 2006 01:33
official - CD32 better than dreamcast tin Retrogaming General Discussion 7 16 April 2004 21:43

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 04:18.

Top

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