Sherrod Computers - Web and Application development
Tiff Merger DLL / COM



TIFF Page Merger DLL / COM

General Info

Download Trial

Purchase

Customers include:
IBM
Ikon
Microsoft
Kodak
Xerox
Olympus
Minolta
NASA
More >>

Custom Application Development
Click here for information

Products



DLL / COM Products

This is a fully functional DLL that can be incorporated in to virtually any Windows Program. We have provided some sample source code to show how you could use this DLL in your program
return status 1 means successful merge
return status 0 means filename not found
return status -1 general error
return status -2 means not a tiff file
return status -3 means 'folder not found'

PHP

$Obj = new COM("TiffMerge.SCTiffMerger");
$merge_list = "C:\test\test-1.tif,c:\test-2.tif";
$output_dir = "C:\outputdir";
$output_file = "newfilename.tif";
$rslt = $Obj->Tiff_Merge($merge_list, $output_dir, $output_file);

echo $rslt;


Visual Basic

Add a refernce to the DLL in the Project

  1. In Visual Basic, click on the 'Project' menu, then click on 'References'
  2. Click the 'Browse' button and find the SCTiffMerger.dll
  3. Double Click it so that it appears in your 'Available References' Page
Include this code in the beginning part of your program (or you could put this in your module)

Dim TMerge As New TiffMerge.SCTiffMerger

To call the function and merge TIFF files, you could use the following:

mergepageresult = TMerge.Tiff_Merge("C:\test\test-1.tif,c:\test\test-2.tif", "C:\outputdir","newfilename.tif")


Cold Fusion

<cfobject type="com"
action="create"
class="TiffMerge.SCTiffMerger"
name="TMerge">

return status 1 means successful merge
return status 0 means filename not found
return status -1 general error
return status -2 means not a tiff file
return status -3 means 'folder not found'

<cfset mergeresult = TMerge.Tiff_Merge("C:\test\test-1.tif,c:\test-2.tif", "C:\outputdir", "newfilename.tif")>

<cfoutput>
#mergeresult#
</cfoutput>


ASP

Copy and Paste the following source code in to a test.asp page on your web server:

return status 1 means successful merge
return status 0 means filename not found
return status -1 general error
return status -2 means not a tiff file
return status -3 means 'folder not found'

<%
Set Obj = Server.CreateObject("TiffMerge.SCTiffMerger")
dim filename
dim mergeresult

filename = "<comma seperated list of TIFF files with the FULL PATH AND FILENAME>"
(example: "c:\test\test-1.tif,c:\test\test-2.tif,etc...")

mergeresult = Obj.Tiff_Merge(cstr(filename), "C:\outputdir", "c:\newfilename")>
Response.Write("<BR>" & filename & " :- <li>" & CStr(mergeresult) & " </li>")

Set Obj = Nothing
%>