ZieglerSoft

ZImage



















 


CodeGear - Where Developers Matter

 


 
Valid HTML 4.01!

 
shareup.gif!
 

What is "zImage"?


Do you need an ASP or ASP.net component for server-side graphical operations? zImage can perform a variety of graphical operations from within an ASP script, an ASP.net script or COM enabled language.

If you need to create thumbnails, resize images or do nearly any other job on an image on the fly, directly in a webpage, on your IIS webserver, zImage is the tool for you.

zImage is usefull for any online application, where the user can upload digital images, and need to do ajustments on thoose images, or where the user should be able to create images on the fly.

zImage is usefull for automatic creating of thumbnails.

Can be used together with any upload component, or even without any such component (Take a look at the demos, included in both the full and the demo version of zImage).

zImage is a great component for building into CMS systems, as a build in imagehandling system.

Included features (among others) are:

  • Seven different filters for resizing
  • Store resulting images as files, or as streams directly to the browser or database
  • Read images from stream, like upload components or databases
  • Free rotation of the resulting image
  • Many filters, such as Sharpen, soften, bluring, noise, contrast, darken etc.
  • Croping, sharpening, flipping and mirroring
  • Resize by pct or given width and height
  • Eight different imageformats for input (JPeg, Bitmap, Targa, PNG, GIF, PSD, PSP og Tiff), 
    six for output (JPeg, Bitmap, TIF, PNG, GIF og Targa)
  • Create new images from ground up
  • Drawing tools
  • Put text on images
  • Add more images together to one
  • And a lot more... 

Besides that, the zImage includes one more component, ServerFonts, wich can be used to tell the user wich fonts are installed on the server. Might be usefull if the user have rights to edit an image, including putting text on the image.

If you want the full version of the tools, you can order it using your credit card  here. All future upgrades to this component are free, if you have a license to use it.
 
To get a demoversion (trial-ware) go here.

Do you want to try one of our online demos for the "zImage" component? go

  • here to see some filters in action
  • here to see compression of JPEG files
  • here to see automatic thumbnail generation
  • here to see drawing tools in action
  • here to see more pictures made into one, like in a counter
    (Try refreshing your browser a couple of times)
  • here to see automatic generating of thumbs from all imagefiles in a directory
  • here to see some of the drawing tools in action. Also shows an example on using the "ServerFonts" component
  • here to see the same as above, just in ASP.net this time
  • here if you are using Microsoft Internet explorer, and have JavaScript turned on, you can see a demo here, showing how to build a selection/croping tool

Two examples of filters in "zImage"


First image without "Sharpen", second image with both max "Sharpen" and "Sharpen filter":
zImage.outAddSharpen=1
zImage.outSharpenValue=255
zImage.outSharpenfilter=1


First image without "Soften", second image with "Soften II filter":
zImage.outSoftenFilter2=1

Rotation


Images rotated 0,30,60,90,180 and 270 degrees

Example code:

Simple resizing:

<%
Set zImage = Server.CreateObject("zimage.zimage")
zImage.inFile="file.jpg"
test=zImage.LastError
zImage.outResizeType=0Resize by PCT
zImage.outPct=50 Set size to 50%
zImage.outJpgQuality=100 Store with least compression
zImage.outFilter=6 Use Lanczos3 filter for resizing
zImage.outFile="out.jpg"
test=test+zImage.LastError
zImage.MakeFile Create the file
test=test+zImage.LastError
Set zImage=Nothing
%>
<img src="out.jpg">

You can also send the resulting image directly to the browser, without storing it on disk.

To do this, you will need something like this in your page: <img src="makeimage.asp?filename=test.jpg">

In the file "makeimage.asp" you will then make code like this:

<%
  InFile=Request("filename")
  Set zImage = Server.CreateObject("zimage.zimage")
  zImage.inFile=InFile
The file we will resize
  test=zImage.LastError
  zImage.outResizeType=0
Resize by PCT
  zImage.outPct=50 Make the image 50% of original
  zImage.outJpgQuality=100 No compression
  zImage.outFilter=6 Lanczos3 resize filter
  zImage.outFile=".jpg"The result is a JPeg file
  test=test+zImage.LastError
  Response.ContentType = "image/jpeg"
Tell the browser that a JPeg file is comming
  Response.BinaryWrite zImage.MakeStream Send the resulting image
  Set zImage=Nothing
%>
 

If the line setting the ContentType is missing it should still display in Internet Explorer but not in Netscape. It is important to specify the correct ContentType to maintain compatibility between web browsers.

More examples can be found in the demoversion or the full version

 
 
History

Version 0.90
First beta version

 
Version 1.00
24. april 2003
First public release

 
Version 1.10
28. april 2003
Internal version

 
Version 1.20
26. may 2003
* Added drawing tools
* More fileformats
   supported

Version 1.50
22. june 2003
* Larger images
   supported

Version 1.60
14. november 2003
* New drawing functions
* Bugs removed
* Now supports ASP.net
* Better support of
   reading imagesizes

Version 1.70
26. april 2004
* Bugs removed
* Better user manual
* New demoprograms
* Updated
   demoprogram 1
* Drawing functions:
     drawFontAntiAlias
* New filters:
     outMeanFilter
     outMedianFilter
     outSmoothFilter1
     outSmoothFilter2
     outBoostFilter
     outPosterize
     outSolorize
     outFishEye
     outAntiAlias
     outColorize

Version 1.80
18. september 2004
* Better user manual
* New demoprograms
* Read images from web
* Drawing functions:
     drawFontAngle
* File functions:
     outGifColors
     outGifDither
     outGifCompress
     outPngDPI

 

 
Links
 News-server
 Buy ZieglerCollection
 Buy Crt32
 Buy zImage