GFX_Wizzard_BF - [Modules - All OS]

Share your advanced PureBasic knowledge/code with the community.
User avatar
Andre
PureBasic Team
PureBasic Team
Posts: 2056
Joined: Fri Apr 25, 2003 6:14 pm
Location: Germany (Saxony, Deutscheinsiedel)
Contact:

Re: GFX_Wizzard_BF - [Modules - All OS]

Post by Andre »

A new update of the free GFX Wizzard BF package was released today. See first post for download.
(Note: For smaller bug-fix releases only the 'actual date' in first post will be updated.)

This time the GIF Demo codes were optimized, and a new function for checking if a GIF contains an invisible color was added.
Also the MainSpriteTool_BF was extended and debugged.
Bye,
...André
(PureBasicTeam::Docs & Support - PureArea.net | Order:: PureBasic | PureVisionXP)
User avatar
Andre
PureBasic Team
PureBasic Team
Posts: 2056
Joined: Fri Apr 25, 2003 6:14 pm
Location: Germany (Saxony, Deutscheinsiedel)
Contact:

Re: GFX_Wizzard_BF - [Modules - All OS]

Post by Andre »

A new update of the free GFX Wizzard BF package was released today. This time with many improvements, and a completely revised archive. See first post for download.

Here is the complete announcement:
walbus wrote:This is a Main Update!
Including bug fixes and many extensions.

By inserting Color Distance data into the SpriteSheets_BF and Sprites_BF, it is now possible to create highly compressed JPEG-based SpriteSheets_BF and Sprites_BF with invisible color.

JPEG artifacts, i.e. mask impurities, are safely removed.
Further very cool effects or animation effects are easily possible with Color Distance.

Just try the Waterfall Sheet in Main_SpriteTool_BF or e.g. this Demo Code: "Sprite_using_CSS_Sheet_BF_delays_automatic.pb"

Many demo codes were extended and adapted.
New functions for handling sprites and sheets_BF with color distance added.
The Wizzard Core Code was completely revised.

The new aPNG created by Thorsten1867 can be used with the SpriteSheets_BF, and can now also be used with the GFX_Wizzard_BF.

The aPNG for PB is a very good work, which offers completely new possibilities and perspectives !

This is the code for creating the SpriteSheets_BF from aPNG Multiframe Images in the download archive:
"Create_Sprite_CSS_Sheet_from_APNG.pb"
or even here in the thread about aPNG module: https://www.purebasic.fr/english/viewto ... 27&t=75172

SpriteSheets_BF support 24 Bit, 32 Bit and Alpha Channel, so there are no losses and a high-resolution output is produced.

All sprite data is stored in the SpriteSheets, also delays, invisible color, and color distance. This data can be read in and used automatically.

There are many powerful functions around SpriteSheets_BF on Canvas, images and PB sprites directly.

A demo code which shows the usage of the SpriteSheets_BF is this one: "Sheet_using_CSS_Alpha_Sheet_BF.pb"
Bye,
...André
(PureBasicTeam::Docs & Support - PureArea.net | Order:: PureBasic | PureVisionXP)
User avatar
Andre
PureBasic Team
PureBasic Team
Posts: 2056
Joined: Fri Apr 25, 2003 6:14 pm
Location: Germany (Saxony, Deutscheinsiedel)
Contact:

Re: GFX_Wizzard_BF - [Modules - All OS]

Post by Andre »

Another update of the free GFX Wizzard BF package was released today. See first post for download.
(Note: For smaller bug-fix releases only the 'actual date' in first post will be updated.)

This time with the following changes/additions:
walbus wrote:Update of the BF core function, which is used for many functions of the Wizzard. The update affects direct output on canvas to support DPI aware and high scaling.

A new function has been added, which uses and extends DrawVectorParagraph(), and thus allows very nice text outputs with backgrounds and alpha blending (including improvements in text output with DrawVectorParagraph()).

See demo code:
Text_output_with_VectorText_Simple_1_BF.pb

This new function offers a lot of interesting possibilities...
Bye,
...André
(PureBasicTeam::Docs & Support - PureArea.net | Order:: PureBasic | PureVisionXP)
User avatar
Andre
PureBasic Team
PureBasic Team
Posts: 2056
Joined: Fri Apr 25, 2003 6:14 pm
Location: Germany (Saxony, Deutscheinsiedel)
Contact:

Re: GFX_Wizzard_BF - [Modules - All OS]

Post by Andre »

Even if I don't mention every smaller (bug-fix) update made by 'walbus'... today an updated package was released with a new version of the GFX_Wizzard module and new or updated demo codes 8)

Related to the DrawVectorParagraph enhancements here is an actual screenshot:
Image
Bye,
...André
(PureBasicTeam::Docs & Support - PureArea.net | Order:: PureBasic | PureVisionXP)
User avatar
Kuron
Addict
Addict
Posts: 1626
Joined: Sat Oct 17, 2009 10:51 pm
Location: Pacific Northwest

