Spring Banner Contest! (2023)
#96
(03-14-2023, 08:53 PM)dbox Wrote: Have you ever thought, "Man, I wish I could make banners like bplus, but coding is hard!"

Well now you can make spring banners too with the "B+ Banner Builder"!

Try it online today:
https://qbjs.org/?src=https://raw.github...uilder.zip

LOL not exactly b+ approved but I like the hint of being legendary Smile

Here is b+ approved banner builder:
Pick a nice background like Steve, KernelPanic, Walter 
Pick a nice Font
Grab a copy of Pe Logo
use this little bit of code PLUS Steve's SaveImage Bi and Bm
Code: (Select All)
'$INCLUDE:'SaveImage.BI'

Const SaveTextAs256Color = 0 'Flag to Save as 256 color file or 32-bit color file, when converting SCREEN 0 to an image
'                             Set to TRUE (any non-zero value) to save text screens in 256 color mode.
'                             Set to FALSE (zero) to save text screens in 32-bit color mode.

_Title "B+ Spring Banner 10, space to take snap" ' b+ 2023-03-12
' mod 1 start banner
' mod 2 add sun and rays
' mod 3 no overlap!
' mod 4 plasma coloring? don't like random bland!
' mod 5 number of petals determines color also twirl flower petals randomly
' mod 6 more flowers!
' mod 7 clean logo both sides of title
' mod 8 new draw flower with special pallet, only one screen option now
' mod 9 WuLine install for suns rays
' mod 10 RotoZoom mod DrawFlower

' mod 11 just background, logo and title  Banner Basics

Const XMAX = 1400 '                                                          screen banner specs
Const YMAX = 256


Screen _NewImage(XMAX, YMAX, 32)
_ScreenMove 0, 100
Randomize Timer '  oh we can have different flower arrangements

Dim As Long logo, spring, fnt, wallpaper
Dim k$
ReDim savefile As String
savefile = "Spring Banner 11 by b+.png" ' ---------------> name of out put image to spec
logo = _LoadImage("peLogo.png") ' -----------------------> here is logo for QB64pe Phoenix Edition
spring = _LoadImage("spring.jpg") ' ---------------------> here is a nice background I snatched
fnt = _LoadFont("ARLRDBD.TTF", 100) ' -------------------> here is font Big Bold Round like cloud
wallpaper = _NewImage(XMAX, YMAX, 32)
_PutImage , spring, wallpaper, (0, 400)-(_Width(spring), _Height(spring)) 'use full width but just some sky
_Font fnt, wallpaper
_PrintMode _KeepBackground , wallpaper
_Dest wallpaper
_PutImage (25, 5), logo, wallpaper
_PutImage (_Width - 25 - _Width(logo), 5), logo, wallpaper
_Dest wallpaper
Color _RGB32(26, 50, 230)
s$ = "QB64 Phoenix Edition"
_PrintString ((_Width - _PrintWidth(s$)) / 2, 20), s$, wallpaper
_Dest 0

Dim result '                                                                    save image or NOT
While _KeyDown(27) = 0 ' <<<<<<<<<<<<< allow escape from screen
    _PutImage , wallpaper&, 0
    k$ = InKey$
    _Display
    If k$ = " " Then
        result = SaveImage(savefile, 0, 0, 0, _Width - 1, _Height - 1)
        If result = 1 Then 'file already found on drive
            Kill savefile 'delete the old file
            result = SaveImage(savefile, 0, 0, 0, _Width - 1, _Height - 1) 'save the new one again
        End If
        If result >= 0 Then Cls: Print "Save Failed": Beep: End ' <<<<<<<<<<<<<<<<<  beep = failed
    ElseIf Len(k$) Then
        Exit While
    End If
    _Display
    _Limit 60
Wend
'$INCLUDE:'SaveImage.BM'

and prest-O change-0!
   
A beautiful banner!
b = b + ...
Reply


