Repository navigation
New features: WEBP and text effects #17
Cooler2
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Two new features have landed in the engine5 branch.
Text with effects (R-33)
DrawTextFX draws text with glow, outline and shadow. An effect is a stack of layers. Each layer has a color, an offset, a spread (rounded dilation) and a gaussian
blur. Glow, Outline and Shadow constructors cover the common cases:
WebP images (R-32)
Static WebP images, lossless and lossy with alpha, now load like PNG/JPEG: LoadImageFromFile, the async preloader and extension probing all accept .webp. Support is
opt-in: define WEBP to link the decode-only libwebp 1.6.0.
Example: an 800×400 logo with a soft alpha glow.
All reactions