Also the new 'ImageFit' function could become very useful for me.
Thank you

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"
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
Code: Select all
[16:18:34] [COMPILER] Line 7550: The module procedure 'GetGif_Frames_in_a_row_BF()' has been declared but not defined.
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
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.
Code: Select all
CompilerIf Not #PB_Compiler_Version<540
Procedure Rotate_This_or_That
; content with vector call
Endprocedure
compilerendif