Messages In This Thread
Spring Banner Contest! (2023) - by SMcNeill - 03-06-2023, 02:19 AM
RE: Spring Banner Contest! (2023) - by bplus - 03-06-2023, 01:50 PM
RE: Spring Banner Contest! (2023) - by Keybone - 03-06-2023, 05:41 PM
RE: Spring Banner Contest! (2023) - by dbox - 03-06-2023, 08:15 PM
RE: Spring Banner Contest! (2023) - by mnrvovrfc - 03-06-2023, 09:14 PM
RE: Spring Banner Contest! (2023) - by bplus - 03-06-2023, 09:41 PM
RE: Spring Banner Contest! (2023) - by bplus - 03-07-2023, 12:50 AM
RE: Spring Banner Contest! (2023) - by bplus - 03-07-2023, 03:39 AM
RE: Spring Banner Contest! (2023) - by bplus - 03-07-2023, 04:27 AM
RE: Spring Banner Contest! (2023) - by bplus - 03-07-2023, 05:06 AM
RE: Spring Banner Contest! (2023) - by aurel - 03-07-2023, 06:28 PM
RE: Spring Banner Contest! (2023) - by bplus - 03-07-2023, 11:10 PM
RE: Spring Banner Contest! (2023) - by SMcNeill - 03-08-2023, 01:33 AM
RE: Spring Banner Contest! (2023) - by mnrvovrfc - 03-08-2023, 04:00 AM
RE: Spring Banner Contest! (2023) - by bplus - 03-08-2023, 01:39 AM
RE: Spring Banner Contest! (2023) - by bplus - 03-08-2023, 03:35 AM
RE: Spring Banner Contest! (2023) - by a740g - 03-08-2023, 05:12 PM
RE: Spring Banner Contest! (2023) - by mnrvovrfc - 03-08-2023, 05:22 PM
RE: Spring Banner Contest! (2023) - by dbox - 03-08-2023, 04:52 PM
RE: Spring Banner Contest! (2023) - by SMcNeill - 03-08-2023, 06:30 PM
RE: Spring Banner Contest! (2023) - by bplus - 03-08-2023, 07:27 PM
RE: Spring Banner Contest! (2023) - by bplus - 03-08-2023, 07:33 PM
RE: Spring Banner Contest! (2023) - by bplus - 03-09-2023, 08:39 AM
RE: Spring Banner Contest! (2023) - by bplus - 03-08-2023, 08:20 PM
RE: Spring Banner Contest! (2023) - by bplus - 03-09-2023, 07:48 AM
RE: Spring Banner Contest! (2023) - by dbox - 03-09-2023, 02:12 PM
RE: Spring Banner Contest! (2023) - by mnrvovrfc - 03-09-2023, 02:35 PM
RE: Spring Banner Contest! (2023) - by bplus - 03-09-2023, 03:05 PM
RE: Spring Banner Contest! (2023) - by Sprezzo - 03-09-2023, 03:38 PM
RE: Spring Banner Contest! (2023) - by Sprezzo - 03-10-2023, 02:22 AM
RE: Spring Banner Contest! (2023) - by dbox - 03-10-2023, 12:55 PM
RE: Spring Banner Contest! (2023) - by bplus - 03-10-2023, 04:08 PM
RE: Spring Banner Contest! (2023) - by bplus - 03-10-2023, 05:05 PM
RE: Spring Banner Contest! (2023) - by dbox - 03-10-2023, 09:50 PM
RE: Spring Banner Contest! (2023) - by bplus - 03-10-2023, 10:09 PM
RE: Spring Banner Contest! (2023) - by mnrvovrfc - 03-11-2023, 10:39 PM
RE: Spring Banner Contest! (2023) - by mnrvovrfc - 03-12-2023, 03:39 PM
RE: Spring Banner Contest! (2023) - by Sprezzo - 03-12-2023, 01:31 AM
RE: Spring Banner Contest! (2023) - by dbox - 03-12-2023, 02:02 AM
RE: Spring Banner Contest! (2023) - by SMcNeill - 03-12-2023, 02:39 AM
RE: Spring Banner Contest! (2023) - by bplus - 03-12-2023, 04:42 PM
RE: Spring Banner Contest! (2023) - by Sprezzo - 03-12-2023, 04:56 PM
RE: Spring Banner Contest! (2023) - by bplus - 03-12-2023, 06:02 PM
RE: Spring Banner Contest! (2023) - by mnrvovrfc - 03-12-2023, 07:53 PM
RE: Spring Banner Contest! (2023) - by bplus - 03-12-2023, 08:37 PM
RE: Spring Banner Contest! (2023) - by Sprezzo - 03-12-2023, 06:27 PM
RE: Spring Banner Contest! (2023) - by SMcNeill - 03-12-2023, 06:32 PM
RE: Spring Banner Contest! (2023) - by bplus - 03-12-2023, 08:44 PM
RE: Spring Banner Contest! (2023) - by bplus - 03-12-2023, 11:29 PM
RE: Spring Banner Contest! (2023) - by Sprezzo - 03-13-2023, 02:15 AM
RE: Spring Banner Contest! (2023) - by bplus - 03-13-2023, 04:07 AM
RE: Spring Banner Contest! (2023) - by bplus - 03-13-2023, 04:56 AM
RE: Spring Banner Contest! (2023) - by bplus - 03-13-2023, 03:15 PM
RE: Spring Banner Contest! (2023) - by vince - 03-13-2023, 07:47 PM
RE: Spring Banner Contest! (2023) - by bplus - 03-13-2023, 08:22 PM
RE: Spring Banner Contest! (2023) - by Sprezzo - 03-13-2023, 09:31 PM
RE: Spring Banner Contest! (2023) - by bplus - 03-13-2023, 10:59 PM
RE: Spring Banner Contest! (2023) - by Sprezzo - 03-14-2023, 06:27 AM
RE: Spring Banner Contest! (2023) - by bplus - 03-14-2023, 02:34 PM
RE: Spring Banner Contest! (2023) - by Sprezzo - 03-14-2023, 04:03 PM
RE: Spring Banner Contest! (2023) - by bplus - 03-14-2023, 04:22 PM
RE: Spring Banner Contest! (2023) - by mnrvovrfc - 03-14-2023, 09:53 PM
RE: Spring Banner Contest! (2023) - by dano - 03-14-2023, 12:51 AM
RE: Spring Banner Contest! (2023) - by bplus - 03-14-2023, 01:56 AM
RE: Spring Banner Contest! (2023) - by mnrvovrfc - 03-14-2023, 03:52 AM
RE: Spring Banner Contest! (2023) - by dbox - 03-14-2023, 08:53 PM
RE: Spring Banner Contest! (2023) - by bplus - 03-14-2023, 09:28 PM
RE: Spring Banner Contest! (2023) - by dbox - 03-14-2023, 11:02 PM
RE: Spring Banner Contest! (2023) - by bplus - 03-14-2023, 11:19 PM
RE: Spring Banner Contest! (2023) - by bplus - 03-14-2023, 10:58 PM
RE: Spring Banner Contest! (2023) - by bplus - 03-14-2023, 11:41 PM
RE: Spring Banner Contest! (2023) - by bplus - 03-14-2023, 11:58 PM
RE: Spring Banner Contest! (2023) - by mnrvovrfc - 03-15-2023, 12:28 PM
RE: Spring Banner Contest! (2023) - by bplus - 03-15-2023, 01:30 PM
RE: Spring Banner Contest! (2023) - by dbox - 03-15-2023, 12:13 AM
RE: Spring Banner Contest! (2023) - by bplus - 03-15-2023, 12:36 AM
RE: Spring Banner Contest! (2023) - by dbox - 03-15-2023, 01:27 AM
RE: Spring Banner Contest! (2023) - by aurel - 03-15-2023, 11:23 AM
RE: Spring Banner Contest! (2023) - by dbox - 03-15-2023, 12:52 PM
RE: Spring Banner Contest! (2023) - by dbox - 03-16-2023, 11:56 PM
RE: Spring Banner Contest! (2023) - by bplus - 03-17-2023, 10:07 PM
RE: Spring Banner Contest! (2023) - by aurel - 03-18-2023, 06:35 AM
RE: Spring Banner Contest! (2023) - by mnrvovrfc - 03-18-2023, 10:32 AM
RE: Spring Banner Contest! (2023) - by Sprezzo - 03-18-2023, 03:45 PM
RE: Spring Banner Contest! (2023) - by bplus - 03-18-2023, 04:56 PM
RE: Spring Banner Contest! (2023) - by Cobalt - 03-21-2023, 02:53 AM
RE: Spring Banner Contest! (2023) - by mnrvovrfc - 03-23-2023, 01:00 AM
RE: Spring Banner Contest! (2023) - by bplus - 03-23-2023, 01:42 AM



Users browsing this thread: 65 Guest(s)