English Amiga Board


Go Back   English Amiga Board > Support > support.Other

 
 
Thread Tools
Old 29 April 2021, 17:17   #1
Velociraptor5
Registered User
 
Join Date: Sep 2016
Location: Antarctica
Posts: 164
Icon size bigger than 256x256 pixels?

Does anyone know, if it is possible to create an icon bigger than 256 pixels?
And if it is possible, so what tool is suitable for it.

Now, I am able to create the icon where the size is 256x256 in 256 colours in "Image2Icon". Until recently, I thought, It's maximum size, but then I found out, the game "Cyber Games" uses the icon where the size is 320x146 pixels (see picture).

I think, that the tool "Iconian" should be able to create the icon bigger than 256x256, but unfortunately I am not able to confirm it, because this tool doesn't work correctly or doesn't work at all under "Classic Workbench" (mainly the big icon sizes). It's a known bug.

So, any idea, what tool can do it?

Thanks
Attached Thumbnails
Click image for larger version

Name:	Cyber Games.png
Views:	114
Size:	9.6 KB
ID:	71756  
Velociraptor5 is offline  
Old 29 April 2021, 17:50   #2
Thomas Richter
Registered User
 
Join Date: Jan 2019
Location: Germany
Posts: 3,215
I should have a program that converts an Iff brush to an icon, but it may take a while to dig it out - this was 30 years ago I wrote it. There should be also come paint programs that can save a brush as icon, so probably ppaint can do that.
Thomas Richter is offline  
Old 29 April 2021, 18:00   #3
malko
Ex nihilo nihil
 
malko's Avatar
 
Join Date: Oct 2017
Location: CH
Posts: 4,856
You can try this one : http://aminet.net/package/gfx/conv/IFF2Icon
malko is offline  
Old 29 April 2021, 18:03   #4
Velociraptor5
Registered User
 
Join Date: Sep 2016
Location: Antarctica
Posts: 164
Quote:
Originally Posted by Thomas Richter View Post
I should have a program that converts an Iff brush to an icon, but it may take a while to dig it out - this was 30 years ago I wrote it. There should be also come paint programs that can save a brush as icon, so probably ppaint can do that.

I have tested PPaint. now I already don't remember exactly, but I wasn't able to create icon bigger than 96x96 (or 128x128?) there.
Velociraptor5 is offline  
Old 29 April 2021, 18:09   #5
Velociraptor5
Registered User
 
Join Date: Sep 2016
Location: Antarctica
Posts: 164
Quote:
Originally Posted by malko View Post
Thanks for the tip. I'll look at it.
But yet one sub-question... All what I would like to convert to an icon, I have in PNG format. Does here exist some tool for converting from PNG to IFF? (If the tool "IFF2Icon" can't work with PNG)
Velociraptor5 is offline  
Old 29 April 2021, 18:56   #6
AMIGASYSTEM
Registered User
 
AMIGASYSTEM's Avatar
 
Join Date: Aug 2014
Location: Brindisi (Italy)
Age: 70
Posts: 8,248
Try this:

http://aminet.net/package/gfx/conv/PicConvert

If you manage PNG icons, you can get an icon by renaming .png to .info
AMIGASYSTEM is offline  
Old 29 April 2021, 19:02   #7
malko
Ex nihilo nihil
 
malko's Avatar
 
Join Date: Oct 2017
Location: CH
Posts: 4,856
Quote:
Originally Posted by Velociraptor5 View Post
Thanks for the tip. I'll look at it.
But yet one sub-question... All what I would like to convert to an icon, I have in PNG format. Does here exist some tool for converting from PNG to IFF? (If the tool "IFF2Icon" can't work with PNG)
You have various choice to convert the png to iff.
You can prepare almost everything on your PC first. GraphX2 may help you : http://grafx2.chez.com/
Be careful of how many colours has your original image for a good result.
malko is offline  
Old 29 April 2021, 19:10   #8
Velociraptor5
Registered User
 
Join Date: Sep 2016
Location: Antarctica
Posts: 164
Quote:
Originally Posted by AMIGASYSTEM View Post
Try this:

http://aminet.net/package/gfx/conv/PicConvert

If you manage PNG icons, you can get an icon by renaming .png to .info
Thanks for the tip. I'll look at it.
I know, that I can get an icon by renaming .png to .info. But these icons may be only 256x256 and reading of them is slower than reading of "classic" icon, if you have lot of them (minimally what I know in Classic Workbench 3.1).
Velociraptor5 is offline  
Old 29 April 2021, 19:15   #9
Velociraptor5
Registered User
 
Join Date: Sep 2016
Location: Antarctica
Posts: 164
Quote:
Originally Posted by malko View Post
You have various choice to convert the png to iff.
You can prepare almost everything on your PC first. GraphX2 may help you : http://grafx2.chez.com/
Be careful of how many colours has your original image for a good result.
Also thanks for the tip.
I'll be playing with it.
Velociraptor5 is offline  
Old 29 April 2021, 19:23   #10
PeterK
Registered User
 
Join Date: Apr 2005
Location: digital hell, Germany, after 1984, but worse
Posts: 3,365
Icons with a size larger than 256x256 (93x93 for NewIcons) are not supported by icon.library v44+.

For old planar icons the values of Width and Height are words in the Gadget and Image structure, and therefore it may still work to use larger images, but could have strange side effects and is not recommended.

For ColorIcons the Width and Height are subtracted by 1 and stored as bytes in the FACE chunk, so they are limited to 256.
PeterK is offline  
Old 29 April 2021, 19:45   #11
Thomas Richter
Registered User
 
Join Date: Jan 2019
Location: Germany
Posts: 3,215
Quote:
Originally Posted by Velociraptor5 View Post
I have tested PPaint. now I already don't remember exactly, but I wasn't able to create icon bigger than 96x96 (or 128x128?) there.
I found the "IFFtoIcon" program, I am attaching it. Best run from the Shell, with the name of the Iff brush as argument. If I recall, it places the icon in RAM:


If I recall you can also run it from the workbench. Then click the brush first (single), then double-click the IffToIcon program.
Attached Files
File Type: zip IffToIcon.zip (6.3 KB, 84 views)
Thomas Richter is offline  
Old 29 April 2021, 19:46   #12
Thomas Richter
Registered User
 
Join Date: Jan 2019
Location: Germany
Posts: 3,215
Quote:
Originally Posted by PeterK View Post
Icons with a size larger than 256x256 (93x93 for NewIcons) are not supported by icon.library v44+.

I do not see such a restriction in the system icon.library - the width and height are UWORDs. Whether that is useful is of course another issue.
Thomas Richter is offline  
Old 29 April 2021, 20:03   #13
PeterK
Registered User
 
Join Date: Apr 2005
Location: digital hell, Germany, after 1984, but worse
Posts: 3,365
Yes, as I said, old icons can still store 16 bit values in the Gadget and Image structure, ColorIcons only bytes.

At least my library will probably reject images with a Width or Height of more than 256 and you may get the internal default icons instead.
PeterK is offline  
Old 29 April 2021, 20:38   #14
Velociraptor5
Registered User
 
Join Date: Sep 2016
Location: Antarctica
Posts: 164
Quote:
Originally Posted by Thomas Richter View Post
I found the "IFFtoIcon" program, I am attaching it. Best run from the Shell, with the name of the Iff brush as argument. If I recall, it places the icon in RAM:


If I recall you can also run it from the workbench. Then click the brush first (single), then double-click the IffToIcon program.
Thanks for it.
I'll try it.
Velociraptor5 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
horiz. size & vert. size greyed out in some configurations honx support.WinUAE 3 15 August 2020 21:14
Get Icon size? volvo_0ne Coders. AMOS 2 13 November 2018 19:56
Scans bigger than A3 haynor666 HOL suggestions and feedback 5 13 September 2018 15:30
Icon size mritter0 support.Other 1 23 May 2014 08:46
256x256 pixel tweaked video mode ovale Coders. General 7 23 September 2008 09:34

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 20:58.

Top

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