GFX_Wizzard_BF - [Modules - All OS]

Share your advanced PureBasic knowledge/code with the community.
walbus
Addict
Addict
Posts: 929
Joined: Sat Mar 02, 2013 9:17 am

Re: BucketFill advanced - GFX for PB [Modules - All OS]

Post by walbus »

Hi Andre
Thank you
BF is now complete, the last tests with the PB562 were successful on all OS.
Everything works error-free and stable.

Regards Werner
Last edited by walbus on Sun Feb 18, 2018 9:16 pm, edited 1 time in total.
walbus
Addict
Addict
Posts: 929
Joined: Sat Mar 02, 2013 9:17 am

Re: BucketFill advanced - GFX for PB [Modules - All OS]

Post by walbus »

The further development of BucketFill_advanced is hereby terminated.

A compatible successor product with the name GFX_Wizzard_BF can be obtained from my webspace.

Free for using :wink:
walbus
Addict
Addict
Posts: 929
Joined: Sat Mar 02, 2013 9:17 am

Re: BucketFill advanced - (GFX_Wizzard_BF) - [Modules - All

Post by walbus »

Codes updated d24 m02 y2018

The BF Sprite, Image, GIF and CSS tool has been greatly enhanced
For example, CSS sheets can now be freely scaled, proportionally and disproportional
Clipping can also be applied to the frames
The scaling also works with clipped frames
Sprites and images can be cut to size, colored and scaled, very easy
The masks of the sprites can be cleaned, so it is possible to prepare JPG images as sprites with this tool

BF Sprite sheets contain all frame data
In BF the sheets can be used directly like GIF, only much easier and with many more possibilities
Other programs can easily read the frame data directly from a BF Sprite sheet
All frame data can be read out as plain text at the end of the sheet

So BF sprite sheets are very powerful

You found the tool in the BF download packet, named "MAIN_SpriteTool_BF.pb"

The possibilities are enormous
box_80
Enthusiast
Enthusiast
Posts: 111
Joined: Mon Sep 03, 2012 8:52 pm

Re: BucketFill advanced - (GFX_Wizzard_BF) - [Modules - All

Post by box_80 »

This seem very interesting. Hope to try it out sometime. :D
Last edited by box_80 on Sun Mar 11, 2018 4:21 am, edited 2 times in total.
walbus
Addict
Addict
Posts: 929
Joined: Sat Mar 02, 2013 9:17 am

Re: BucketFill advanced - (GFX_Wizzard_BF) - [Modules - All

Post by walbus »

Yep, it go on

Codes updated and enhanced d28 m02 y2018
davido
Addict
Addict
Posts: 1890
Joined: Fri Nov 09, 2012 11:04 pm
Location: Uttoxeter, UK

Re: BucketFill advanced - (GFX_Wizzard_BF) - [Modules - All

Post by davido »

@walbus,
I've been trying to run the demo above but it fails.
I noticed that lines: 1, 2, 13 have the filename prefixed with: "./
Shouldn't this be "../

From what I've seen so far, I must say your mammoth project: GFX_Wizzard is Brilliant!! :D
DE AA EB
walbus
Addict
Addict
Posts: 929
Joined: Sat Mar 02, 2013 9:17 am

Re: BucketFill advanced - (GFX_Wizzard_BF) - [Modules - All

Post by walbus »

Hi davido,
many thanks

I have now created a complete revision.
and uploaded a new package

Regards Werner
walbus
Addict
Addict
Posts: 929
Joined: Sat Mar 02, 2013 9:17 am

Re: BucketFill advanced - (GFX_Wizzard_BF) - [Modules - All

Post by walbus »

Codes updated d05 m03 y2018

A lot new functions added
Fixes and enhancements
New demo codes added
Other demo codes optimized

Revision for all OS

To time you found in the BF download packet 151 different demo codes

BF has to time 274 Functions

GFX_Wizzard_BF is not subject to a complicated license

It can be used free of charge, also for commercial projects, without restrictions
User avatar
Andre
PureBasic Team
PureBasic Team
Posts: 2056
Joined: Fri Apr 25, 2003 6:14 pm
Location: Germany (Saxony, Deutscheinsiedel)
Contact:

Re: BucketFill advanced - (GFX_Wizzard_BF) - [Modules - All

Post by Andre »

walbus wrote: To time you found in the BF download packet 151 different demo codes
BF has to time 274 Functions

It can be used free of charge, also for commercial projects, without restrictions
Even, if I'm busy with other parts of my project and couldn't test at the moment, this latest key facts about 'BucketFill / GFX Wizard' are impressive!
And this all for free... Thank you very much, Werner! :D
Bye,
...André
(PureBasicTeam::Docs & Support - PureArea.net | Order:: PureBasic | PureVisionXP)
walbus
Addict
Addict
Posts: 929
Joined: Sat Mar 02, 2013 9:17 am

Re: BucketFill advanced - (GFX_Wizzard_BF) - [Modules - All

Post by walbus »

Thank you Andre
Yes, there is a huge effort involved in the development of this library
It's already too much for a single person
walbus
Addict
Addict
Posts: 929
Joined: Sat Mar 02, 2013 9:17 am

Re: BucketFill advanced - (GFX_Wizzard_BF) - [Modules - All

Post by walbus »

Codes updated d08 m03 y2018

Sprite tool updated and enhanced

BF code, little changes

The special feature of the BF Sprite Tool is its amazing, efficient and easy-to-use functions for Sprite optimization

Hints:
After removing mask artifacts, the optimized mask can be transferred on demand by clicking on the color button
Colours can be grabbed with the mouse directly from the canvas
You can select partitions for saving and coloring

BF Sprite Tool - Demo Video for demonstrating sprite optimization

http://www.quick-aes-256.de/Video/SpriteTool_1.mp4

This is just a small selection of the possibilities
CSS sprite sheets and GIF can also be processed

You can easily convert GIF to BF sprite sheets
BF Sprite Sheets contain all frame data and are much more elegant, efficient and easy to use than GIF

Images can also be processed easily
Image
walbus
Addict
Addict
Posts: 929
Joined: Sat Mar 02, 2013 9:17 am

Re: BucketFill advanced - (GFX_Wizzard_BF) - [Modules - All

Post by walbus »

Codes updated d10 m03 y2018

Sprite Tool enhanced and optimized

And little fixes
walbus
Addict
Addict
Posts: 929
Joined: Sat Mar 02, 2013 9:17 am

Re: BucketFill advanced - (GFX_Wizzard_BF) - [Modules - All

Post by walbus »

Code updated d11 m03 y2018

Fixes for SpriteTool added

The BF Sprite Tool has amazing capabilities

There is no other tool for PB with comparable properties

The difficulties with the code were in detail
It was quite time-consuming to consider all conceivable mistakes and to fix misconduct.
But it was worth it
It's great fun to work with it :wink:
walbus
Addict
Addict
Posts: 929
Joined: Sat Mar 02, 2013 9:17 am

Re: BucketFill advanced - (GFX_Wizzard_BF) - [Modules - All

Post by walbus »

Something else about GIF and sprite sheets

One often reads GIF are always very small because of the internal LZW compression
But this is only true if you look at GIF which have very similar, simple structured contents.
LZW compression does not work with "Video like" GIF
You can easily test it
Take an "ORBO" Gif with a lot of moving content
Create a JPG compressed sprite sheet with the BF Sprite Tool.
The difference in size between the GIF and the sheet is usually between 300 and 500 percent :!:
The gif is huge in comparison to the sheet
GIF are in themselves an artifact from times gone by
Nevertheless, they are very useful
But they are not efficient for storing video-like sequences, which was not possible before :wink:

Simple GIF is best created as a sheet in PNG format
The compression then works very similar to that of a GIF :!:
User avatar
Demivec
Addict
Addict
Posts: 4086
Joined: Mon Jul 25, 2005 3:51 pm
Location: Utah, USA

Re: BucketFill advanced - (GFX_Wizzard_BF) - [Modules - All

Post by Demivec »

walbus wrote:Create a JPG compressed sprite sheet with the BF Sprite Tool.
The difference in size between the GIF and the sheet is usually between 300 and 500 percent :!:
The gif is huge in comparison to the sheet
One reason this is true is because JPG is a lossy format. The resulting file images (untested) will not be the same as the source images.

This is also why it is good to use a lossless format such as PNG:
walbus wrote:Simple GIF is best created as a sheet in PNG format
Post Reply