Re: GFX_Wizzard_BF - [Modules - All OS]

Post by Kuron »

Thank you, Walbus and Andre!
Best wishes to the PB community. Thank you for the memories. ♥️
User avatar
Kuron
Addict
Addict
Posts: 1626
Joined: Sat Oct 17, 2009 10:51 pm
Location: Pacific Northwest

Re: GFX_Wizzard_BF - [Modules - All OS]

Post by Kuron »

Andre, I think you said you were using this for your project. How are you liking it?
User avatar
Andre
PureBasic Team
PureBasic Team
Posts: 2056
Joined: Fri Apr 25, 2003 6:14 pm
Location: Germany (Saxony, Deutscheinsiedel)
Contact:

Re: GFX_Wizzard_BF - [Modules - All OS]

Post by Andre »

Kuron wrote:Andre, I think you said you were using this for your project. How are you liking it?
Thanks Kuron :D

I like the GFX_Wizzard_BF package because of its powerful GFX functions I never would be able to create myself... they can be combined into endless possibilities. It does help me a lot, that 'walbus' answered my questions and provided adapted demo codes for my needs. :P

Because one drawback this huge module has: many functions with many parameters and/or variables to be set, and you don't have a huge manual (especially for beginners) about all the possibilities. I can only suggest you (and other interested people) to test the 200+ demo codes, and try to understand better and better what you can do and how you can use the full GFX power it provides ;-)

PS: Archive has been uploaded again with updated module and demo codes...
Bye,
...André
(PureBasicTeam::Docs & Support - PureArea.net | Order:: PureBasic | PureVisionXP)
User avatar
Andre
PureBasic Team
PureBasic Team
Posts: 2056
Joined: Fri Apr 25, 2003 6:14 pm
Location: Germany (Saxony, Deutscheinsiedel)
Contact:

Re: GFX_Wizzard_BF - [Modules - All OS]

Post by Andre »

