Ultra Shareware

Do you want to convert between image format like jpg, jpeg, bmp, tiff, tif, png and gif in your web application or VB6 or .Net application? Do you want to resize your image and create thumbnails on the fly? Do you want to annotate your image with rotating, colorful text? All these things now can be easily achieved by using our Active Image Processing Component.

Active Image Processing Component is a standard ActiveX component. It can be easily integrated into applications written in languages that support ActiveX Component such as Visual C++, Visual Basic, Delphi, C++ Builder, .Net languages, Java, Scripts like Perl, Php, Python.

Key Benefits:

  • Load and save multiple image format, easily convert images

Active Image Processing Component supports formats like wmf, emf, jpg, png, tiff, bmp and gif. For jpg, it supports customized compression quality and progressive jpeg encoding for the web. For tif, It supports loading and saving multi-page tiff files and various tiff encoding options like rle, packbit, ccitt 3 fax, ccitt 4 fax and lzw. For gif, it supports creating and saving transparent gif files. So you can use the component to do conversion between the polular image format like jpg to tiff, tiff to jpg, jpg to png, png to jpg, jpg to gif etc.

Free Download & Try Now Try it before purchase without any risk!
Buy Now
. Get the registration code instantly. $149.95 For Single Developer License.

  • Support lots of image processing or transforming filters such as resize etc

With Active Image Processing Component, you can easily crop or resize the image to create thumbnail image. You can adjust the brightness, contrast of the image or gamma parameter. Or you can adjust the hue or saturation. Also the Sepia filer can allow you to generate old picture effect.

  • Support drawing text, line or shape onto image easily

Active Image Processing Component provides canvas object to draw text, line or shape onto image. You can choose and set the font family, color or background for text drawing. You can easily add text or image watermark to your image now.

IF you still hesitate, download Active Image Processing Component and try out for FREE!

Highlight Features:

  • Load and save multiple image format like jpg, jpeg, png, gif, bmp, wmf, emf, pcx, tga and tiff
  • Convert between formats like convert jpeg to tiff, convert tiff to jpg etc
  • Support image resizing
  • Support image processing method like brightness/contrast/hue/saturation/sharpness/smoothness adjustment
  • Support drawing text, line and shape
  • Support combing image together with alpha blending or transparent effect
  • Support loading and saving multi-page tiff
  • Support meta tags like Exif or IPTC
  • Support drawing image onto a big image
  • Support drawing images with full alpha channel like transparent PNG
  • Support drawing image into a polygon
  • Demos in VBScript, ASP, ASP.Net, C#, VB.Net, Php, VB6, Delphi, Coldfusion and BCB are avaiable
  • .Net ready component
  • Support 64 bit Windows (x64)

Version:

2.0.2013.612

Keywords:

image processing, image resizing, image format conversion, tiff to jpg, tiff to bmp, tiff to png, tiff to gif, jpg to tiff, jpg to gif, jpg to png, jpg to bmp, gif to jpg, gif to png, gif to tiff, gif to bmp, png to jpg, png to tiff, png to gif, png to bmp, save multipage tiff, asp.net multipage tiff, vb.net resize images .jpg

System Requirements:

Designed for Windows 98/2000/XP/Vista


Manual

Active Image Processing Component has implemented several COM object for easily using. The following will list the properties or methods by objects: Image, Canvas, Pen, Brush, Font, Size and Metadata.

Image Object (ImageObj)

ImageObj is the main object of Active Image Processing Component. It is the root for most other objects.

LONG Width

Description: Property. Return the width of the image. Valid after loading or creating image.

LONG Height

Description: Property. Return the height of the image. Valid after loading or creating image.

LONG Interpolation

Description: Property. Read or write the interpolation method for resizing image. Valid values are: 1 (Nearese neighbour), 2 (Bilinear), 3 (Bspline), 4 (Bicubic). Affect method Resize

LONG JpegProgressive

Description: Property. Read or write the JpegProgressive mode. Valid values are: 0 (normal jpeg), 1 (progressive jpeg)

LONG JpegQuality

Description: Property. Read or write the JpegQuality for jpg compression. Valid values are between 0 and 100

LONG ResolutionX

Description: Property. Read or write the x resolution for the image. Useful for tiff image format

LONG ResolutionY

Description: Property. Read or write the y resolution for the image. Useful for tiff image format

