PureBasic 5.60 final is available !
Re: PureBasic 5.60 beta 1 is available
Many many tanks for all !
Envoyé de mon SM-G901F en utilisant Tapatalk
Envoyé de mon SM-G901F en utilisant Tapatalk
- netmaestro
- PureBasic Bullfrog
- Posts: 8451
- Joined: Wed Jul 06, 2005 5:42 am
- Location: Fort Nelson, BC, Canada
Re: PureBasic 5.60 beta 1 is available
I stopped by Hell this morning and now I've got a nasty bruise on my hip. Slipped on the ice.- Added: GIF decoder support

BERESHEIT
Re: PureBasic 5.60 beta 1 is available
btw what GIF decoder is it? i couldnt find license info in helpfile\General Libraries
Re: PureBasic 5.60 beta 1 is available
@Netmaestro
Your Gif decoder is a urgent part for learning how the things works !
Your Gif decoder is a urgent part for learning how the things works !
- netmaestro
- PureBasic Bullfrog
- Posts: 8451
- Joined: Wed Jul 06, 2005 5:42 am
- Location: Fort Nelson, BC, Canada
Re: PureBasic 5.60 beta 1 is available
Thanks Walbus! It was a lot of fun to write, even though there were some headaches along the way.
As to what decoder library Fred used, my guess would be that he wrote it himself. (after studying mine closely of course
)
As to what decoder library Fred used, my guess would be that he wrote it himself. (after studying mine closely of course

BERESHEIT
Re: PureBasic 5.60 beta 1 is available
You make great things Netmeastro, with Wilbert together, ever the best i have seen !
Re: PureBasic 5.60 beta 1 is available
I wouldn't reinvent the wheel if something already existsnetmaestro wrote:Thanks Walbus! It was a lot of fun to write, even though there were some headaches along the way.
As to what decoder library Fred used, my guess would be that he wrote it himself. (after studying mine closely of course)

Your code was so much compact and clever it was tempting to use it as base, but handling all special case would have required a lot of work.
Re: PureBasic 5.60 beta 1 is available
So, i self use CSS sprite sheets with BF advanced for animated graphics
This is many better, simplest and more flexible as all GIF´s, i self mean
This is many better, simplest and more flexible as all GIF´s, i self mean

Re: PureBasic 5.60 beta 1 is available
zomg... PB 5.60 Win32 executable with "UseGIFImageDecoder()" is only 11kb!
And this full program to load and display a GIF in an image gadget in a window is only 49kb:It's soooooo nice now being able to easily and natively support transparency with hardly any overhead
One of my main #1stworldproblems is i hate including 200kb of PNG lib to display transparent images in my 50kb apps hehe, not an issue anymore!
And this full program to load and display a GIF in an image gadget in a window is only 49kb:
Code: Select all
UseGIFImageDecoder()
If OpenWindow(0, 0, 0, 500, 500, "GIF", #PB_Window_SystemMenu | #PB_Window_ScreenCentered)
hImg = LoadImage(#PB_Any, "c:\test.gif")
ImageGadget(0, 0, 0, 500, 500, ImageID(hImg))
Repeat
Event = WaitWindowEvent()
Until Event = #PB_Event_CloseWindow
EndIf



- holzhacker
- Enthusiast
- Posts: 125
- Joined: Mon Mar 08, 2010 9:14 pm
- Location: "Mens sana in corpore sano"
- Contact:
Re: PureBasic 5.60 beta 1 is available
IdeasVacuum wrote:That's seriously useful Fred- Added: #PB_Canvas_Container support to have a container behaviour for canvasI think you have earned an afternoon off.....

Yes sure will be a lot used for me in the next version of my system.
Coded with PB 5.44 LTS, vector drawing library and using routines found in the GIF forum to illustrate error actions to the user.
I am seriously thinking of migrating the code to the non-LTS version






I still dream one day that I can compile this system for RaspBerry PI with PureBasic






Re: PureBasic 5.60 beta 1 is available
For transparence you must not have PNG or GIF or TIFF, primary you can also use high compressed pictures
So you have not color restrictions and a good code for making this is very little
GIF is a artefact from the computer stone age
So you have not color restrictions and a good code for making this is very little
GIF is a artefact from the computer stone age
- holzhacker
- Enthusiast
- Posts: 125
- Joined: Mon Mar 08, 2010 9:14 pm
- Location: "Mens sana in corpore sano"
- Contact:
Re: PureBasic 5.60 beta 1 is available
"Users" friend ... ask for help even when the paper ends in the printer without checking. Believe me ... the illustrative GIFs HELP the user a lot to understand the problem.walbus wrote:For transparence you must not have PNG or GIF or TIFF, primary you can also use high compressed pictures
So you have not color restrictions and a good code for making this is very little
GIF is a artefact from the computer stone age
Many years ago I had a movie rental system made in Clipper 5.2, still VHS, DVD start. I had a very old client who called me for EVERYTHING. So I put up an ASCII animation by drawing a paperless printer so she would look at the printer and change the paper (in roll) that printed the tickets.
What happened?
She called me saying she had a printer and a message on the computer screen, and asking what to do ... the message said, "Printer out of paper. Check the printer paper"
USER =


And just to note ... GIF's came back with everything on Facebook, Whatsapp, Bluetooth of course for other uses rsrsrsr;)
Re: PureBasic 5.60 beta 1 is available
GIF are OK for many Websites, but, for professional software it looking often childish and non professional, i self think
So i am primary not a friend from this
But, the user error message is cool ,LOL
So i am primary not a friend from this
But, the user error message is cool ,LOL
- holzhacker
- Enthusiast
- Posts: 125
- Joined: Mon Mar 08, 2010 9:14 pm
- Location: "Mens sana in corpore sano"
- Contact:
Re: PureBasic 5.60 beta 1 is available
walbus wrote:GIF are OK for many Websites, but, for professional software it looking often childish and non professional, i self think
So i am primary not a friend from this
But, the user error message is cool ,LOL

Here is an example of using GIF in a professional program. (One of the ways I use it and find it very useful and easy to customize)
When an error occurs in the system the client can send the collected data directly to me and the GIF demonstrates to him the waiting for the sending of the email in this case.
Well friend now forgive me, but here in Rio de Janeiro is 20:02 and I go hunting for a beer to drink



- majikeyric
- Enthusiast
- Posts: 187
- Joined: Mon Oct 21, 2013 5:21 pm
- Location: France
- Contact: