Welcome Guest! To enable all features, please Login or Register.



Last Go to last post Unread Go to first unread post
#1 Posted : Tuesday, June 6, 2006 9:04:30 AM(UTC)


Groups: Registered
Posts: 3

The following code used to work when I was using the free evaluation version EVAL 14.5.  Upon purchase and installing the software version 14.5, I am now recieving "Invalid Width/Height"  error.  Any ideas?
OS is Win2000, language is C#, .Net Framework v1.1.4322,
byte[] photo;
RasterCodecs.CodecsPath = @"C:\\Program Files\\LEAD Technologies, Inc\\LEADTOOLS 14.5\\Bin\\Dotnet\\v11";
RasterCodecs codecs = new RasterCodecs();
codecs.Options.Jpeg.Save.QualityFactor = 50; // Range from 2 best qual & largest to 255.
Leadtools.Codecs.CodecsThumbnailOptions options = new CodecsThumbnailOptions();
options.Height = 192;
options.Width = 256;
IRasterImage ri = codecs.ReadThumbnail (imagePath, options, 1)

Try the latest version of LEADTOOLS for free for 60 days by downloading the evaluation: https://www.leadtools.com/downloads

Wanna join the discussion? Login to your LEADTOOLS Support accountor Register a new forum account.

#2 Posted : Tuesday, June 6, 2006 10:29:30 AM(UTC)


Groups: Registered
Posts: 3

Actually the code posted is creating the error "Invalid File Format" since the CodecsPath is pointing to the new installation path.  The old path generated the "Invalid Width/Height" error.


#3 Posted : Thursday, June 8, 2006 6:02:03 AM(UTC)


Groups: Manager, Tech Support
Posts: 367

Does this happen with a certain file or group of files, or with any type of file? If it's a specific file or group, send me the file and tell me which (build) version of LEADTOOLS you are using.
If your build is older than, please download and apply the latest patches from our support site and try with them.
If you want to send files, you can either post them here or email them to support@leadtools.com. If you post or email files, please put them in a ZIP file first.

Amin Dodin

Senior Support Engineer
LEAD Technologies, Inc.
#4 Posted : Friday, June 9, 2006 7:07:34 AM(UTC)


Groups: Registered
Posts: 3

I resolved problem.  I uninstalled both versions (EVAL and latest) and reinstalled ensuring only current DLLs remained.  Apparently, some old DLLs were getting in the mix.  All is well now.


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Powered by YAF.NET | YAF.NET © 2003-2023, Yet Another Forum.NET
This page was generated in 0.058 seconds.