PureBasic 5.60 final is available !

Developed or developing a new product in PureBasic? Tell the world about it.
Torp
User
User
Posts: 82
Joined: Fri Apr 01, 2005 11:29 am

Re: PureBasic 5.60 beta 1 is available

Post by Torp »

Many many tanks for all !

Envoyé de mon SM-G901F en utilisant Tapatalk
User avatar
netmaestro
PureBasic Bullfrog
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

Post by netmaestro »

- Added: GIF decoder support
I stopped by Hell this morning and now I've got a nasty bruise on my hip. Slipped on the ice. :D
BERESHEIT
User avatar
Keya
Addict
Addict
Posts: 1890
Joined: Thu Jun 04, 2015 7:10 am

Re: PureBasic 5.60 beta 1 is available

Post by Keya »

btw what GIF decoder is it? i couldnt find license info in helpfile\General Libraries
walbus
Addict
Addict
Posts: 929
Joined: Sat Mar 02, 2013 9:17 am

Re: PureBasic 5.60 beta 1 is available

Post by walbus »

@Netmaestro
Your Gif decoder is a urgent part for learning how the things works !
User avatar
netmaestro
PureBasic Bullfrog
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

Post by netmaestro »

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 :wink: )
BERESHEIT
walbus
Addict
Addict
Posts: 929
Joined: Sat Mar 02, 2013 9:17 am

Re: PureBasic 5.60 beta 1 is available

Post by walbus »

You make great things Netmeastro, with Wilbert together, ever the best i have seen !
Fred
Administrator
Administrator
Posts: 18153
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: PureBasic 5.60 beta 1 is available

Post by Fred »

netmaestro 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 :wink: )
I wouldn't reinvent the wheel if something already exists :). We use giflib: http://giflib.sourceforge.net/intro.html

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.
walbus
Addict
Addict
Posts: 929
Joined: Sat Mar 02, 2013 9:17 am

Re: PureBasic 5.60 beta 1 is available

Post by walbus »

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 :wink:
User avatar
Keya
Addict
Addict
Posts: 1890
Joined: Thu Jun 04, 2015 7:10 am

Re: PureBasic 5.60 beta 1 is available

Post by Keya »

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:

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
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!
User avatar
holzhacker
Enthusiast
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

Post by holzhacker »

IdeasVacuum wrote:
- Added: #PB_Canvas_Container support to have a container behaviour for canvas
That's seriously useful Fred 8) I think you have earned an afternoon off.....
Image

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 :lol: :lol: :lol: rsrsrsr :?: :?: :?:

I still dream one day that I can compile this system for RaspBerry PI with PureBasic :( :( :( :cry: :cry: :cry:
Greetings and thanks!

Romerio Medeiros
romerio@gmail.com
walbus
Addict
Addict
Posts: 929
Joined: Sat Mar 02, 2013 9:17 am

Re: PureBasic 5.60 beta 1 is available

Post by walbus »

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
User avatar
holzhacker
Enthusiast
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

Post by holzhacker »

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
"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.

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 = :evil:

Image

And just to note ... GIF's came back with everything on Facebook, Whatsapp, Bluetooth of course for other uses rsrsrsr;)
Greetings and thanks!

Romerio Medeiros
romerio@gmail.com
walbus
Addict
Addict
Posts: 929
Joined: Sat Mar 02, 2013 9:17 am

Re: PureBasic 5.60 beta 1 is available

Post by walbus »

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
User avatar
holzhacker
Enthusiast
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

Post by holzhacker »

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
Image

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 :D :D :D
Greetings and thanks!

Romerio Medeiros
romerio@gmail.com
User avatar
majikeyric
Enthusiast
Enthusiast
Posts: 187
Joined: Mon Oct 21, 2013 5:21 pm
Location: France
Contact:

Re: PureBasic 5.60 beta 1 is available

Post by majikeyric »

Thanks Fred and Team !!! :D
Post Reply