I'm slowly getting to where I wanna' be but sill have to figure out one more thing. How can I save an image created with CreateImage() as a .ico file?
I looked on the forum and found some code, but haven't been able to get it to work with a regular PB image. Did I overlook a snippet?
(I don't care about transparencies etc. in this case.)
Save an image (CreateImage()) as a .ico file
Save an image (CreateImage()) as a .ico file
Last edited by blueznl on Thu Oct 07, 2021 7:18 pm, edited 1 time in total.
( PB6.00 LTS Win11 x64 Asrock AB350 Pro4 Ryzen 5 3600 32GB GTX1060 6GB)
( The path to enlightenment and the PureBasic Survival Guide right here... )
( The path to enlightenment and the PureBasic Survival Guide right here... )
Re: Saven an image (CreateImage()) as a .ico file
I looked briefly into the icon format mby this is helpful:
http://forums.purebasic.com/german/view ... b2#p350902
http://forums.purebasic.com/german/view ... b2#p350902
Re: Saven an image (CreateImage()) as a .ico file
Thx. That looks usable. I'll have a look at it!
( PB6.00 LTS Win11 x64 Asrock AB350 Pro4 Ryzen 5 3600 32GB GTX1060 6GB)
( The path to enlightenment and the PureBasic Survival Guide right here... )
( The path to enlightenment and the PureBasic Survival Guide right here... )
Re: Save an image (CreateImage()) as a .ico file
A bit of reading about icons
Icons by John Hornick
The evolution of the ICO file format, part 1: Monochrome beginnings
The evolution of the ICO file format, part 2: Now in color!
The evolution of the ICO file format, part 3: Alpha-blended images
The evolution of the ICO file format, part 4: PNG images
The format of icon resources
Decoding Windows Vista Icons With WIC by Kenny Kerr
one of the most interesting articles I've read wich help me a lot.
IconLib - Icons Unfolded (MultiIcon and Windows Vista supported) by CastorTiu
Windows Vista Icons by Vlasta_
Icons by John Hornick
The evolution of the ICO file format, part 1: Monochrome beginnings
The evolution of the ICO file format, part 2: Now in color!
The evolution of the ICO file format, part 3: Alpha-blended images
The evolution of the ICO file format, part 4: PNG images
The format of icon resources
Decoding Windows Vista Icons With WIC by Kenny Kerr
one of the most interesting articles I've read wich help me a lot.
IconLib - Icons Unfolded (MultiIcon and Windows Vista supported) by CastorTiu
Windows Vista Icons by Vlasta_
A+
Denis
Denis
Re: Save an image (CreateImage()) as a .ico file
Oh, interesting stuff. I think even the old Amiga adopted some earlier version of that format. I can't recall anymore, sold the A2000 and all the extras I once had years ago, so I might be completely wrong
Thx for posting the links!
Thx for posting the links!
( PB6.00 LTS Win11 x64 Asrock AB350 Pro4 Ryzen 5 3600 32GB GTX1060 6GB)
( The path to enlightenment and the PureBasic Survival Guide right here... )
( The path to enlightenment and the PureBasic Survival Guide right here... )
Re: Save an image (CreateImage()) as a .ico file
Have you seen this -> https://retrogames.biz/thea500-mini
Despite the name, it's not just an A500; it also emulates an A600 and A1200.
Note: That's not a real keyboard; it uses a virtual one. They'll likely release a version with a real keyboard for v2, like they did for the C64.
Re: Save an image (CreateImage()) as a .ico file
Yeah, I did. But WinUAE already works, so... < shrug >
The Amiga was great and deserved better, but I fear we all moved on.
The Amiga was great and deserved better, but I fear we all moved on.
( PB6.00 LTS Win11 x64 Asrock AB350 Pro4 Ryzen 5 3600 32GB GTX1060 6GB)
( The path to enlightenment and the PureBasic Survival Guide right here... )
( The path to enlightenment and the PureBasic Survival Guide right here... )