<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>Atalasoft Knowledgebase : ImgX</title><description>Atalasoft Knowledgebase : ImgX RSS 2.0 Feed</description><link>http://www.atalasoft.com/KB/</link><webMaster>admin@atalasoft.com</webMaster><lastBuildDate>Sat, 25 May 2013 16:57:08 GMT</lastBuildDate><ttl>20</ttl><generator>Atalasoft Knowledgebase</generator><item><title>Combine images into a multipage TIFF using AppendTIFF in ImgX</title><link>http://www.atalasoft.com/KB/article.aspx?id=10155</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;P&gt;ImgX can be used to combine multiple images into a single multipage TIFF file.  An easy way to do this and keep memory usage low is to use the AppendTIFF method.  Here is an example:&lt;/P&gt;&lt;PRE&gt;Private Sub CombineImagesToTiff(ByVal outputFile As String, ByRef inputFiles() As String)&lt;BR&gt;    Dim i As Long&lt;BR&gt;    Dim lb As Long&lt;BR&gt;    Dim ub As Long&lt;BR&gt;    Dim exists As Boolean&lt;BR&gt;    &lt;BR&gt;    Dim ix As ImgX&lt;BR&gt;    Set ix = New ImgX&lt;BR&gt;    &lt;BR&gt;    exists = Dir(outputFile) &amp;lt;&amp;gt; ""&lt;BR&gt;    lb = LBound(inputFiles)&lt;BR&gt;    ub = UBound(inputFiles) - 1&lt;BR&gt;    &lt;BR&gt;    For i = lb To ub&lt;BR&gt;        ix.Import.FromFile inputFiles(i), 0&lt;BR&gt;        If Not exists Then&lt;BR&gt;            ix.Export.ToFile outputFile, ixfsTIF&lt;BR&gt;            exists = True&lt;BR&gt;        Else&lt;BR&gt;            ix.Export.AppendTIFF outputFile&lt;BR&gt;        End If&lt;BR&gt;    Next&lt;BR&gt;    &lt;BR&gt;    Set ix = Nothing&lt;BR&gt;End Sub&lt;BR&gt;&lt;/PRE&gt;</description><pubDate>Wed, 09 Sep 2009 14:32:00 GMT</pubDate><dc:creator>Kevin Hulse</dc:creator></item><item><title>ImgX Documentation</title><link>http://www.atalasoft.com/KB/article.aspx?id=10286</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;P&gt;&lt;A href="http://www.atalasoft.com/products/imgxcontrols/docs/"&gt;www.atalasoft.com/products/imgxcontrols/docs/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.atalasoft.com/products/imgxasp/docs/"&gt;www.atalasoft.com/products/imgxasp/docs/&lt;/A&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;</description><pubDate>Wed, 09 Sep 2009 13:30:00 GMT</pubDate><dc:creator>Kevin Hulse</dc:creator></item><item><title>"Operation Not Allowed" Error on Windows 2003 with ImgX</title><link>http://www.atalasoft.com/KB/article.aspx?id=10119</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;P&gt;When using ImgXASP's Upload class from a Windows Server 2003, you may get the following error:&lt;/P&gt;&lt;BLOCKQUOTE style="MARGIN-RIGHT: 0px" dir=ltr&gt;&lt;P&gt;Request object error 'ASP 0104 : 80004005'&lt;BR&gt;Operation not Allowed&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;This is caused when the data being uploaded is greater than what is specified for &lt;STRONG&gt;AspMaxRequestEntityAllowed&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Solution&lt;/EM&gt;:&lt;/P&gt;&lt;BLOCKQUOTE style="MARGIN-RIGHT: 0px" dir=ltr&gt;&lt;P&gt;Open your metabase.xml, which is located in 'c:\Windows\System32\Inetsrv', find the line "AspMaxRequestEntityAllowed" and change it to a value to suite your needs.&lt;/P&gt;&lt;P&gt;&lt;FONT color=#ff1111&gt;Note:&lt;/FONT&gt; Editing the metabase.xml file requires shutting down of IIS before you can edit the file.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;For more information on the AspMaxRequestEntityAllowed or the metabase.xml file, see the Microsoft documentation or click the link below.&lt;/P&gt;</description><pubDate>Tue, 08 Sep 2009 14:39:00 GMT</pubDate><dc:creator>Kevin Hulse</dc:creator></item><item><title>Combine multiple images into a single image in ImgX</title><link>http://www.atalasoft.com/KB/article.aspx?id=10113</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;P&gt;The following code provides the process for taking several small images and drawing them onto a blank canvas.&lt;/P&gt;&lt;PRE&gt;Dim ixCanvas As ImgX, ixTmp As ImgX&lt;BR&gt;Set ixCanvas = New ImgX&lt;BR&gt;Set ixTmp = New ImgX&lt;/PRE&gt;&lt;PRE&gt;&lt;FONT color=#119911&gt;' Create the canvas where all of the images will be drawn.&lt;BR&gt;&lt;/FONT&gt;ixCanvas.Import.FromNew 800, 1100, ixCanvas.Support.Color(vbWhite)&lt;/PRE&gt;&lt;PRE&gt;&lt;FONT color=#119911&gt;' Load each image, one by one, and render it onto the canvas.&lt;/FONT&gt;&lt;BR&gt;ixTmp.Import.FromFile fil1&lt;BR&gt;ixCanvas.Draw.Image ixTmp.Image, posX, posY&lt;/PRE&gt;&lt;PRE&gt;&lt;FONT color=#119911&gt;' continue until all images have been drawn, then save.&lt;/FONT&gt;&lt;BR&gt;ixCanvas.Export.ToFile myNewFile, ixfsPNG&lt;/PRE&gt;&lt;PRE&gt;Set ixTmp = Nothing&lt;BR&gt;Set ixCanvas = Nothing&lt;BR&gt;&lt;/PRE&gt;</description><pubDate>Tue, 08 Sep 2009 14:35:00 GMT</pubDate><dc:creator>Kevin Hulse</dc:creator></item><item><title>Access the byte array elements returned by ToMemoryFile in ImgX</title><link>http://www.atalasoft.com/KB/article.aspx?id=10066</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;P&gt;There is a known issue in ImgX and ImgXASP when accessing the byte array elements returned from ToMemoryFile or ToMemoryFileVariant when used in ASP (or VBScript in general).  The following workaround was found by Glenn Turner:&lt;/P&gt;&lt;P&gt;Dim ImgX &lt;BR&gt;Set ImgX = Server.CreateObject("ImgXASP6.ImgX") &lt;/P&gt;&lt;P&gt;'Upload an image from the client computer&lt;BR&gt;ImgX.Import.FromFile Server.MapPath("IPTC.tif")&lt;/P&gt;&lt;P&gt;Dim ByteArray&lt;BR&gt;ByteArray = ImgX.Export.ToMemoryFile(6) 'bitmap&lt;/P&gt;&lt;P&gt;Set objStream = Server.CreateObject("ADODB.Stream")&lt;BR&gt;objStream.Open&lt;BR&gt;objStream.Type = 1 ' Binary&lt;BR&gt;objStream.Write ByteArray&lt;/P&gt;&lt;P&gt;objstream.position = 0&lt;/P&gt;&lt;P&gt;' Cannot direct compare stream data type. but strcomp will!&lt;BR&gt;if StrComp(objstream.Read(1), Hex(0) ) = 1 then ' Is the byte greater than zero&lt;BR&gt;  response.Write "Yes its greater&amp;lt;br&amp;gt;"&lt;BR&gt;end if&lt;/P&gt;&lt;P&gt;objStream.Close&lt;BR&gt;Set objStream = Nothing&lt;BR&gt;Set ImgX = Nothing&lt;/P&gt;</description><pubDate>Tue, 08 Sep 2009 06:58:00 GMT</pubDate><dc:creator>Kevin Hulse</dc:creator></item><item><title>How do I remove the "Unregistered ImgX" watermark from images?</title><link>http://www.atalasoft.com/KB/article.aspx?id=10001</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;SPAN class=ATsm&gt;When purchasing ImgX Controls or ImgXASP you will receive an email with a registration name and registration code. By following the steps below, images generated and displayed with ImgX will no longer be watermarked with &lt;I&gt;Unregistered ImgX&lt;/I&gt;.&lt;BR&gt;&lt;BR&gt;&lt;B&gt;Registration Using the ImgX OCX Control&lt;/B&gt;&lt;BR&gt;If the ImgX OCX is used anywhere in your application, click on the ImgX control in your form, and in the properties list select about. That will load a form where you can enter your registration details. You only need to enter the registration details once per development computer. The registration codes are encrypted into the property bag of the control and will be compiled into the application.&lt;BR&gt;&lt;BR&gt;&lt;B&gt;Registration Without Using the ImgX OCX Control&lt;/B&gt;&lt;BR&gt;If you are using the ImgX DLL only, you must supply the registration details in the ImgX.Register method once during runtime of the project. If your application is to be widely distributed, we ask that you encrypt the codes using the RegCode Encrypter utility that is in your start menu under ImgX Controls.&lt;/SPAN&gt;</description><pubDate>Wed, 02 Sep 2009 13:57:00 GMT</pubDate><dc:creator>Kevin Hulse</dc:creator></item><item><title>What operating systems does ImgX support?</title><link>http://www.atalasoft.com/KB/article.aspx?id=10023</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;P&gt;&lt;SPAN class=ATsm&gt;ImgX Controls and ImgXASP is compatible with x86 versions of Win95/98/ME/NT4/Win2000/XP/2003.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=ATsm&gt;However we have dropped support for Win95.&lt;/SPAN&gt;&lt;/P&gt;</description><pubDate>Tue, 17 Feb 2009 08:52:00 GMT</pubDate><dc:creator>Kevin Hulse</dc:creator></item><item><title>ImgX online demo stopped by IE</title><link>http://www.atalasoft.com/KB/article.aspx?id=10159</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;P&gt;Some customers have come across a problem with getting our online ImgX demo working.  We found that the problem is in IE and have a workaround to get it going.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Note:&lt;/STRONG&gt;  This is only a problem if the system already has ImgX*.dll files installed and registered in the System32 folder before viewing the web site.&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Open Windows Explorer and navigate to the "Windows\Downloaded Program Files" folder.  If you see any ImgX components in the list, right-click on them and select &lt;STRONG&gt;Remove&lt;/STRONG&gt;.&lt;/LI&gt;&lt;LI&gt;Navigate to the "Windows\System32" folder and look for ImgX*.dll files.  Use &lt;STRONG&gt;regsvr32.exe -u&lt;/STRONG&gt; to unregister these files on the system.&lt;/LI&gt;&lt;LI&gt;Rename or delete the ImgX61.dll from the System32 folder.  IE will install this DLL from the CAB file.&lt;/LI&gt;&lt;LI&gt;Open IE and navigate to your Web Application.  Now IE should display dialogs to install the ActiveX components.&lt;/LI&gt;&lt;LI&gt;Use regsvr32.exe to register all of the ImgX*.dll files that were unregistered in step 2.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;After these steps both online demo and local applications will work correctly.&lt;/P&gt;</description><pubDate>Mon, 24 Nov 2008 07:07:00 GMT</pubDate><dc:creator>Elaine Gorham</dc:creator></item><item><title>Reverse a 1-bit palette in ImgX</title><link>http://www.atalasoft.com/KB/article.aspx?id=10109</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;P&gt;When saving 1-bit TIFF images, some viewers will display the image inverted.  This is caused because a 1-bit TIFF doesn't have a palette, but instead uses a TIFF tag to indicate whether bit 0 = white or black.&lt;/P&gt;&lt;P&gt;This problem can be resolved by correcting the palette so bit 0 = white.  Here is an example of how to correct the palette:&lt;/P&gt;&lt;P&gt;' Make sure a 1-bit palette is correct.&lt;BR&gt;If ix.Image.ImageType = ixitPalette_1 Then&lt;BR&gt;    Dim clr0 As ImgX_Color, clr1 As ImgX_Color&lt;BR&gt;    Set clr0 = ix.Image.Palette.GetEntry(0)&lt;BR&gt;    Set clr1 = ix.Image.Palette.GetEntry(1)&lt;BR&gt;    &lt;BR&gt;    ' clr0 should be white and clr1 should be black.&lt;BR&gt;    If (clr0.Blue + clr0.Green + clr0.Red) &amp;lt; (clr1.Blue + clr1.Green + clr1.Red) Then&lt;BR&gt;        ' The palette needs to be swapped and image data inverted.&lt;BR&gt;        ix.Image.Palette.SetEntry 0, clr1&lt;BR&gt;        ix.Image.Palette.SetEntry 1, clr0&lt;BR&gt;        ix.Filters.Negative&lt;BR&gt;    End If&lt;BR&gt;End If&lt;BR&gt;&lt;/P&gt;</description><pubDate>Wed, 31 Oct 2007 12:54:00 GMT</pubDate><dc:creator>Lou Franco</dc:creator></item><item><title>Copy a selection from one ImgXCtrl into another</title><link>http://www.atalasoft.com/KB/article.aspx?id=10059</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;P&gt;This can be easily done in the &lt;STRONG&gt;Selected&lt;/STRONG&gt; event.  The following code assumes you have two ImgXCtrl objects on your form named &lt;STRONG&gt;ImgXCtrl1&lt;/STRONG&gt; and &lt;STRONG&gt;ImgXCtrl2&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;Private Sub ImgXCtrl1_Selected(ByVal Left As Long, ByVal Top As Long, ByVal Width As Long, ByVal Height As Long)&lt;BR&gt;    ' Stop display changes.&lt;BR&gt;    ImgXCtrl2.AutoUpdate = False&lt;BR&gt;    &lt;BR&gt;    ' Copy the image.&lt;BR&gt;    ImgXCtrl2.Images.Clear&lt;BR&gt;    ImgXCtrl2.Images.Add ImgXCtrl1.Image&lt;BR&gt;    &lt;BR&gt;    ' Crop it.&lt;BR&gt;    ImgXCtrl2.Effects.Crop Left, Top, Width, Height&lt;BR&gt;    &lt;BR&gt;    ' Refresh the display.&lt;BR&gt;    ImgXCtrl2.AutoUpdate = True&lt;BR&gt;    ImgXCtrl2.Update&lt;BR&gt;End Sub&lt;/P&gt;&lt;P&gt;Now just set the ImgXCtrl1.MouseTool = ixmtSelect and select an area of the loaded image.&lt;/P&gt;</description><pubDate>Tue, 19 Jul 2005 11:19:00 GMT</pubDate><dc:creator>Glenn Chittenden</dc:creator></item><item><title>Retreive the pixel location from a mouse click using ImgX.</title><link>http://www.atalasoft.com/KB/article.aspx?id=10096</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;P&gt;Below is code that will get the image pixel location where the mouse was clicked and render text at that location.&lt;/P&gt;&lt;DIV name="code"&gt;Private Sub ImgXCtrl1_MouseDown(Button As Integer, Shift As Integer, x As Single, y As Single)&lt;BR&gt;    ImgXCtrl1.Draw.Text (x / ImgXCtrl1.Zoom) + ImgXCtrl1.ScrollLeft, (y / ImgXCtrl1.Zoom) + ImgXCtrl1.ScrollTop, "Testing"&lt;BR&gt;End Sub&lt;BR&gt;&lt;/DIV&gt;</description><pubDate>Tue, 31 May 2005 08:27:00 GMT</pubDate><dc:creator>Bill Bither</dc:creator></item><item><title>Why is the print job memory usage so large when using ImgXPrint?</title><link>http://www.atalasoft.com/KB/article.aspx?id=10042</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;P&gt;ImgXPrint sends the raw image data to the printer.  So the print job size is (width * height * bytesPerPixel) bytes.&lt;/P&gt;&lt;P&gt;If you're printing 1-bit images, you can reduce the overall size by setting the Antialias property to False.  Antialias will actually convert the 1-bit image into an 8-bit grayscale, which will require more memory.&lt;/P&gt;</description><pubDate>Tue, 24 May 2005 20:06:00 GMT</pubDate><dc:creator>Bill Bither</dc:creator></item><item><title>ImgX.Export.ToMemoryFile error ''800a0005'' in ImgXASP</title><link>http://www.atalasoft.com/KB/article.aspx?id=10025</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;SPAN class=ATsm&gt;The most likely scenario is that you are using an enumeration like &lt;I&gt;ixmfJPG&lt;/I&gt; when the ImgXASP dll is not registered in your global.asa file. &lt;BR&gt;&lt;BR&gt;To fix this error, replace the enumeration with the actual value (can be obtained from the ImgXASP documentation) or add the following metadata to the global.asa file in your web project.&lt;BR&gt;&lt;BR&gt;&lt;STRONG&gt;&amp;lt;!-- METADATA TYPE="TypeLib" File="c:\winnt\system32\ImgXASP61.dll" --&amp;gt;&lt;BR&gt;&lt;/STRONG&gt;Where C:\winnt\system32\ is the folder containing the registered ImgXASP61.dll &lt;P&gt;Alternativaly, you may use the Class ID:&lt;BR&gt;&lt;STRONG&gt;&amp;lt;!--METADATA TYPE="TypeLib" UUID="{3374FABA-642C-4796-A6E5-298F813E4403}"--&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;!--METADATA TYPE="TypeLib" UUID="{3374FABA-642C-4796-A6E5-298F813E4403}"--&gt;&lt;/SPAN&gt;</description><pubDate>Mon, 23 May 2005 09:50:00 GMT</pubDate><dc:creator>Bill Bither</dc:creator></item><item><title>Import ImgXCtrl for use in Delphi</title><link>http://www.atalasoft.com/KB/article.aspx?id=10024</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;P&gt;&lt;SPAN class=ATsm&gt;In Delphi select Tools | Environment Options, then select the Type Library tab. Check the &lt;I&gt;Ignore Special CoClass Flags when importing&lt;/I&gt; box, and then check &lt;I&gt;Can Create&lt;/I&gt;. Now import the ImgX ActiveX control.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=ATsm&gt;Please note that Delphi is not officially supported by Atalasoft, but feel free to post questions to our community forums where there are other Delphi ImgX users.&lt;/SPAN&gt;&lt;/P&gt;</description><pubDate>Mon, 23 May 2005 09:49:00 GMT</pubDate><dc:creator>Bill Bither</dc:creator></item><item><title>Distributing ImgX Controls</title><link>http://www.atalasoft.com/KB/article.aspx?id=10022</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;SPAN class=ATsm&gt;Which files you need to distribute with your application depends on which features of ImgX Controls that you use.&lt;BR&gt;&lt;BR&gt;&lt;STRONG&gt;Required files:&lt;/STRONG&gt;&lt;BR&gt;ImgX is written in Visual Basic 6.  This means that the computer running your program must have the Visual Basic 6 runtime files installed.  These consist of the following:&lt;BR&gt;&lt;BLOCKQUOTE&gt;MSVBVM60.dll - The Visual Basic 6 runtime library.&lt;BR&gt;&lt;BR&gt;Support files for the Visual Basic 6 runtime.&lt;BR&gt;&lt;BLOCKQUOTE&gt;OLEAUT32.dll&lt;BR&gt;OLEPRO32.dll&lt;BR&gt;ASYCFILT.dll&lt;BR&gt;COMCAT.dll&lt;BR&gt;STDOLE2.tlb&lt;/BLOCKQUOTE&gt;While most computers already have the above files, it's a good idea to distribute them with your application.  You can download a redistributable file containing these files from Microsoft at &lt;A class=ATlink href="http://download.microsoft.com/download/vb60pro/Redist/sp5/WIN98Me/EN-US/vbrun60sp5.exe" target=_blank&gt;&lt;STRONG&gt;&lt;FONT color=#c07010&gt;http://download.microsoft.com/download/vb60pro/Redist/sp5/WIN98Me/EN-US/vbrun60sp5.exe&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/A&gt;.&lt;/BLOCKQUOTE&gt;&lt;BR&gt;Any program using ImgX 6.3.x or lower &lt;STRONG&gt;must&lt;/STRONG&gt; install the following files:&lt;BR&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;ImgX61.dll&lt;BR&gt;_ISource22.dll&lt;BR&gt;_ISEffects10.dll&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;BR&gt;Any program using ImgX 6.4 and above &lt;STRONG&gt;must&lt;/STRONG&gt; install the following files:&lt;/P&gt;&lt;BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px"&gt;&lt;P&gt;ImgX61.dll&lt;BR&gt;AtalaImaging.dll &lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;STRONG&gt;Optional files:&lt;/STRONG&gt;&lt;BR&gt;You only need to distribute the following files if you use them in your application.&lt;BR&gt;&lt;BR&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;ImgX61.ocx - The ImgXCtrl component.&lt;BR&gt;ImgXDialog61.dll - ImgX open and save dialog library.&lt;BR&gt;ImgXPrint61.dll - ImgX print library.&lt;BR&gt;ImgXTwain61.dll - ImgX twain library.&lt;BR&gt;ImgXCapture61.dll - ImgX screen capture library.&lt;/BLOCKQUOTE&gt;&lt;BR&gt;&lt;STRONG&gt;Where to install them:&lt;/STRONG&gt;&lt;BR&gt;You should set up your installer to put these file in the System or System32 folder, depending on which op</description><pubDate>Mon, 23 May 2005 09:43:00 GMT</pubDate><dc:creator>Bill Bither</dc:creator></item><item><title>Improving the speed loading multipage TIFF files in ImgX</title><link>http://www.atalasoft.com/KB/article.aspx?id=10020</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;SPAN class=ATsm&gt;Many TIFF files have multiple pages (images) stored in them. If you load one of these images like this:&lt;BR&gt;&lt;BR&gt;&lt;PRE&gt;ImgX.Import.FromFile "C:\multi.tif"&lt;/PRE&gt;ImgX will attempt to load &lt;STRONG&gt;all&lt;/STRONG&gt; of the images stored in the TIFF. This can cause it to take a very long time to load, and you may run out of memory.&lt;BR&gt;&lt;BR&gt;The solution is to only load one page at a time using the following format:&lt;BR&gt;&lt;BR&gt;&lt;PRE&gt;ImgX.Import.FromFile "C:\multi.tif", pageNumber&lt;/PRE&gt;This will load the &lt;STRONG&gt;pageNumber&lt;/STRONG&gt; image in the TIFF file. You can find out how many pages are in a TIFF image by calling &lt;STRONG&gt;GetImageInfo&lt;/STRONG&gt; as shown below:&lt;BR&gt;&lt;BR&gt;&lt;PRE&gt;Dim pageNumber As Long&lt;BR&gt;ImgX.Support.GetImageInfo "C:\multi.tif", , , , pageNumber&lt;/PRE&gt;By loading only one image at a time, you will increase performance and reduce memory usage.&lt;/SPAN&gt;</description><pubDate>Mon, 23 May 2005 09:37:00 GMT</pubDate><dc:creator>Bill Bither</dc:creator></item><item><title>"Server.Object Access Error" when instantiating an ImgX object in an ASP page</title><link>http://www.atalasoft.com/KB/article.aspx?id=10021</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;SPAN class=ATsm&gt;This is usually a permissions issue. To resolve the problem, assign Windows NT File System (NTFS) Read and Execute file permissions to the Everyone group (or to the IUSR_computername user) for the VB run time (Msvbvm60.dll). The VB run time is usually located in the Winnt\System32 folder. This is a confirmed Microsoft bug.&lt;/SPAN&gt;</description><pubDate>Mon, 23 May 2005 09:37:00 GMT</pubDate><dc:creator>Bill Bither</dc:creator></item><item><title>"Object doesn''t support this property or method" error when using ImgX Controls in IE</title><link>http://www.atalasoft.com/KB/article.aspx?id=10019</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;SPAN class=ATsm&gt;Normally, the default security settings in IE work when using ImgX from a CAB download. However, sometimes it's not adequate. When the current or newer version of ImgXDialog, ImgXPrint, or ImgXTwain is previously installed on the client system, you will need to set "Initialize and script Activex controls not Marked as safe" to either Prompt or Enable.&lt;/SPAN&gt;</description><pubDate>Mon, 23 May 2005 09:35:00 GMT</pubDate><dc:creator>Bill Bither</dc:creator></item><item><title>Obtain a new registration code</title><link>http://www.atalasoft.com/KB/article.aspx?id=10016</link><description>&lt;B&gt;Abstract:&lt;/B&gt; If you lost your registration code for ImgX, send an email to &lt;A href="mailto:sales@atalasoft.com"&gt;&lt;FONT color=#de781c&gt;sales@atalasoft.com&lt;/FONT&gt;&lt;/A&gt; including the transaction number of your order and the email address you purchased with. We will then send you your code within a few days.</description><pubDate>Mon, 23 May 2005 09:26:00 GMT</pubDate><dc:creator>Bill Bither</dc:creator></item><item><title>Save a multipage TIFF as individual pages using ImgX</title><link>http://www.atalasoft.com/KB/article.aspx?id=10015</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;SPAN class=ATsm&gt;You can save a multipage TIFF to a number of single page TIFF's with the following code. There are two different approaches you can take.&lt;BR&gt;&lt;BR&gt;1) Load all images of the tiff into ImgX then set the current image and save it to a file:&lt;BR&gt;&lt;BR&gt;ImgX.Import.FromFile "multiimage.tif"&lt;BR&gt;For i = 0 To ImgX.Images.Count - 1&lt;BR&gt;    ImgX.Image = ImgX.Images(i)&lt;BR&gt;    ImgX.Export.ToFile "singleimage" &amp;amp; i + 1 &amp;amp; ".tif", ixfsTIF, , false&lt;BR&gt;Next&lt;BR&gt;&lt;BR&gt;2) Load each image individually and save it to a file:&lt;BR&gt;&lt;BR&gt;Dim pages As Long&lt;BR&gt;ImgX.Support.GetImageInfo "multiimage.tif", , , pages&lt;BR&gt;For i = 1 To pages&lt;BR&gt;    ImgX.Import.FromFile "multiimage.tif", i&lt;BR&gt;    ImgX.Export.ToFile "singleimage" &amp;amp; i &amp;amp; ".tif", ixfsTIF, , false&lt;BR&gt;Next&lt;BR&gt;&lt;/SPAN&gt;</description><pubDate>Mon, 23 May 2005 09:24:00 GMT</pubDate><dc:creator>Bill Bither</dc:creator></item><item><title>Highlight a section of an image using ImgX</title><link>http://www.atalasoft.com/KB/article.aspx?id=10014</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;SPAN class=ATsm&gt;You can use the ImgXCtrl, MouseTools and Draw.ForeColor.Alpha to do this. Add the following code to your project where you want to activate the highlighter. This will let you draw semi-transparent over the image.&lt;BR&gt;&lt;BR&gt;ImgXCtrl1.Draw.ForeColor.Color = vbYellow&lt;BR&gt;ImgXCtrl1.Draw.ForeColor.Alpha = 128&lt;BR&gt;ImgXCtrl1.Draw.Thickness = 10&lt;BR&gt;&lt;BR&gt;ImgXCtrl1.MouseTool = ixmtFreehand&lt;/SPAN&gt;</description><pubDate>Mon, 23 May 2005 09:24:00 GMT</pubDate><dc:creator>Bill Bither</dc:creator></item><item><title>Using the ImgX COM DLL''s in Visual Fox Pro</title><link>http://www.atalasoft.com/KB/article.aspx?id=10013</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;P&gt;&lt;SPAN class=ATsm&gt;All ImgX components can be used in FoxPro. To create an object that is a registered COM dll such as ImgXTwain, ImgXPrint, ImgXDialog, or ImgXCapture you need to use &lt;I&gt;CreateObject&lt;/I&gt;. This Microsoft VFP article exlplains it in detail.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/fox7help/html/lngcreateobjectexlp_rp.asp"&gt;http://msdn.microsoft.com/library/default.asp?url=/library/en-us/fox7help/html/lngcreateobjectexlp_rp.asp&lt;/A&gt;&lt;BR&gt;&lt;/P&gt;&lt;/SPAN&gt;</description><pubDate>Mon, 23 May 2005 09:23:00 GMT</pubDate><dc:creator>Bill Bither</dc:creator></item><item><title>Obtain an LPK file to use ImgX as a client-side ActiveX control in Internet Explorer</title><link>http://www.atalasoft.com/KB/article.aspx?id=10011</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;SPAN class=ATsm&gt;To properly register the ImgX Control when using client side downloadable ActiveX in Internet Explorer, you must request the LPK and reg file from &lt;A class=ATlink href="mailto:sales@atalasoft.com" target=_blank&gt;sales@atalasoft.com&lt;/A&gt;. &lt;BR&gt;&lt;BR&gt;See the topic &lt;I&gt;Using ImgX in Internet Explorer&lt;/I&gt; in the documentation for more information.&lt;/SPAN&gt;</description><pubDate>Mon, 23 May 2005 09:18:00 GMT</pubDate><dc:creator>Bill Bither</dc:creator></item><item><title>"File Open Error" when attempting to save an image using ImgXASP?</title><link>http://www.atalasoft.com/KB/article.aspx?id=10005</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;SPAN class=ATsm&gt;When saving an image in ImgXASP to a file, you must grant the IUSR_computername user write privaledges to the folder being saved to. &lt;/SPAN&gt;</description><pubDate>Mon, 23 May 2005 09:16:00 GMT</pubDate><dc:creator>Bill Bither</dc:creator></item><item><title>embossed text with ImgX or ImgXASP</title><link>http://www.atalasoft.com/KB/article.aspx?id=10006</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;P&gt;&lt;SPAN class=ATsm&gt;Our batch image processing product, EyeBatch, has a neat text effect that will emboss the text onto an image. The following code demonstrates how to do this with ImgX Controls. Slight modifications need to be made when using ImgXASP and that code is also shown below.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=ATsm&gt;&lt;FONT color=#000080&gt;    Dim&lt;/FONT&gt; ImgX &lt;FONT color=#000080&gt;As&lt;/FONT&gt; ImgX&lt;BR&gt;    &lt;FONT color=#000080&gt;Dim&lt;/FONT&gt; ImgXEmboss &lt;FONT color=#000080&gt;As&lt;/FONT&gt; ImgX&lt;BR&gt;    &lt;FONT color=#000080&gt;Dim&lt;/FONT&gt; text &lt;FONT color=#000080&gt;As&lt;/FONT&gt; &lt;FONT color=#000080&gt;String&lt;/FONT&gt;&lt;BR&gt;    &lt;FONT color=#000080&gt;Dim&lt;/FONT&gt; OffsetX &lt;FONT color=#000080&gt;As&lt;/FONT&gt; &lt;FONT color=#000080&gt;Long&lt;/FONT&gt;&lt;BR&gt;    &lt;FONT color=#000080&gt;Dim&lt;/FONT&gt; OffsetY &lt;FONT color=#000080&gt;As&lt;/FONT&gt; &lt;FONT color=#000080&gt;Long&lt;/FONT&gt;&lt;BR&gt;    &lt;FONT color=#000080&gt;Dim&lt;/FONT&gt; EmOffset &lt;FONT color=#000080&gt;As&lt;/FONT&gt; &lt;FONT color=#000080&gt;Long&lt;/FONT&gt;&lt;BR&gt;    &lt;FONT color=#000080&gt;Dim&lt;/FONT&gt; EmAngle &lt;FONT color=#000080&gt;As&lt;/FONT&gt; &lt;FONT color=#000080&gt;Double&lt;/FONT&gt;&lt;BR&gt;    &lt;FONT color=#000080&gt;Dim&lt;/FONT&gt; EmSmoothness &lt;FONT color=#000080&gt;As&lt;/FONT&gt; &lt;FONT color=#000080&gt;Long&lt;/FONT&gt;&lt;BR&gt;    &lt;FONT color=#000080&gt;Dim&lt;/FONT&gt; ForeColor &lt;FONT color=#000080&gt;As&lt;/FONT&gt; &lt;FONT color=#000080&gt;Long&lt;/FONT&gt;&lt;BR&gt;    &lt;FONT color=#000080&gt;Dim&lt;/FONT&gt; BackColor &lt;FONT color=#000080&gt;As&lt;/FONT&gt; &lt;FONT color=#000080&gt;Long&lt;/FONT&gt;&lt;BR&gt;    &lt;FONT color=#000080&gt;Dim&lt;/FONT&gt; antialias &lt;FONT color=#000080&gt;As&lt;/FONT&gt; &lt;FONT color=#000080&gt;Double&lt;/FONT&gt;&lt;BR&gt;    &lt;FONT color=#000080&gt;Dim&lt;/FONT&gt; Opacity &lt;FONT color=#000080&gt;As&lt;/FONT&gt; &lt;FONT color=#000080&gt;Long&lt;/FONT&gt;&lt;BR&gt;    &lt;FONT color=#000080&gt;Dim&lt;/FONT&gt; HeightInPixels &lt;FONT color=#000080&gt;As&lt;/FONT&gt; &lt;FONT color=#000080&gt;Long&lt;/FONT&gt;&lt;BR&gt;    &lt;FONT color=#000080&gt;Dim&lt;</description><pubDate>Mon, 23 May 2005 09:14:00 GMT</pubDate><dc:creator>Bill Bither</dc:creator></item><item><title>Scan only a specific area of the scanning bed using ImgX</title><link>http://www.atalasoft.com/KB/article.aspx?id=10009</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;P&gt;&lt;SPAN class=ATsm&gt;Currently ImgXTwain does not support programmatically scanning only a selection of the scanner bed. You will have to crop the image after acquiring it.&lt;BR&gt;&lt;BR&gt;Of course, if you display the scanner interface and the end-user selects a specific area to scan, only that area will be scanned. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=ATsm&gt;Our .NET scanning component, DotTwain, does support this.&lt;/SPAN&gt;&lt;/P&gt;</description><pubDate>Mon, 23 May 2005 09:13:00 GMT</pubDate><dc:creator>Bill Bither</dc:creator></item><item><title>GIF and LZW TIFF in ImgX and ImgXASP</title><link>http://www.atalasoft.com/KB/article.aspx?id=10007</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;P&gt;&lt;SPAN class=ATsm&gt;The Graphics Interchange Format (GIF) uses LZW compression. This compression was patented by the Unisys Corporation which expired in July 2004 in all countries. Therefore, the most recent version of each of our components supports reading and writing LZW in both TIFF and GIF images. &lt;/SPAN&gt;&lt;/P&gt;</description><pubDate>Mon, 23 May 2005 09:13:00 GMT</pubDate><dc:creator>Bill Bither</dc:creator></item><item><title>GIF/LZW License and Patent</title><link>http://www.atalasoft.com/KB/article.aspx?id=10008</link><description>&lt;B&gt;Abstract:&lt;/B&gt; The Graphics Interchange Format (GIF) uses LZW compression. This compression was patented by the Unisys Corporation which expired in July 2004 in all countries. Therefore, the most recent version of each of our components supports reading and writing LZW in both TIFF and GIF images. </description><pubDate>Mon, 23 May 2005 09:13:00 GMT</pubDate><dc:creator>Bill Bither</dc:creator></item><item><title>Find out which TIFF compression method is used in a file using ImgX</title><link>http://www.atalasoft.com/KB/article.aspx?id=10010</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;P&gt;&lt;SPAN class=ATsm&gt;Here is a basic example of how to find the compression used in a TIFF file, then read the file and save it using the same compression.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=ATsm&gt;    Dim dlg As ImgXDialog&lt;BR&gt;    Set dlg = New ImgXDialog&lt;BR&gt;    &lt;BR&gt;    dlg.Filter = "TIFF|*.tif;*.tiff"&lt;BR&gt;    If dlg.ShowOpen Then&lt;BR&gt;    &lt;BR&gt;        Dim ix As ImgX&lt;BR&gt;        Dim tiffComp As Long&lt;BR&gt;        &lt;BR&gt;        Set ix = New ImgX&lt;BR&gt;        &lt;BR&gt;        ' Get the compression type.&lt;BR&gt;        ' Read the help file for more information about GetTIFFTag.&lt;BR&gt;tiffComp = CLng(ix.Support.GetTIFFTag(dlg.FileName, 259, 0))&lt;BR&gt;        &lt;BR&gt;        ' Make sure it's a compatible compression for the save.&lt;BR&gt;        Select Case tiffComp&lt;BR&gt;            Case 2:&lt;BR&gt;                ix.TIFCompression = ixtcModifiedHuffman&lt;BR&gt;            Case 3:&lt;BR&gt;                ix.TIFCompression = ixtcGroup3FAXEncoding&lt;BR&gt;            Case 4:&lt;BR&gt;                ix.TIFCompression = ixtcGroup4FAXEncoding&lt;BR&gt;            Case 5:&lt;BR&gt;                ix.TIFCompression = ixt</description><pubDate>Mon, 23 May 2005 09:12:00 GMT</pubDate><dc:creator>Bill Bither</dc:creator></item><item><title>Why does drawing text directly onto a printer DC causes a white block under the text using ImgX?</title><link>http://www.atalasoft.com/KB/article.aspx?id=10004</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;SPAN class=ATsm&gt;If you draw text directly onto the printer DC, the text will have a solid white background. This is a limitation of the printer DC and will only be a problem if you want to draw the text on top of an image or other object.&lt;BR&gt;&lt;BR&gt;You can solve this problem by resizing the image to match the printed size, then draw the text onto the image before drawing the image onto the printer DC.&lt;BR&gt;&lt;BR&gt;Here is some example code:&lt;BR&gt;&lt;PRE&gt;&lt;BR&gt;ImgXPrint.StartDoc "Image with Text"&lt;BR&gt;ImgXPrint.StartPage&lt;BR&gt;    &lt;BR&gt;ix.Effects.Resize ix.Image.Width * ImgXPrint.PixelsPerInchX / ix.Image.DotsPerInchX, _&lt;BR&gt;        ix.Image.Height * ImgXPrint.PixelsPerInchY / ix.Image.DotsPerInchY&lt;BR&gt;&lt;BR&gt;ix.Draw.Font.HeightInPixels = 48 * ImgXPrint.PixelsPerInchX / ix.Image.DotsPerInchX&lt;BR&gt;&lt;BR&gt;ix.Draw.ForeColor.Color = 255&lt;BR&gt;Set ix.Draw.Font.BackColor = Nothing&lt;BR&gt;ix.Draw.Text 40, 40, "Just Testing"&lt;BR&gt;    &lt;BR&gt;ix.Render.Image ImgXPrint.hDC&lt;BR&gt;    &lt;BR&gt;ImgXPrint.EndPage&lt;BR&gt;ImgXPrint.EndDoc&lt;BR&gt;&lt;/PRE&gt;&lt;BR&gt;Be sure the adjust the X, Y parameters sent to Draw.Text so it will be positioned correctly on the printed image. You can use the same formula as used above to get the Font.HeightInPixels value. &lt;/SPAN&gt;</description><pubDate>Mon, 23 May 2005 09:02:00 GMT</pubDate><dc:creator>Bill Bither</dc:creator></item><item><title>Create a Thumbnail List Viewer in ImgX</title><link>http://www.atalasoft.com/KB/article.aspx?id=10003</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;P&gt;&lt;SPAN class=KB_Body&gt;&lt;FONT face=Arial&gt;&lt;SPAN class=ATsm&gt;A common question for ImgX users is how to create a thumbnail list which shows a list of images in a nice thumbnail view. This example demonstrates one way of accomplishing that task. It takes advantage of the Scaled load of JPEG images and is fairly quick. &lt;BR&gt;&lt;BR&gt;This particular example is fairly easy to implement, but will become slow with a directory of many images which is why the example limits the images shown to 100. Some improvements could be made including:&lt;BR&gt;&lt;BR&gt;1) Using an ImgX object (not tied to the control) to resample the image and set that resulting image to the ImgXCtrl. This method doens't require nearly as much memory and it more efficient.&lt;BR&gt;&lt;BR&gt;2) Cache the images in a file similarly to the Windows Thumbnail Viewer. Also, only load as many ImgXCtrl objects as are shown on the screen.&lt;/SPAN&gt;&lt;BR&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;</description><pubDate>Mon, 23 May 2005 09:00:00 GMT</pubDate><dc:creator>Bill Bither</dc:creator></item><item><title>Use ImgX Controls in Internet Explorer with Javascript instead of VBScript</title><link>http://www.atalasoft.com/KB/article.aspx?id=10002</link><description>&lt;B&gt;Abstract:&lt;/B&gt; &lt;SPAN class=KB_Body&gt;&lt;STRONG&gt;&lt;FONT size=3&gt;&lt;FONT face=Arial&gt;&lt;SPAN class=KB_SubHeading&gt;Can I use ImgX Controls in Internet Explorer with JavaScript instead of VBScript? &lt;/SPAN&gt;&lt;BR&gt;&lt;BR&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;TABLE id=Table3 cellSpacing=0 cellPadding=0 width="95%" align=left border=0&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class=KB_Body&gt;&lt;TABLE id=Table5 border=0&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class=KB_Body&gt;&lt;SPAN class=ATsm&gt;Of course you can. You can call ImgX methods directly from DOM events or from within JavaScript functions. &lt;BR&gt;&lt;BR&gt;For instance, to react to a button click:&lt;PRE&gt;&amp;lt;input type="button" name="Rotate" value="Rotate" onclick="ImgX.Effects.Rotate(90)"&amp;gt;&lt;/PRE&gt;This will rotate an image loaded in an ImgX object or ImgXCtrl when the button is clicked. You can also react to events raised from ImgX components:&lt;PRE&gt;&amp;lt;script type="text/javascript" for="Twain" event="ImageAcquired"&amp;gt;&lt;BR&gt;    alert("ImgXTwain has acquired an image.");&lt;BR&gt;&amp;lt;/script&amp;gt;&lt;/PRE&gt;The "for" element should be set to the ID or NAME of the object and the "event" should be the name of the event you want your script to react to. &lt;/SPAN&gt;&lt;BR&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/SPAN&gt;</description><pubDate>Mon, 23 May 2005 09:00:00 GMT</pubDate><dc:creator>Bill Bither</dc:creator></item></channel></rss>