LONG nTiffEncoding

Description: Property. Read or write the tiff encoding type. Valid values are: 1 (none), 2 (RLE or packbit), 3 (CCITT3), 4 (CCITT4), 5 (LZW), 6 (OJPEG), 7 (JPEG)

LONG nGifEncoding

Description: Property. Read or write the gif encoding type. Valid values are: 0 (lzw), 1 (none), 2 (rle)

CanvasObj Canvas

Description: Property. Get the canvas object for drawing on the image

LONG TransparentColor

Description: Property. Read or write the transparent value of the image. If there is no transparent color, it returns -1

LONG FrameCount

Description: Property. Read the number of frames. Normally it is 1. For multi-page images, it is the frame count in the image.

LONG FrameIndex

Description: Property. Read or write current frame index. To load the frame in multi-page image, set this index and load the image again.

SetCode(String strCode)

Description: Set the registration code to unlock trial version. Call this after you create the object in your program. StrCode is  the registration code got after ordering.

Load(String strImageFile)

Description: Load image from disk file. The component will detect file format automatically. Supported image format are bmp, gif, jpg, png, tga, pcx and tiff.
strImageFile: the file name of the image file. For example, "c:\1.jpg", "test.tiff" etc

LoadBinary(String strImageFile, Blob)

Description: Load image from memory blob
strImageFile: orignal image name or can be *.*. The component will try to detect the image format automatically
Blob: the in memory image data

Save(String strImageFile)

Description: Save the image to disk file. The component will save the image into the format according to the file extension. The supported formats are the same to Load method. It will automatically adjust the pixel format if the image format to save doesn't support current pixel format of the image.
strImageFile: the file name of the image file. For example, "c:\1.jpg", "test.tiff" etc.

Blob Save(String strImageFile)

Description: Save the image into memory blob
strImageFile: can be "*.jpg", ".tif", "*.png", "*.bmp", "*.gif". The component uses the extension to tell image format

Clear()

Description: Release all the memory used by current object

LONG MakeColor(LONG Red, LONG Green, LONG Blue)

Description: Helper function, make a color value by giving the red, green, blue value which are in [0..255]

NewImage(LONG width, LONG height, LONG nColor)

Description: Create a new image with the given width and height, the image is filled with nColor.

LONG GetPixelColor(LONG X, LONG Y)

Description: return the pixel color at the given point of the image

ImageObj Clone()

Description: clone an image

HBITMAP GetHBitmap()

Description: return win32 hbitmap handle to application. The caller need to free the handle.

GrayScale()

Description: Make the image into grayscale image

FlipH()

Description: Flip the image on the horizontal direction

FlipV()

Description: Flip the image on the vertical direction

RotateL()

Description: Rotate the image 90 degrees counter-clockwise

RotateR()

Description: Rotate the image 90 degrees clockwise

Negative()

Description: Inverse pixel color of the image

Sharpen()

Description: Make the image sharpen

Soften()

Description: Make the image smoother

Sepia(LONG nParam1, LONG nParam2)

Description: Make the image look like an old picture. nParam1, nParam2 are reserved. Use 0 as input.

Crop(LONG left, LONG top, LONG right, LONG bottom)

Description: Crop the rect from the orignal image.

ReplaceColor(LONG oldColor, LONG nThreshold, LONG newColor)

Description: Replace the color of the image into a new color
oldColor: the color to replace
nThreshold: if the value is larger than 0, the color that is around the oldColor is also replaced. So it is a tolerance value
newColor: the new color for the pixel that is replaced.

Resize(LONG newWidth, LONG newHeight)

Description: Resize the image
newWidth: new image width
newHeight: new image height

Thumbnail(LONG newWidth, LONG newHeight, LONG fillColor)

Description: Make thumbnail image with the given width and height. The orignal image is resized by keeping its aspect ratio.
newWidth: new image width
newHeight: new image height
fillColor: the color to fill the background

DrawImage(LONG X, LONG Y, ImageObj image, LONG nOpacity, LONG nTransColor, LONG nTransThreshold)

Description: Draw the image at the X, Y postion of current image with given opacity value and transparent color.
X, Y: the left top position in current image to draw the image
nOpacity: a value between 0 and 100 for alpha blending. 100 means 100% opaque.
nTranscolor: the pixel with this color will be treated as 100% transparent.
nThreshold: if the value is larger than 0, the color that is around the nTransColor is also treated as transparent

