Advertisement

Results for "Author: robert rayment"

2_2002-2004 #125706
Sphere (Updated)

Sphere by Robert Rayment. (Update with Latitude shift & Long for Byte Array) Demo of spherical wrap, rotate and tilt. Win98 (Zip 21 KB).

2_2002-2004 #125893
Knob-Thumb-wheels & Skins

Knob-Thumb-wheels & Skins Demo by Robert Rayment. An earlier version has been deleted. Three programs. The first develops and tests bmp strips from a starting image where, for knob wheels the central rotating part's radius and incremental angle can be set as well as, for thumb wheels, number of repeated images. The second program makes compressed True Color 2D arrays of images and masks using zlib.dll (version 1.1.4.0 from www.winimage.com/zlibdll/). For most efficient inflating zlib needs the original uncompressed size. For pictures the original width and height are needed and this is stored at the beginning of the compressed picture array, from which the uncompressed size can also be calculated. The third program uses zlib.dll to inflate the images from a resource file. This is a headerless form, skin, controls & fonts resizing demo using some standard methods (plus some WAV sounds also in the resource file) - a test bed for trying out things. There are 2 full skins but the demo also stores some bitmaps in image boxes, which then serve as buttons and source for tiled skinning. When compiled all the images are then contained within the exe. See Notes.txt. (exe tested on WinXP Home) Win98 Zip 76 KB.

3_2004-2005 #131112
Despeckler (VB + MMX)

Despeckler by Robert Rayment.(Update Re-load added) This attempts to demonstrate some basic patching, dust & scratch removal, de-spotting, pixel painting, sharp, soft, dark & brightening for pictures. The operations can be for the whole picture or a selected area with varying blemish sizes and thresholds. Color selection and a magnifier help with correcting small areas. Example bitmaps are included. Can be run as VB or VB+ASM. The ASM makes extensive use of MMX. -------------------------------------------------- Optionally the use of i_view32.exe (freeware from www.irfanview.com) is demonstrated for loading and saving any image file format in VB....See Notes.txt. -------------------------------------------------- Thanks to VBAccelerator.com (Dialog class), VBSpeed (Timer class) and Ulli (ToolTips class - PSC CodeId=42051) (Exe tested on WinXP) Win98, Zip 205KB.

3_2004-2005 #131212
Desktop Magnifier & Color Picker

Desktop Magnifier & Color Picker by Robert Rayment. Always on top, x2, x4 & x8 magnification, RGB to Clipboard, exact location of cursor shown on magnifier with a black dot. Magnifier can be moved to any part of the screen and the code can easily be changed to alter the area of magnification if wanted. Smooth operation. Win98 (exe WinXP) Zip 7 KB.

3_2004-2005 #131846
Doodle Bytes (Updated)

Doodle Bytes by Robert Rayment. (Updated) This shows a variety of animations using the technique of drawing to a byte array and blitting to the screen with a palette. Win98 (exe WinXP) 14 KB.

3_2004-2005 #131855
Fast Bit-shifting Class Demo (Update)

Fast Bit-shifting Class Demo (Update + ASM files)by Robert Rayment. Thanks to David Fritts for highlighting this method on PSC (CodeId=45885). I've corrected the assembler and Ulli has recast it in his own inimitable style with some explanations. In fact the method is the self-same as that used by Dmitry (CodeId=11830) a few years ago. The main point is that, when comparing fast EXEs, this bitshifting class is over 10 times quicker than the standard VB way using functions of the form 2^p. This description is extended in Notes.txt.

3_2004-2005 #131942
Picture Collector

Picture Collector by Robert Rayment.(UPDATE with New Look dialog (Thanks redbird77) and maintain aspect ratio) (Upgraded for WinXP - thanks Carles) I had a request to write a quick program to collect a selection of picture files (standard VB ones) from a folder and save them as thumbnails to a single bmp. Shows multi-selection dialog and parsing input string and - might be useful - could be embellished. Win98 Zip 6 KB.

3_2004-2005 #132141
Brush Vectors(Fin))

