Page 1 of 1

Save an image (CreateImage()) as a .ico file

Posted: Thu Oct 07, 2021 4:21 pm
by blueznl
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.)

Re: Saven an image (CreateImage()) as a .ico file

Posted: Thu Oct 07, 2021 5:34 pm
by Mijikai
I looked briefly into the icon format mby this is helpful:
http://forums.purebasic.com/german/view ... b2#p350902

Re: Saven an image (CreateImage()) as a .ico file

Posted: Thu Oct 07, 2021 5:49 pm
by blueznl
Thx. That looks usable. I'll have a look at it!

Re: Save an image (CreateImage()) as a .ico file

Posted: Thu Oct 07, 2021 9:57 pm
by BarryG
blueznl wrote: Thu Oct 07, 2021 4:21 pmHow can I save an image created with CreateImage() as a .ico file?
viewtopic.php?f=12&t=23387

Re: Save an image (CreateImage()) as a .ico file

Posted: Fri Oct 08, 2021 6:41 am
by Denis

Re: Save an image (CreateImage()) as a .ico file

Posted: Tue Dec 21, 2021 6:07 pm
by blueznl
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!

Re: Save an image (CreateImage()) as a .ico file

Posted: Wed Dec 22, 2021 12:55 am
by BarryG
blueznl wrote: Tue Dec 21, 2021 6:07 pmsold the A2000 and all the extras I once had
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

Posted: Wed Dec 22, 2021 3:13 pm
by blueznl
Yeah, I did. But WinUAE already works, so... < shrug >

The Amiga was great and deserved better, but I fear we all moved on.