GFX_Wizzard_BF - [Modules - All OS]
- Andre
- PureBasic Team
- Posts: 2058
- Joined: Fri Apr 25, 2003 6:14 pm
- Location: Germany (Saxony, Deutscheinsiedel)
- Contact:
Re: BucketFill advanced - GFX for PB [Modules - All OS]
The new 'change_intensity' Parameter for image coloring looks good.
Also the new 'ImageFit' function could become very useful for me.
Thank you
Also the new 'ImageFit' function could become very useful for me.
Thank you
Re: BucketFill advanced - GFX for PB [Modules - All OS]
Hi Andre
This are very helpfull new functions
There is now a block of new features around proportional image scaling.
Was still some work until everything worked perfectly and was complete.
I think she'll be very useful to you.
I will update some demo codes to the new functions in the near future
Demo codes to look the new functions :
BucketFill_FitImage_demo_0.pb
BucketFill_FitImage_demo_0.pb
BucketFill_GIF_simple_and_extreme_fast_on_windowed_screen_PB_Sprite_output_4.pb
Regards Werner
This are very helpfull new functions
There is now a block of new features around proportional image scaling.
Was still some work until everything worked perfectly and was complete.
I think she'll be very useful to you.
I will update some demo codes to the new functions in the near future
Demo codes to look the new functions :
BucketFill_FitImage_demo_0.pb
BucketFill_FitImage_demo_0.pb
BucketFill_GIF_simple_and_extreme_fast_on_windowed_screen_PB_Sprite_output_4.pb
Regards Werner
Re: BucketFill advanced - GFX for PB [Modules - All OS]
Codes updated d26 m01 y2018
Several new functions around GIF and coloring have been added
It is now possible to convert GIF on the fly to CSS Sprite sheets
Since BF supports Sprite Sheets in the simplest way, this offers fantastic possibilities
GIF can now be colored, also as grayscale image
GIF can also be colored with invisible color
Parts of a GIF or image can be colored
So it is possible to colorize only a section of an image, PB sprites or canvas
This selection can also be inverted
Brightness, contrast, colors, intensity and more can be changed as desired
A demo code showing many of the new features can be found in the download package
"BucketFill_GIF_and_Image_and_coloring_simple_and_fast_on_canvas. pb"
This demo code can display and colorize images and GIFs
It is a complete basic code for an image editor with on demand functions
Due to the fact that PB is not able to display the invisible color of a GIF,
the extended GIF handling as sprite is extremely difficult.
BF can handle this problem and provide simple to use solutions
Several new functions around GIF and coloring have been added
It is now possible to convert GIF on the fly to CSS Sprite sheets
Since BF supports Sprite Sheets in the simplest way, this offers fantastic possibilities
GIF can now be colored, also as grayscale image
GIF can also be colored with invisible color
Parts of a GIF or image can be colored
So it is possible to colorize only a section of an image, PB sprites or canvas
This selection can also be inverted
Brightness, contrast, colors, intensity and more can be changed as desired
A demo code showing many of the new features can be found in the download package
"BucketFill_GIF_and_Image_and_coloring_simple_and_fast_on_canvas. pb"
This demo code can display and colorize images and GIFs
It is a complete basic code for an image editor with on demand functions
Due to the fact that PB is not able to display the invisible color of a GIF,
the extended GIF handling as sprite is extremely difficult.
BF can handle this problem and provide simple to use solutions
Re: BucketFill advanced - GFX for PB [Modules - All OS]
Codes updated d 30 m01 y2018
New functions added
Sprite GIF and CSS tool added
Look for the new folder in the download package
"BucketFill_Sprite_Tool"
With this tool you can solve many problems with GIF and Sprites
Fitted for Image_coloring_BF and Image_coloring_partition_BF
The tool can coloring GiF frames and Images
Can clean sprite masks
Can handling color distance
Can Generate CSS sheets from GIF
Can save as images or PB sprites
On demand GIF animation
And more....
New functions added
Sprite GIF and CSS tool added
Look for the new folder in the download package
"BucketFill_Sprite_Tool"
With this tool you can solve many problems with GIF and Sprites
Fitted for Image_coloring_BF and Image_coloring_partition_BF
The tool can coloring GiF frames and Images
Can clean sprite masks
Can handling color distance
Can Generate CSS sheets from GIF
Can save as images or PB sprites
On demand GIF animation
And more....
Last edited by walbus on Wed Feb 07, 2018 6:59 pm, edited 2 times in total.
- VB6_to_PBx
- Enthusiast
- Posts: 625
- Joined: Mon May 09, 2011 9:36 am
Re: BucketFill advanced - GFX for PB [Modules - All OS]
walbus,Codes updated d 30 m01 y2018
New functions added
Sprite GIF and CSS tool added
Look for the new folder in the download package
"BucketFill_Sprite_Tool"
many thanks for continuing to improve and update this software
would it be possible to release same PB Code that will work with older PB versions like PB 5.31 to 5.43 ???
PureBasic .... making tiny electrons do what you want !
"With every mistake we must surely be learning" - George Harrison
Re: BucketFill advanced - GFX for PB [Modules - All OS]
Hi VB6_to_PBx
Download the latest BF Packet
BF is now compatible with older PB versions < PB560
With the new GIF to CSS tool, GIF can now be used with ease in PB versions smaller than 560.
As an example, BF has functions that can optionally output GIF frames and CSS sheets.
Have fun
Download the latest BF Packet
BF is now compatible with older PB versions < PB560
With the new GIF to CSS tool, GIF can now be used with ease in PB versions smaller than 560.
As an example, BF has functions that can optionally output GIF frames and CSS sheets.
Have fun
- Andre
- PureBasic Team
- Posts: 2058
- Joined: Fri Apr 25, 2003 6:14 pm
- Location: Germany (Saxony, Deutscheinsiedel)
- Contact:
Re: BucketFill advanced - GFX for PB [Modules - All OS]
Not sure yet, for which cases I could use all the new functions...
But thank you very much for the continuous effort and further development. Very powerful and a large set of GFX functions. Thank you for the public release!
But thank you very much for the continuous effort and further development. Very powerful and a large set of GFX functions. Thank you for the public release!
- VB6_to_PBx
- Enthusiast
- Posts: 625
- Joined: Mon May 09, 2011 9:36 am
Re: BucketFill advanced - GFX for PB [Modules - All OS]
all the examples i tested so far have this :walbus wrote:Hi VB6_to_PBx
Download the latest BF Packet
BF is now compatible with older PB versions < PB560
With the new GIF to CSS tool, GIF can now be used with ease in PB versions smaller than 560.
As an example, BF has functions that can optionally output GIF frames and CSS sheets.
Have fun
Code: Select all
CompilerIf #PB_Compiler_Version<560
MessageRequester ("Hint" , "PureBasic Version =>560 needed for this demo Code")
End
CompilerElse
it fails or next stops at this
Code: Select all
[16:18:34] [COMPILER] Line 7550: The module procedure 'GetGif_Frames_in_a_row_BF()' has been declared but not defined.
works great on PB5.61
PureBasic .... making tiny electrons do what you want !
"With every mistake we must surely be learning" - George Harrison
Re: BucketFill advanced - GFX for PB [Modules - All OS]
Hi
You cannot start demo files with GIF in the file name, because PB <560 does not support GIF.
All others run, over 120 different demo files, i think
The undefined variable was only a temporary error, which I overlooked during a new upload this evening.
Load a new package
Regards Werner
You cannot start demo files with GIF in the file name, because PB <560 does not support GIF.
All others run, over 120 different demo files, i think
The undefined variable was only a temporary error, which I overlooked during a new upload this evening.
Load a new package
Regards Werner
Last edited by walbus on Thu Feb 01, 2018 12:00 am, edited 1 time in total.
- VB6_to_PBx
- Enthusiast
- Posts: 625
- Joined: Mon May 09, 2011 9:36 am
Re: BucketFill advanced - GFX for PB [Modules - All OS]
walbus wrote:Hi
You cannot start demo files with GIF in the file name, because PB <560 does not support GIF.
All others run, over hundered different files, i think
The undefined variable was only a temporary error, which I overlooked during a new upload this evening.
Load a new package
Regards Werner
walbus ,
thank you very much ... now works on PB v5.40 upwards
PureBasic .... making tiny electrons do what you want !
"With every mistake we must surely be learning" - George Harrison
Re: BucketFill advanced - GFX for PB [Modules - All OS]
Yes, I fixed some more of the new features last night.
Now everything has been extensively tested and runs smoothly.
I haven't tested versions smaller than 540 because I don't think it makes sense to use them.
The current 546 is quite optimal
Unicode is beautiful and nice, but not necessary for many things in the western world
You don't need the GIF function
With the new tool above you can convert GIF to CSS sheets , very simple
BF can output these sheets with the same routines as GIF frames
Working with the sheets is much more comfortable than working with GIF
Today I make a function that integrates all frame data directly into the Sheets
If you then have a GIF, you simply convert it to a sheet and can use it exactly like a GIF, only easier and better
The BF routines can freely scale, rotate, colorize, clip, tile, with alpha blending, color distance, gradient colors
All of this can be combined and extended almost endlessly
The advantage of BF is its open structure, the arbitrary combinability of all functions, stability and faultlessness
Now everything has been extensively tested and runs smoothly.
I haven't tested versions smaller than 540 because I don't think it makes sense to use them.
The current 546 is quite optimal
Unicode is beautiful and nice, but not necessary for many things in the western world
You don't need the GIF function
With the new tool above you can convert GIF to CSS sheets , very simple
BF can output these sheets with the same routines as GIF frames
Working with the sheets is much more comfortable than working with GIF
Today I make a function that integrates all frame data directly into the Sheets
If you then have a GIF, you simply convert it to a sheet and can use it exactly like a GIF, only easier and better
The BF routines can freely scale, rotate, colorize, clip, tile, with alpha blending, color distance, gradient colors
All of this can be combined and extended almost endlessly
The advantage of BF is its open structure, the arbitrary combinability of all functions, stability and faultlessness
- VB6_to_PBx
- Enthusiast
- Posts: 625
- Joined: Mon May 09, 2011 9:36 am
Re: BucketFill advanced - GFX for PB [Modules - All OS]
i tested it on v5.31 , did not work, but v5.31 does not have the VectorDrawing libraryI haven't tested versions smaller than 540 because I don't think it makes sense to use them.
and PB 5.40 upward does have it
PureBasic .... making tiny electrons do what you want !
"With every mistake we must surely be learning" - George Harrison
Re: BucketFill advanced - GFX for PB [Modules - All OS]
Hi
BF uses the Vector Library primary for rotating stepless images
You can fix this yourself
Just start the BucketFill_advanced.pbi (Not a demo file) with PB<540
PB then jumps to the first function using the Vector library
Change the procedures like this :
That's all
I've tested it, BF works also with PB Version 530
Regards Werner
BF uses the Vector Library primary for rotating stepless images
You can fix this yourself
Just start the BucketFill_advanced.pbi (Not a demo file) with PB<540
PB then jumps to the first function using the Vector library
Change the procedures like this :
Code: Select all
CompilerIf Not #PB_Compiler_Version<540
Procedure Rotate_This_or_That
; content with vector call
Endprocedure
compilerendif
I've tested it, BF works also with PB Version 530
Regards Werner
Re: BucketFill advanced - GFX for PB [Modules - All OS]
Codes updated d09 m02 y2018
Special (new created) QAES based AES image crypter added
This crypter encrypt and decrypt images complete inside your application and create not temporary files
Works similar CBC mode with automatic randomized IV
Can create and read all from PB supported images
Special (new created) QAES based AES image crypter added
This crypter encrypt and decrypt images complete inside your application and create not temporary files
Works similar CBC mode with automatic randomized IV
Can create and read all from PB supported images
- Andre
- PureBasic Team
- Posts: 2058
- Joined: Fri Apr 25, 2003 6:14 pm
- Location: Germany (Saxony, Deutscheinsiedel)
- Contact:
Re: BucketFill advanced - GFX for PB [Modules - All OS]
Thank you for the further extended package.
The image encryption can become very useful for me...
The image encryption can become very useful for me...