ImageToGif Method

ImageToFile Method

Introduction

 

ImageToTransGif Method


 

Saves the control image to a GIF file. Allows a transparent color.

 

The Graphics Interchange Format (c) is the Copyright property of CompuServe Incorporated. GIF (sm) is a Service mark property of CompuServe Incorporated.

 

Syntax

FlpGrf.ImageToTransGif( FileName As String, Width As Integer, Height As String, TransparentIndex As Integer, DPI As Integer )

 

The ImageToTransGif method has these parts:

Part

Description

FlpGrf

An object expression that evaluates the Flipper Graph ASP object.

FileName

String representing the path and name of the destination file.

Width

Width of image in pixels.

Height

Height of image in pixels

TransparentIndex

An integer value representing a color in the color table.

DPI

Set the image resolution. Default is the screen resolution.

 

Remarks

This method saves the contents of the Flipper Graph Control image to a GIF file, which can then be included in other programs and on web pages. It also allows you to set the size of the image in pixels. The larger the image, the smaller the screen fonts will appear on the image. To compensate for this effect, you can set the dot per inch for the image and the fonts and line thickness will increase so larger images will appear in the same relative scale as the screen. For example, if the image was going to be printed to a HP LaserJet 4, then you would want a resolution of 300 DPI.

 

Example

Image Example

 

FlpGrf.ImageToTransGif "C:\temp.gif", 300, 300, 22, 100


 

See Also

All Picture Routines, ImageToClipboard Method, ImageToFile Method, ImageToGif Method, ImageToTransGif Method, ImageToPNG Method



ImageToGif Method ImageToFile Method

 

 

Last modified on: Friday, October 19, 2001