06-22-2008, 22:10
|
bvpd
Joined on 06-23-2008
Posts 1
|
Leadtools.ImageProcessing.ResizeCommand requires a different parameter for 64bit compilation
|
 
 
|
|
|
Hi,
We develop on a 32bit platform and deploy on a 64bit platform and have found that we have to add the following compiler directive otherwise we encounter runtime errors with the 0 in 64bit and compile errors with the 0l in 32bit.
resizeCommand.DestinationImage = new RasterImage(RasterMemoryFlags.Conventional,
(int)Math.Ceiling(originalStamp.BoundingRectangle.Width),
(int)Math.Ceiling(originalStamp.BoundingRectangle.Height),
sourceImage.BitsPerPixel,
sourceImage.Order,
sourceImage.ViewPerspective,
sourceImage.GetPalette(),
IntPtr.Zero,
#if _WIN64
0l
#else
0
#endif
);
Has this issue been logged / fixed at all?
Many thanks,
Tim (bvpd)
|
|
|
|
|
Report
|
|
|
|