DrawAlphaImage(LONG X, LONG Y, LONG cx, LONG cy, ImageObj pImage, LONG bSmooth, LONG bUseAlpha);

Description: Draw the image at the X, Y postion of current image considering alpha channel

DrawPerspectiveImage(LONG X1, LONG Y1, LONG X2, LONG Y2, LONG X3, LONG Y3, LONG X4, LONG Y4, ImageObj pImage);

Description: Draw the image into the polygon defined by (Xi, Yi)

Colorize(LONG Hue, LONG Sat, FLOAT fBlend)

Description: Replaces the hue and saturation values in the image
hue: new hue value between 0 and 255
Sat: new saturation value between 0 and 255
fBlend: value from 0 (no effect) to 1 (full effect)

Light(LONG bright, LONG contrast)

Description: Changes the brightness and the contrast of the image.
bright: can be from -255 to 255, if brightness is negative, the image becomes dark.
contrast: can be from -100 to 100, the neutral value is 0.

Gamma(FLOAT fGamma)

Description: Adjusts the color balance of the image
fGamma: can be from 0.1 to 5.

Threshold(LONG nLevel)

Description: Converts the image to B&W.
nLevel: the lightness threshold. between 0 and 255

LONG Mean()

Description: return the mean lightness of the image

Erode(LONG size)

Description: Enhance the dark areas of the image.
size: typical size is 2

Dilate(LONG size)

Description: Enhance the light areas of the image
size: typical size is 2

Edge(LONG size)

Description: Enhance the variations between adjacent pixels.
size: typical size is 2

Jitter(LONG radius)

Description: Adds a random offset to each pixel in the image
radius:maximum pixel displacement, typical size is 2

Noise(LONG level)

Description: Adds an uniform noise to the image
level:can be from 0 (no noise) to 255 (lot of noise).

Median(LONG size)

Description: Adjusts the intensity of each pixel to the median intensity of its surrounding pixels.
size: typical size is 3

Emboss()

Description: Make emboss effect

DecreaseBpp(LONG nBit, LONG ErrorDiffusion)

Description: decrease the bit per pixel color.
nBit: can be 1, 4 or 8
ErrorDiffusion: set as 1 usually

Fill(LONG nColor)

Description: Fill the whole image with the given color.

CreateMultipageTiff(String strFile)

Description: Create a multipage tiff file

AddImage(String strFile)

Description: Add an image to save to the multipage image file

CloseMultipageTiff ()

Description: Close multipage tiff file

Canvas Object (CanvasObj)

Canvas object is to draw text, line or shape onto images.

PenObj Pen

Description: Property. Get the pen object of the canvas

BrushObj Brush

Description: Property. Get the brush object of the canvas

FontObj Font

Description: Property. Get the font object of the canvas

BeginPaint()

Description: after getting the canvas object, call this method to begin paint job on the image

EndPaint()

Description: after drawing something on the image, must call this method to end the drawing into image object so that the drawing will be reflect on the image.

DrawArc(LONG nX, LONG nY, LONG nRadius, LONG nStartAngle, LONG nEndAngle)

Description: draw an Arc on the image
nX, nY: center of the Arc
nRadius: the radius of the Arc
nStartAngle: the start angle of Arc
nEndAngle: the end angle of Arc

DrawRectangle(LONG nLeft, LONG nTop, LONG nRight, LONG nBottom)

Description: draw a rectangle on the image

DrawEllipse(LONG nLeft, LONG nTop, LONG nRight, LONG nBottom)

Description: draw an ellipse on the image

DrawLine(LONG nLeft, LONG nTop, LONG nRight, LONG nBottom)

Description: draw a line

DrawTextW(LONG nX, LONG nY, String strText)

Description: draw a string at the given position with current font setting.

SizeObj GetTextExtent(String strText)

Description: return the width and height for drawing strText on image

Pen Object (PenObj)

Pen object is for setting attributes for canvas pen

LONG Width

Description: Property. Read or set pen width

LONG Color

Description: Property. Read or set pen color

LONG Style

Description: Property. Read or set pen style. Valid values are: 0 (Solid), 1 (Dash), 2 (Dot)

Brush Object (BrushObj)

Brush object is for setting attributes for canvas brush

LONG Color

Description: Property. Read or set pen color