After several smaller updates of the archive (which I didn't announce with an extra forum post, interested users should be just aware of the 'Last updated' date in first posting) today 'walbus' completed a bigger update.

The archive was completely revised, checked for DPI-awareness, and especially the lately introduced 'DrawVectorParagraph' functions (automatic word-wrapping, flexible font size etc.) were further improved and are compatible with gradient color now. Just see the new screenshots below (taken from _MAIN_Dynamic_Gadgets_base_Module_with_FittedText_RoundBox_Vector_BF_and_ImageGadget_BF.pb and Text_output_with_VectorText_Simple_2_DPI_aware.pb codes in the archive).

In the revised archive the APNG support was removed (as it was not Linux-compatible) and size of the archive was shrinked from 17 MByte to 13.2 MByte now (less example images...).

Download of the new archive (see also first post): GFX_Wizzard_BF.zip (13.2 MByte)

Temporary download of the last 'bigger' archive (with APNG and more images - please note that this will not be updated anymore!): GFX_Wizzard_BF_with_APNG_more_Images.zip (17.0 MByte)

New screenshots:
ImageImage
Bye,
...André
(PureBasicTeam::Docs & Support - PureArea.net | Order:: PureBasic | PureVisionXP)
User avatar
Kuron
Addict
Addict
Posts: 1626
Joined: Sat Oct 17, 2009 10:51 pm
Location: Pacific Northwest

Re: GFX_Wizzard_BF - [Modules - All OS]

Post by Kuron »

WOW!! Thank You, Guys!
Best wishes to the PB community. Thank you for the memories. ♥️
User avatar
Andre
PureBasic Team
PureBasic Team
Posts: 2056
Joined: Fri Apr 25, 2003 6:14 pm
Location: Germany (Saxony, Deutscheinsiedel)
Contact:

Re: GFX_Wizzard_BF - [Modules - All OS]

Post by Andre »

Another bigger update of the GFX_Wizzard_BF package was released by 'walbus' today... :D

Here an overview of the actual changes:
- many detail changes and optimizations
- added a new fascinating Progressbar_BF, which is firmly integrated in the wizzard
- this ProgressBar can deliver all outputs as CanvasGadgets but also as images
- the output as images allows fantastic opportunities
- these outputs can be further processed with the functions of the Wizzard
- the new ProgressBar supports DPI-aware, gradient colors, text, colors, alpha blending, images, canvas
- it uses a special trick to be able to replace existing OS progress bars as easily as possible without any programming effort
Screenshot of one of the 'ProgressBar_xxx' demo codes:
Image
Bye,
...André
(PureBasicTeam::Docs & Support - PureArea.net | Order:: PureBasic | PureVisionXP)
User avatar
Kuron
Addict
Addict
Posts: 1626
Joined: Sat Oct 17, 2009 10:51 pm
Location: Pacific Northwest

Re: GFX_Wizzard_BF - [Modules - All OS]

Post by Kuron »

Thank You Guys!!
Best wishes to the PB community. Thank you for the memories. ♥️
User avatar
Andre
PureBasic Team
PureBasic Team
Posts: 2056
Joined: Fri Apr 25, 2003 6:14 pm
Location: Germany (Saxony, Deutscheinsiedel)
Contact:

Re: GFX_Wizzard_BF - [Modules - All OS]

Post by Andre »

A new functional* update was released on 10th July 2020:
The main GFX_Wizzard_BF.pbi module was extended by 'walbus' with functions for creating a ToggleGadget, including animated effects like font scaling, moving the slider, and other GFX effects. A new demo code shows these nice possibilities. :-D

*smaller bug-fix updates are not announced separately, see first post for download / date of last update!
Bye,
...André
(PureBasicTeam::Docs & Support - PureArea.net | Order:: PureBasic | PureVisionXP)
User avatar
Saki
Addict
Addict
Posts: 830
Joined: Sun Apr 05, 2020 11:28 am
Location: Pandora

Re: GFX_Wizzard_BF - [Modules - All OS]

Post by Saki »

Hi
It is nice that the integration and enhancement of the ToggleGadget_EX
into the GFX_Wizzard_BF has been successful.
viewtopic.php?f=12&t=75614

The resulting availability of VectorParagraph() functions for this multi use buttons and text gadgets works amazing.
The automatically fine adjusting text and the continuous zoomability also as a toggle feature
result in a completely new and fascinating class of gadgets.

Usable as :
Colored Text Gadget
Colored Button Gadget
Toggle Gadget without slider
Toggle Gadget with slider

Features :
Usable as CanvasGadget and ButtonImageGadget
Slider moved or flipped
On demand changeable text, colors and zoom
Multi colors
Vector text
Linear and Circular gradient text colors supported
Text zoom functions also for toggling
Automatic stepples text scaling with stretched text
Multiline text without limits
Left, right and centered text
Only one little font needed
Any font size supported
Any gadget size supported
Adjustable padding

Best Regards Saki

Download here :
http://www.purearea.net/pb/download/mod ... ard_BF.zip
Demo code : "ToggleGadget_BF.pb"
地球上の平和
User avatar
Andre
PureBasic Team
PureBasic Team
Posts: 2056
Joined: Fri Apr 25, 2003 6:14 pm
Location: Germany (Saxony, Deutscheinsiedel)
Contact:

Re: GFX_Wizzard_BF - [Modules - All OS]

Post by Andre »

The GFX_Wizzard package got a new function update by 'walbus' - this time especially regarding the ProgressBar support and automatically adjusted texts with animations effects. See the new or updated demo codes! :D
Bye,
...André
(PureBasicTeam::Docs & Support - PureArea.net | Order:: PureBasic | PureVisionXP)
User avatar
Andre
PureBasic Team
PureBasic Team
Posts: 2056
Joined: Fri Apr 25, 2003 6:14 pm
Location: Germany (Saxony, Deutscheinsiedel)
Contact:

Re: GFX_Wizzard_BF - [Modules - All OS]

Post by Andre »

A new update of the free GFX Wizzard BF package was released today. See first post for download.
(Note, that smaller bug-fixes will not be announced every time. See 'Date of last change' in first post.)

Here is the complete announcement:
walbus wrote: - Added: StretchTextGadget_BF and StretchedText_Roundbox_Vector_BF (beside the existing ToggleGadget_BF)

- No special, large or multiple fonts have to be loaded for these new functions. It is enough to enter the name of a desired font, everything else is done automatically.
Gradient colors are supported too.

- StretchedText_Roundbox_Vector_BF is a considerably expanded text output function with cool options. It also replaces the PB text functions. All you need to do is to specify an output rectangle - the text is then automatically adjusted proportionally or disproportionately. This considerably simplifies the output of the texts.
- Zoom, fading and rotating functions are easy to implement, which is demonstrated in several demo codes.
- It also allows the creation of purely graphic gadgets which can even be made clickable with GFX_Wizzard_BF functions.

- The StretchTextGadget_BF replaces buttons and TextGadgets. It can be output as a CanvasGadget or ImageGadget.
- The texts can be automatically expanded to the given gadget size. It is possible to output them disproportionately or proportionally.
- Images or Sprites_BF can be added, also animated.
- Automatic image and parameter caching. Functionality equal to PB_Ignore.
- It is very fast and can be enlarged and reduced on demand.
- The output of the texts is always adjusted correctly.
- No fonts have to be loaded. It is enough to enter the name of the font which should be used, or simply leave it blank.
- Zoom and fading effects are possible on demand, as well as color changes or padding changes.

- All with full DPI-aware support and multi OS.
See two new screenshots:
Image
Image
Bye,
...André
(PureBasicTeam::Docs & Support - PureArea.net | Order:: PureBasic | PureVisionXP)
Post Reply