Victor Library User's Guide

Getting Started
System Requirements
Package Contents
Software Installation
Victor Features
How to Use this Manual
Additional Versions of the 32-bit Library

Demonstration Programs
Loadpic
LoadNSho
VicDemo

Programming Considerations
Dynamic Link Libraries
Import Libraries
Header File
Creating a C/C++ Application
Creating a Visual Basic Application
Creating an App with Unicode Support
Troubleshooting
Technical Support

Victor Images
Device Independent Bitmap (DIB) Review
How Victor Images Differ from Windows DIBs
The Image Descriptor Defined

Using Victor Functions in a Windows Application
Allocating Memory for an Image
Loading and Saving an Image
Setting an Image Area
Modifying an Image Using Victor Functions
Displaying an Image
Freeing an Image
Range Checking

Color Palettes
What is a Color Palette?
Changing a Palette
Displaying an Altered Palette
Color Reduction: Creating a Palette Color Image from an RGB Image

DIBs, Bitmaps, and Images
Converting an Existing DIB to an Image
Converting a Device Dependent Bitmap to an Image
Converting an Image to Device Dependent Bitmap
Adding Graphic Elements to an Image
Windows DIB Functions

Using the Windows Clipboard
Copying an Image to the Clipboard as a DIB
Copying an Image to the Clipboard as a Bitmap
Copying a Palette to the Clipboard
Pasting a DIB from the Clipboard

Scanning Images
TWAIN Support
TWAIN Architecture
Using the Victor TWAIN Functions
A TWAIN Example

Victor Functions by Category
Memory Management
File Handling
Image Processing
Image Descriptor Modification
Color Reduction and Image Conversion
Color Palette Operations
Display Functions
Printer Functions
Image Analysis
System Information
TWAIN Functions
Scanner Functions

Victor Library Reference
Victor Functions