Loading...

Get SideBySide Error when trying to deskew

Discussions about image processing in GdPicture.NET using GdPictureImaging.

Get SideBySide Error when trying to deskew

Postby kpejr » Mon Sep 12, 2011 8:45 pm

Version 8.2.2

Happens with sample project also.

Code: Select all
   public byte[] Deskew(byte[] voBmp)
        {
            Int32 iImageID=0;
            GdPictureImaging oGdPictureImaging = new GdPictureImaging();

            try
            {
                oGdPictureImaging.SetLicenseNumber("xxxx"); // Please, replace XXXX by a valid demo or commercial license key.

                //load image   -NC KE  9/6/2011
                iImageID = oGdPictureImaging.CreateGdPictureImageFromByteArray(voBmp);

                //  deskew   -NC KE  9/6/2011
                oGdPictureImaging.AutoDeskew(iImageID);

                byte[] oBuffer = null;
                Int32 iRead = 0;

                //get page bytes and raise page event  -NC KE  9/6/2011
                oGdPictureImaging.SaveAsByteArray(iImageID, ref oBuffer, ref iRead, oGdPictureImaging.GetImageFormat(iImageID), 0);

                return oBuffer;

            }
            finally
            {
                oGdPictureImaging.ReleaseGdPictureImage(iImageID);
                oGdPictureImaging.Dispose();
            }
        }


Code: Select all
Activation context generation failed for "C:\Users\kevinearley.NCSOS\AppData\Local\Apps\2.0\X3OMXKYM.976\NL2E1B1R.RX8\sosk...app_82790aa27e2876c6_0350.0000_a2c0ba056ce5ff55\GdPicture.NET.filters.dll". Dependent Assembly Microsoft.VC90.DebugCRT,processorArchitecture="x86",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="9.0.21022.8" could not be found. Please use sxstrace.exe for detailed diagnosis.


Code: Select all
 System.DllNotFoundException: Unable to load DLL 'GdPicture.NET.filters.dll': The application has failed to start because its side-by-side configuration is incorrect. Please see the application event log or use the command-line sxstrace.exe tool for more detail. (Exception from HRESULT: 0x800736B1)
   at gdpicture_ᜦ.gdpicture_ᜂ(IntPtr A_0, Int32 A_1, Int32 A_2, IntPtr A_3, Int32 A_4, Int32 A_5, Int32 A_6, Byte A_7)
   at gdpicture_ᜦ.gdpicture_ᜀ(IntPtr A_0, Int32 A_1, Int32 A_2, IntPtr A_3, Int32 A_4, Int32 A_5, Int32 A_6, Byte A_7)
   at GdPicture.GdPictureImaging.ConvertTo1Bpp(Int32 ImageID, Byte Threshold)
   at GdPicture.GdPictureImaging.AutoDeskew(Int32 ImageID, Single MaxAngleOfResearch, Color BackColor)
   at GdPicture.GdPictureImaging.AutoDeskew(Int32 ImageID, Single MaxAngleOfResearch)
   at GdPicture.GdPictureImaging.AutoDeskew(Int32 ImageID)
   at Soskb.OpenImagingTools.Processing.Deskew(Byte[] voBmp)
   at Soskb.WpfControls.ImageViewer.Deskew()
   at Soskb.Main.ImageViewer.Deskew() ___

Attachments
22851379_1.tif
kpejr
 
Posts: 8
Joined: Fri Aug 19, 2011 9:46 pm

Re: Get SideBySide Error when trying to deskew

Postby Loïc » Tue Sep 13, 2011 9:27 am

Hi,

In which operating system did you get this error ?

Kind regards,

Loïc
Loïc Carrère, support team.
www.orpalis.com
User avatar
Loïc
Site Admin
 
Posts: 4442
Joined: Tue Oct 17, 2006 10:48 pm
Location: France

Re: Get SideBySide Error when trying to deskew

Postby kpejr » Tue Sep 13, 2011 1:47 pm

I get this erorr in Windows 7 WOW 32 both in production and development. I also get it using straight 64 bit in the test project. I get the application failed to start because the configuration is incorrect on XP 32 bit in production, same stack. We are publishing our application through click once. All the required GDPIctre DLLs are in the manifest. Seems to happen only on the files that actually need deskewing, even though the other files come from the same scanner and saving code.
kpejr
 
Posts: 8
Joined: Fri Aug 19, 2011 9:46 pm

Re: Get SideBySide Error when trying to deskew

Postby Loïc » Tue Sep 13, 2011 2:38 pm

Hi,

Could you tried 8.2.3 ?

We tested all possible deployment of this version without any encountered problem.

See: http://www.gdpicture.com/download/downl ... urenet.php
Loïc Carrère, support team.
www.orpalis.com
User avatar
Loïc
Site Admin
 
Posts: 4442
Joined: Tue Oct 17, 2006 10:48 pm
Location: France

Re: Get SideBySide Error when trying to deskew

Postby kpejr » Tue Sep 13, 2011 4:59 pm

8.2.3 works.

Thanks Loïc
kpejr
 
Posts: 8
Joined: Fri Aug 19, 2011 9:46 pm

Re: Get SideBySide Error when trying to deskew

Postby Loïc » Tue Sep 13, 2011 5:11 pm

You are welcome, thank you for the return.
Loïc Carrère, support team.
www.orpalis.com
User avatar
Loïc
Site Admin
 
Posts: 4442
Joined: Tue Oct 17, 2006 10:48 pm
Location: France


Return to Image Processing

Who is online

Users browsing this forum: No registered users and 0 guests

cron