Brush Vectors by Robert Rayment. (Added binary input/output. Fast version, see Help for info on Fast redraw.) This is a vector drawing program using brushes with up to 8 widths, 4 directions, color & transparency. A brush stroke is started with a left-click(or space bar), move mouse to draw & left-click(or space bar) to end it. Each stroke is stored in a vector array which can be saved to a file. Colors can be parked and also saved to a file. The advantage of vectors is that they are full 24-bit color can be stretched/shrunk to a new canavs size. File format can be ASCII (.vec) or binary (.veb). Vec files are usually much smaller than BMP and veb files often smaller than GIF or JPEG. There aren't many aids to drawing yet apart from a fill tool and Shift & Ctrl keying to force vertical & horizontal drawing. So it needs some skill to produce nice pictures. Undo/Redo is almost unlimited, vectors can be deleted from the last drawn or clipped down to the last undo. Deleting any individual vector is not included yet. Important to read the help file to get the most out of this prog. (exe tested on WinXP), Win98, Zip 48KB.

3_2004-2005 #132154
Fancy Scrollbars

Fancy Scrollbars by Robert Rayment. If wanted, the purpose here is to get away from the standard VB scrollbars and add other colors, shaping & effects. Lots of examples included to show almost unlimited design possibilities. One reusable bas Module provided & a set of short fixed Subs to include on the Form containing the scrollbars. No extra dependencies & just one recommended API (Sleep). Full instructions given. (exe WinXP) Win98, Zip 39 KB.

3_2004-2005 #132371
BmpToJpeg GDI+ version (Quality & Regions)

BmpToJpeg GDI+ version (Quality & Regions) by Robert Rayment. Converts bmp to jpeg. See effect of quality before saving. Selected regions can be of a different quality. Regions can be rectangle, rounded rectangle, oval or lasso. It appears that there are intermittent problems with ijl15.dll and Win2K. So this prog has used cut, paste & adapted code from Carles P V (CodeId=42376) & MrBoBo (CodeId=42488) for GDI+ which, if you haven't got it, can be downloaded at - www.microsoft.com/downloads/release.asp?releaseid=32738 - Install gdiplus.dll in your system or app folder. (Exe tested on XP Home) Win 2K, Win 98, Zip 241 KB (Couple of bmps included).

3_2004-2005 #132559
Semaphore & the International Flag Code

Semaphore & the International Flag Code by Robert Rayment. Enter any text and illustrate message using Semaphore or Ship flag codes. Learning aid. Straightforward code, easily embellished. (Zip 144 KB).

3_2004-2005 #132627
Layers Demo(Update5)

Layers Demo by Robert Rayment. (Update5 fileops correction) This started as a layers demo but grew a bit to include some effects and drawing tools. Individual pictures can be resized, clipped, lassoed, rotated have effects and drawn on and a merged picture can also have all these apart from lassoing and rotating. The transparency can be varied for each picture apart from the background...etc. Too many things to describe them all here so please read the Help. The screenshot was made with this prog but PSPro used to convert to jpeg. Difficult to be sure all bugs removed so comments welcome. (exe tested on WinXP) Win98, Zip 182 KB including some test pictures.

3_2004-2005 #132764
CodeScanMax(Update 6 Nov)

CodeScanMax(Update 6 Nov) by Robert Rayment. (Work around for forms with no code, addess some differences between Win98 & WinXP RichTB versions when setting Fonts & Coloring) .... This program is intended to give info on declarations and procedures used in a project. Also to display some items within procedures and a variety of unused items. To be most useful the exe can be placed on the Office toolbar or the Taskbar. It can then analyse the current project provided it is saved to disk. It is non-intrusive A second use is to copy/paste code from any other project while in the IDE. Please read limitations in the help file. I've deliberately left some unused junk in the program so you can see how it works straightaway. It's 'horses for courses' CodeScan suits me but try these others if you haven't already, they may be closer to what you want -- Code Fixer v2.2.9 Roger Gilchrist(Ulli) CodeId=53297 -- Deeplook v4.7 Dean Camera CodeId=54836 -- Code Statistics/.. v4.3 E O'Sullivan CodeID=39149 or later versions.-- Fast RTB Coloring Will Barden CodeId=39824.-- Back highlighting buggy CodeId=43509 (Tested on Win98 & WinXP, Zip 57KB).

3_2004-2005 #132988
APaint8(Update)