Font Object (FontObj)

Brush object is for setting attributes for canvas brush

LONG BkColor

Description: Property. Read or set background color for text

LONG BkAlpha

Description: Property. Read or set background alpha type. Valid values are 0 (Opaque), 1 (Transparent)

LONG Color

Description: Property. Read or set color for text

String Name

Description: Property. Read or set font name

LONG Size

Description: Property. Read or set font size in pixels

BOOL Italic

Description: Property. Read or set font italic or not

BOOL Underline

Description: Property. Read or set font Underline or not

LONG Rotation

Description: Property. Read or set font rotation angle

LONG Bold

Description: Property. Read or set font bold or not

LONG StrikeOut

Description: Property. Read or set font StrikeOut or not

LONG Quality

Description: Property. Read or set font quality. Valid values are: 0 (default), 1 (draft), 2 (Proof), 3 (non anti-alias), 4 (anti-alias)

Size Object (SizeObj)

Size object describes a pair of long value

LONG cx

Description: Property. Read or set the width

LONG cy

Description: Property. Read or set the height

Metadata Object (MetadataObj)

Metadata object is to read the metadata object for images. It supports the EXIF and IPTC standards.

LONG Count

Description: Property. Read the count of tags

LONG Index

Description: Property. Read or set the current tag index

LONG Tag

Description: Property. Read the tag name

LONG Value

Description: Property. Read the tag value

ParseFile(String strFile)

Description: parse the image file for metadata information.

FAQ:

How much does it cost ?

It is $149.95 for Single developer license. Registered users can get free update for lifetime. If you want to purchase multiple license, please contact us for discount.

Where to get support?
Please email to support@ultrashareware.com for any other help.

 

Example Usage:

1. Resize an existing image

You can easily load an existing image file with Active Image Processing component, resize it to a given width and height.

'This is an example in VBScript

path = "..\"
img = "flower.jpg"
timg = "small.jpg"

Set image = CreateObject("ImageFx.ImageObj")

image.Load path&"\"&img

image.Resize image.Width/2, image.Height/2
image.Save path&"\"&timg

 

2. Create multi-page TIFF file

Active Image Processing component can be used to load and save multiple page TIFF files.

'Create a multipage TIFF file

Dim img
Set img = CreateObject("ImageFx.ImageObj")

img.CreateMultipageTiff "multipages.tiff"

img.AddImage "..\water1.GIF"
img.AddImage "..\water1.PNG"
img.AddImage "..\water1.jpg"
img.AddImage "..\flower.jpg"

img.CloseMultipageTiff

'Load a multipage TIFF file and save each tiff into a separate file


Dim img
Set img = CreateObject("ImageFx.ImageObj")
img.Load "00061.TIF"

for i = 0 to img.FrameCount - 1
img.FrameIndex = i
img.Load "00061.TIF"

img.Save CStr(i)&".jpg"
next

 

3. Draw image on image

Active Image Processing component can be used to combine several images into one image. You can draw transparent PNG image onto a background image to synthesize complex scene.

Dim img
Set img = CreateObject("ImageFx.ImageObj")
Set img1 = CreateObject("ImageFx.ImageObj")

file1 = "..\flower.jpg"

'file2 is a png image with alpha channel
file2 = "..\flower.png"

img1.Load file2

img.Load file1

'draw without alpha channel
img.DrawAlphaImage 200, 100, 200, 200, img1, 1, 0
img.Save "drawpng1.png"

img.Load file1
'draw with alpha channel
img.DrawAlphaImage 200, 100, 200, 200, img1, 1, 1
img.Save "drawpng2.png"

'draw in perspective way
img.DrawPerspectiveImage 100, 0, 200, 0, 0, 200, 200, 200, img1
img.Save "drawpng3.png"

 

All the above examples can be found in the trial version of the Active Image Processing component as well. Just download and try it for free!

 

History:

02/01/2011 New Year Release for 2011
01/26/2008 +Add: 2009 new year release. Update binary for more optimizations
01/10/2008 +Add: 2008 new year release
05/01/2007 +Add: x64 version and update C# demos
03/01/2007 +Add: Bug fixes
01/01/2007 +Add: DrawAlphaImage
09/22/2006 +Add: Save multipage TIFF
08/26/2006 +Add: ASP.net, C# and VB.Net demo
08/01/2006 First release of Active Image Processing Component