It would appear that PB cannot handle application icons with a transparent background. I'm guessing this is a bug.
I'm using version 2021, build 1509. Has this been fixed in later versions?
Regards,
Michael Connell.
It would appear that PB cannot handle application icons with a transparent background. I'm guessing this is a bug.
I'm using version 2021, build 1509. Has this been fixed in later versions?
Regards,
Michael Connell.
Guys,
Thanks for all your help, especially the updated icon!
Not 100% sure that I understand what the problem is, but I've installed Gimp and I'll experiment a little.
Regards,
Michael.
As for what @Benjamin mentioned about compression, I'm not sure that PB cannot handle any compression. Real uncompressed size as the following one:
You can see that raw images are much larger than crasha.ico (147 KB) that I attached to my previous answer. So it may be that PB may "understand" some compression algorithms in ico files.
Andreas.
Andreas / Benjamin,
Thanks for your replies.
The test icon that you provided Andreas, worked fine.
Unfortunately, the original icon that caused all the problems has been modified to remove the transparent background. This original icon was created using an online converter (RedKetchup)
That said, I have found an icon that does crash PB and have included it here.
Thanks.
Michael.
Hi Michael,
can you upload the .ico file in question? That might make it easier to troubleshoot.
This is strange. What tool are you using to create the ico file?
Andreas.
Andreas,
The last ico file we tried (without success) was:
16x16
32x32
48x48
32-bit depth.
Removing the transparent background was the only thing that appeared to work.
Michael.
I asked dpi but the information I wanted was pixels x/y.
Icons I do use are 32 bits and contains following ico sizes (in pixels):
I do believe that PB will use 32x32 and 16x16 flavors of that Icon. In the past I had issues using icons of 24x24 and 48x48 in menus. If your icon contains icon in multiple sizes (as I do) PB will automatically choose which on to use.
Andreas.
Andreas,
Sorry. DPI is 300.
Regards,
Michael Connell.
Andreas,
Colour depth is 32. Size is 28KB.
Regards,
Michael Connell.
I do use icons with transparency in application object all the time. No issues. I do see it added in exe files. One application is in PB 2021 1509...
What size is your icon (dpi)? What color depth?
Andreas.
Andreas,
Thanks for your reply.
These are ico files used as the application Icon (edit application object -> Additional Properties -> Icon tabpage). They are placed in a sub-folder to the folder containing the application PBL's.
Changing this attribute to an ico file with a transparent background brings down the entire IDE.
I too have used ico files with transparent backgrounds elsewhere without problem.
Regards,
Michael Connell.
Hi.
Are those icons ico files or png? Where are they placed? I ask because i use many icons with transparency without issues.
Andreas.