|
|
|
ASP/Image2WBMP is a server side COM component that allows web developers to convert images to "wireless bitmaps" wbmp format (WBMP is a graphics format used in WML - WAP).
Allows you to convert many image file types to WBMP including: bmp, jpg, gif, png, wmf, emf, tga, tiff, pcx, png, etc.
|
This component is freeware for your personal, non-commercial use only. You may not use this component for commercial purposes. If you intend to use the component for commerical use (publishing and resale) you must pay a commercial use fee (US$25).
ASP/Image2WBMP Component |
CH.2 |
Features |
- Convert images to a black and white wireless bitmap (WBMP - 1 bit color depth).
- Detect input image height and width.
- Resize image to any size.
- Supports image file including: bmp, jpg, gif, png, wmf, emf, tga, tiff, pcx, png, etc.
- Support ASP, PHP (COM class - Windows).
ASP/Image2WBMP Component |
CH.3 |
Installation |
for zip file:
- Unzip the ASPImage2WBMP.zip file extract to a directory.
- copy register.bat and nonnoi_ASPImage2WBMP.dll to the WINNT\SYSTEM32 (or WINDOWS\SYSTEM on Win95/98 or WINDOWS\SYSTEM32 on WinXP Home) directory
- run register.bat
- Done!
for setup(.exe) file:
- run setup_ASPImage2WBMP.exe
- Follow instructions of the installer
- Done!
ASP/Image2WBMP Component |
CH.4 |
Reference |
GenHTTPHeader (True or False)
Enable or disable to send a Content-type to browser ("Content-type: image/vnd.wap.wbmp" - for
ShowImage function) .
InputImageWidth
Numeric value indicating the input image witdth.
InputImageHeight
Numeric value indicating the input image height.
ShowImage Function : String
Method to generate output image file (wbmp) and return to WAP browser.
SaveToFile Function : String
This functions will save a output file.
Parameters:
Filename - The destination file name that holds the output (wbmp) file.
OutputImageSize Function : String
This function stretches a output bitmap with specified number of pixels in horizontal, vertical dimension.
Parameters:
Width - Numeric value indicating the output image witdth.
Height - Numeric value indicating the output image height.
MaintainAspect - (True or False) Enable or disable to maintain aspect ratio of output image file.
RegisterName
if you already registered this product, input your name (company name or customer name) here.
** you must set this value before call SaveToFile, ShowImage.
RegisterKey
if you already registered this product, input your registration key here.
** you must set this value before call SaveToFile, ShowImage.
ASP/Image2WBMP Component |
CH.5 |
Example |
ASP : Convert JPG file to WBMP file
<%
Set Obj = Server.CreateObject("nonnoi_ASPImage2WBMP.ASPImage2WBMP")
Obj.InputFileName = "c:\test.jpg"
Obj.SaveToFile("c:\mytest.wbmp")
set Obj = nothing
%>
ASP : Convert JPG file to WBMP and send to WAP browser
<%
' This demo not work for IE/Netscape/Firefox/Opera, please test on WAP browser or WAP emulator
Set Obj = Server.CreateObject("nonnoi_ASPImage2WBMP.ASPImage2WBMP")
Obj.InputFileName = "c:\test.jpg"
Obj.GenHTTPHeader = True
Obj.ShowImage
set Obj = nothing
%>
ASP (Registered User): Convert JPG file to WBMP and send to WAP browser
<%
' This demo not work for IE/Netscape/Firefox/Opera, please test on WAP browser or WAP emulator
Set Obj = Server.CreateObject("nonnoi_ASPImage2WBMP.ASPImage2WBMP")
Obj.RegisterName = "Nonnoi"
Obj.RegisterKey = "0123456-789"
Obj.InputFileName = "c:\test.jpg"
Obj.GenHTTPHeader = True
Obj.OutputImageSize 90,80,True
Obj.ShowImage
set Obj = nothing
%>
ASP/Image2WBMP Component |
CH.6 |
Update & Order |
Click here for prices and discount information.
Click here for product news & information.
Click here for product support or any comment.