APaint8 by Robert Rayment. (Update 12/5/04 improved View-stack & Browser) This is a 256 color palette painter able to work with single or multiple palettes. It works with 8bpp BMPs in byte arrays but other formats can be converted in a Browser, Strict control over the colors can thus be maintained. One use is for simple games' images where single byte rather the 3 or 4 byte colors can be used - generally easier to code and faster. So this is not intended for large pictures of photographic quality but nevertheless can produce a huge variety of acceptable images. Features: 15 level undo/redo viewable, manipuable stack; dozens of drawing tools, filters, deformers and adders; several default palettes and a palette maker; rectangular, circular, elliptical and lasso selections. Many effects can work on the whole picture or on a selection including saving as 8bpp BMPs or GIFs and printing. Most shapes can be drawn with the mouse or keys. Too many other features to mention them all so please read the Help. The Browser contains a color sorting and re-mapping function but I'm still working on a better color sorter - any offers? Bug reports welcome. Best screen res 1024x768 or higher. Compile. (Tested on Win98 & XP) Zip 268 KB.

3_2004-2005 #133066
MMX Crib

MMX Crib by Robert Rayment. For those interested in mixing VB & assembler. Demonstrates all the MMX instructions plus a few snippets. Win98 (exe WinXP) Zip 26 KB.

3_2004-2005 #133409
PlayOids2(Update2)

PlayOids2 by Robert Rayment. (2nd update, move shape to mouse click point) (Quick update to rotate in plane). Just a bit of maths play for those who like that kind of thing. Demonstrates rotatable wireframe spheres, ellipsoids,cylinders etc with and without perspective. Aspect ratio, perspective distance and animation variable on the fly and save as bmp. Zip 9 KB.

3_2004-2005 #133583
Digital Image Subtraction or Addition (16th Mar. Correction to Save result)

Digital Image Subtraction or Addition by Robert Rayment. (16th Mar. Correction to Save result) Combines two images by subtraction (Minus or Xor) or addition ( Whole Image or Edge Transparency). Subtraction only shows the difference bewteen two images and addition combines the images. The first image forms the base and the second, size equal or smaller than the base, takes the effects. Hand-scrolling is used rather than scrollbars, where the display is from a windowed array. Results can be saved as a bmp. Can run with Basic or MMX machine code. The machine code is held in a res file and the asm file included for reference. Couple of images included. CodeId=58968 has some subtraction images. dreamVB frames are used (CodeId=58966). Please see menu item Info. In particular the screen res needs to be >= 1024x768. Zip 189 KB.

3_2004-2005 #133699
Print Graph Sheets

Print Graph Sheets by Robert Rayment. Prints British(US) or Metric scales see screenshot for variations. Zip 8KB.

3_2004-2005 #133723
Create/Edit Animated Cursors (3 Oct)

Create/Edit Animated Cursors by Robert Rayment. As well as drawing the frames of an animated cursor, provides a set of step changes across the frames or a selected area for peppering, waving, swirling, squashing & Xfading. Frames can also be step changed for rotation and reduction. So this prog automates some kinds of animation. 1,4,8 & 24 bpp images can be handled. Some effects are included for 24 bpp images. Images can be loaded from ani, cur or ico files as well as captured from a bmp, gif or jpg. Title, author, number of frames, HotX & HotY and frame rates can be changed. For a new cursor any of the bpps can be selected. Some example ani-files are included. Cursors can be tested and saved at any stage. Please read the help for limitations. (Tested on Win98 & WinXP, Zip 82KB) (3 Oct Calc duration in frmDetails, system cursor preserved).

3_2004-2005 #133739
CUBOID CITY

CUBOID CITY by Robert Rayment. Demo of what can be done with wire-frame cuboids, using pure VB & a couple of APIs for creating & animating scenes. Several thousand cuboids can be happily handled but make sure to compile the animation program!. Two progs, one to draw cuboid pictures (including random mazes) and the other to use the output files (*.ccc) and animate them. There are lots of options to help with drawing - too many to describe here. The animation program uses planar perspective for speed with mostly pure VB. Speed & direction set by distance of cursor from center of display, eye (camera) level and block heights changeable, collison detection and reaching the pyramid in the mazes explodes all. These progs provide a start for a full 3D wire-frame drawing program. Example ccc files included. See Notes. (Exe tested on WinXP) Win98. Zip 115 KB.

Languages
Top Categories
Global Discovery