Graphic Gadgets v1.0 (Updated to v1.2)

General Computer Utilities
Post Reply
AndyAmaya
Posts: 38
Joined: Sun Sep 17, 2006 8:12 pm

Graphic Gadgets v1.0 (Updated to v1.2)

Post by AndyAmaya »

Here's a collection of graphic manipulation routines all rolled up in GUI.

Capabilities:
- Load a Windows™ bitmap (.bmp) to display on screen
- Save the current screen to a Windows™ bitmap on disk
- Rotate a bitmap from 0 to 360 degrees
- Wrap a bitmap around an arc or circle
- Flip a bitmap horizontally (make a mirror image of the bitmap)
- Flip a bitmap vertically (flip a bitmap upside down)
- Shear a bitmap horizontally (tilt the upper corners of bitmap left or right)
- Shear a bitmap vertically (ramp the right hand corner of bitmap up or down)
- Convert a Windows™ bitmap to a text file containing RLE compressed data statements
- Convert a Windows™ bitmap to RLE encoded data statements which are placed on the Windows™ clipboard
- Convert a Windows™ bitmap to a ". VRF" image file (a RLE compressed form of the bitmap)
- Read data statements from a text file containing an encoded image and save as a Windows™ bitmap file
- Read data statements embedded in a program and display the encoded image on screen
- Convert an existing .VRF file to a text file of RLE encoded Data statements
- Convert an existing .VRF File to RLE encoded data statements which are placed on the Windows™ clipboard
- Convert an existing .VRF file to a Windows™ bitmap file which is then stored on disk
- Retrieve a .VRF file stored on disk and display on screen for browsing existing .VRF image files
- Convert an existing Windows™ bitmap of any size, to a "sprite mask" used by Just BASIC™

Now you can add small bitmaps directly to your code listing. Just run Graphic Gadgets, tell it which
bitmap you want to include as data statements, click the BMP to Clipboard data button, paste into your
program!

Check it out, it may save you some time for some of your graphic chores.

New version: Graphic Gadgets v1.1
Fixes some little issues and hopefully eliminates a hard to track bug related to not processing 32-bit bitmaps. This version now processes 32-bit bitmaps, so hopefully that bug goes away.

This version attempts to center images that are rotated. So you should see at least 50%-100% of the rotated image.

Newest version: Graphic Gadgets v1.2
Now with Alpha Blend! That's right you can blend/superimpose an image on top of another image (think watermark).

Have also added bitmap tiling. Not very new, but can be useful when working on graphics.

TIP: Run VRF2BMP.BAS as soon as you unzip the archive. Then you will have plenty of images to work with AND some NEW SPRITES!
Attachments
GraphicGadgets_v1_2.zip
Latest Update!
(209.72 KiB) Downloaded 938 times
Post Reply